@codemonster-ru/vueforge 0.17.0 → 0.19.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 {};
@@ -0,0 +1,42 @@
1
+ type AlertSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
2
+ interface Props {
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ message?: string;
6
+ severity?: AlertSeverity;
7
+ closable?: boolean;
8
+ icon?: string;
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ icon?(_: {}): any;
14
+ title?(_: {}): any;
15
+ default?(_: {}): any;
16
+ actions?(_: {}): any;
17
+ close?(_: {}): any;
18
+ };
19
+ refs: {};
20
+ rootEl: HTMLDivElement;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ close: (...args: any[]) => void;
25
+ "update:modelValue": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
27
+ onClose?: ((...args: any[]) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }>, {
30
+ title: string;
31
+ icon: string;
32
+ severity: AlertSeverity;
33
+ message: string;
34
+ closable: boolean;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -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;
@@ -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;
@@ -393,6 +439,45 @@ export type ToastTokens = {
393
439
  textColor?: string;
394
440
  };
395
441
  };
442
+ export type AlertTokens = {
443
+ gap?: string;
444
+ padding?: string;
445
+ borderRadius?: string;
446
+ borderColor?: string;
447
+ backgroundColor?: string;
448
+ textColor?: string;
449
+ iconColor?: string;
450
+ fontSize?: string;
451
+ lineHeight?: string;
452
+ bodyGap?: string;
453
+ titleFontSize?: string;
454
+ titleFontWeight?: string;
455
+ actionsGap?: string;
456
+ closeSize?: string;
457
+ closeRadius?: string;
458
+ closeFontSize?: string;
459
+ closeHoverBackgroundColor?: string;
460
+ info?: {
461
+ backgroundColor?: string;
462
+ borderColor?: string;
463
+ textColor?: string;
464
+ };
465
+ success?: {
466
+ backgroundColor?: string;
467
+ borderColor?: string;
468
+ textColor?: string;
469
+ };
470
+ warn?: {
471
+ backgroundColor?: string;
472
+ borderColor?: string;
473
+ textColor?: string;
474
+ };
475
+ danger?: {
476
+ backgroundColor?: string;
477
+ borderColor?: string;
478
+ textColor?: string;
479
+ };
480
+ };
396
481
  export type ThemeComponentTokens = {
397
482
  button?: ButtonTokens;
398
483
  card?: CardTokens;
@@ -408,10 +493,12 @@ export type ThemeComponentTokens = {
408
493
  popover?: PopoverTokens;
409
494
  select?: SelectTokens;
410
495
  autocomplete?: AutocompleteTokens;
496
+ multiselect?: MultiSelectTokens;
411
497
  datepicker?: DatePickerTokens;
412
498
  switch?: SwitchTokens;
413
499
  tooltip?: TooltipTokens;
414
500
  toast?: ToastTokens;
501
+ alert?: AlertTokens;
415
502
  [key: string]: unknown;
416
503
  };
417
504
  export type ThemeTokens = {
@@ -0,0 +1,40 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ padding: string;
4
+ borderRadius: string;
5
+ borderColor: string;
6
+ backgroundColor: string;
7
+ textColor: string;
8
+ iconColor: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ bodyGap: string;
12
+ titleFontSize: string;
13
+ titleFontWeight: string;
14
+ actionsGap: string;
15
+ closeSize: string;
16
+ closeRadius: string;
17
+ closeFontSize: string;
18
+ closeHoverBackgroundColor: string;
19
+ info: {
20
+ backgroundColor: string;
21
+ borderColor: string;
22
+ textColor: string;
23
+ };
24
+ success: {
25
+ backgroundColor: string;
26
+ borderColor: string;
27
+ textColor: string;
28
+ };
29
+ warn: {
30
+ backgroundColor: string;
31
+ borderColor: string;
32
+ textColor: string;
33
+ };
34
+ danger: {
35
+ backgroundColor: string;
36
+ borderColor: string;
37
+ textColor: string;
38
+ };
39
+ };
40
+ export default _default;
@@ -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;
@@ -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;
@@ -575,6 +621,45 @@ declare const _default: {
575
621
  textColor: string;
576
622
  };
577
623
  };
624
+ alert: {
625
+ gap: string;
626
+ padding: string;
627
+ borderRadius: string;
628
+ borderColor: string;
629
+ backgroundColor: string;
630
+ textColor: string;
631
+ iconColor: string;
632
+ fontSize: string;
633
+ lineHeight: string;
634
+ bodyGap: string;
635
+ titleFontSize: string;
636
+ titleFontWeight: string;
637
+ actionsGap: string;
638
+ closeSize: string;
639
+ closeRadius: string;
640
+ closeFontSize: string;
641
+ closeHoverBackgroundColor: string;
642
+ info: {
643
+ backgroundColor: string;
644
+ borderColor: string;
645
+ textColor: string;
646
+ };
647
+ success: {
648
+ backgroundColor: string;
649
+ borderColor: string;
650
+ textColor: string;
651
+ };
652
+ warn: {
653
+ backgroundColor: string;
654
+ borderColor: string;
655
+ textColor: string;
656
+ };
657
+ danger: {
658
+ backgroundColor: string;
659
+ borderColor: string;
660
+ textColor: string;
661
+ };
662
+ };
578
663
  };
579
664
  colors: {
580
665
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",