@codemonster-ru/vueforge 0.66.0 → 0.68.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,90 @@
1
+ type KanbanId = string | number;
2
+ type KanbanPriority = 'low' | 'medium' | 'high';
3
+ export interface KanbanColumn {
4
+ id: KanbanId;
5
+ title: string;
6
+ }
7
+ export interface KanbanBoardItem {
8
+ id: KanbanId;
9
+ columnId: KanbanId;
10
+ title: string;
11
+ description?: string;
12
+ assignee?: string;
13
+ priority?: KanbanPriority;
14
+ tags?: Array<string>;
15
+ }
16
+ interface Props {
17
+ columns?: Array<KanbanColumn>;
18
+ items?: Array<KanbanBoardItem>;
19
+ ariaLabel?: string;
20
+ emptyColumnText?: string;
21
+ }
22
+ declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
24
+ slots: {
25
+ 'column-header'?(_: {
26
+ column: KanbanColumn;
27
+ items: {
28
+ id: KanbanId;
29
+ columnId: KanbanId;
30
+ title: string;
31
+ description?: string | undefined;
32
+ assignee?: string | undefined;
33
+ priority?: KanbanPriority | undefined;
34
+ tags?: Array<string> | undefined;
35
+ }[];
36
+ }): any;
37
+ card?(_: {
38
+ item: {
39
+ id: KanbanId;
40
+ columnId: KanbanId;
41
+ title: string;
42
+ description?: string | undefined;
43
+ assignee?: string | undefined;
44
+ priority?: KanbanPriority | undefined;
45
+ tags?: Array<string> | undefined;
46
+ };
47
+ column: KanbanColumn;
48
+ index: number;
49
+ }): any;
50
+ 'empty-column'?(_: {
51
+ column: KanbanColumn;
52
+ }): any;
53
+ 'column-footer'?(_: {
54
+ column: KanbanColumn;
55
+ items: {
56
+ id: KanbanId;
57
+ columnId: KanbanId;
58
+ title: string;
59
+ description?: string | undefined;
60
+ assignee?: string | undefined;
61
+ priority?: KanbanPriority | undefined;
62
+ tags?: Array<string> | undefined;
63
+ }[];
64
+ }): any;
65
+ };
66
+ refs: {};
67
+ rootEl: HTMLDivElement;
68
+ };
69
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
70
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
71
+ click: (...args: any[]) => void;
72
+ "update:items": (...args: any[]) => void;
73
+ move: (...args: any[]) => void;
74
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
75
+ onClick?: ((...args: any[]) => any) | undefined;
76
+ "onUpdate:items"?: ((...args: any[]) => any) | undefined;
77
+ onMove?: ((...args: any[]) => any) | undefined;
78
+ }>, {
79
+ items: Array<KanbanBoardItem>;
80
+ ariaLabel: string;
81
+ columns: Array<KanbanColumn>;
82
+ emptyColumnText: string;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
84
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
85
+ export default _default;
86
+ type __VLS_WithTemplateSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
@@ -0,0 +1,51 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type Format = 'markdown' | 'html';
4
+ export type RichTextEditorAction = 'bold' | 'italic' | 'underline' | 'link' | 'bulletList' | 'orderedList' | 'code';
5
+ interface Props {
6
+ modelValue?: string;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ size?: Size;
11
+ variant?: Variant;
12
+ format?: Format;
13
+ rows?: number;
14
+ maxLength?: number;
15
+ showToolbar?: boolean;
16
+ toolbar?: Array<RichTextEditorAction>;
17
+ toolbarLabel?: string;
18
+ ariaLabel?: string;
19
+ }
20
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ blur: (...args: any[]) => void;
22
+ change: (...args: any[]) => void;
23
+ focus: (...args: any[]) => void;
24
+ input: (...args: any[]) => void;
25
+ "update:modelValue": (...args: any[]) => void;
26
+ action: (...args: any[]) => void;
27
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
28
+ onBlur?: ((...args: any[]) => any) | undefined;
29
+ onChange?: ((...args: any[]) => any) | undefined;
30
+ onFocus?: ((...args: any[]) => any) | undefined;
31
+ onInput?: ((...args: any[]) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ onAction?: ((...args: any[]) => any) | undefined;
34
+ }>, {
35
+ disabled: boolean;
36
+ size: Size;
37
+ variant: Variant;
38
+ modelValue: string;
39
+ placeholder: string;
40
+ readonly: boolean;
41
+ ariaLabel: string;
42
+ format: Format;
43
+ rows: number;
44
+ maxLength: number;
45
+ showToolbar: boolean;
46
+ toolbar: Array<RichTextEditorAction>;
47
+ toolbarLabel: string;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
49
+ control: HTMLTextAreaElement;
50
+ }, HTMLDivElement>;
51
+ export default _default;
@@ -407,6 +407,47 @@ export type TextareaTokens = {
407
407
  fontSize?: string;
408
408
  };
409
409
  };
410
+ export type RichTextEditorTokens = {
411
+ gap?: string;
412
+ fontSize?: string;
413
+ padding?: string;
414
+ borderRadius?: string;
415
+ borderColor?: string;
416
+ backgroundColor?: string;
417
+ textColor?: string;
418
+ placeholderColor?: string;
419
+ focusBorderColor?: string;
420
+ focusRingShadow?: string;
421
+ hoverBorderColor?: string;
422
+ disabledOpacity?: string;
423
+ minHeight?: string;
424
+ resize?: string;
425
+ toolbarGap?: string;
426
+ toolbarPadding?: string;
427
+ toolbarBorderColor?: string;
428
+ toolbarBackgroundColor?: string;
429
+ toolbarButtonMinWidth?: string;
430
+ toolbarButtonPadding?: string;
431
+ toolbarButtonRadius?: string;
432
+ toolbarButtonBorderColor?: string;
433
+ toolbarButtonBackgroundColor?: string;
434
+ toolbarButtonTextColor?: string;
435
+ toolbarButtonHoverBackgroundColor?: string;
436
+ toolbarButtonActiveBackgroundColor?: string;
437
+ counterFontSize?: string;
438
+ counterColor?: string;
439
+ counterDangerColor?: string;
440
+ small?: {
441
+ padding?: string;
442
+ fontSize?: string;
443
+ toolbarButtonPadding?: string;
444
+ };
445
+ large?: {
446
+ padding?: string;
447
+ fontSize?: string;
448
+ toolbarButtonPadding?: string;
449
+ };
450
+ };
410
451
  export type FileUploadTokens = {
411
452
  minHeight?: string;
412
453
  fontSize?: string;
@@ -695,6 +736,46 @@ export type AppShellTokens = {
695
736
  overlayBackgroundColor?: string;
696
737
  zIndex?: string;
697
738
  };
739
+ export type KanbanBoardTokens = {
740
+ gap?: string;
741
+ columnMinWidth?: string;
742
+ columnGap?: string;
743
+ columnBorderColor?: string;
744
+ columnBorderRadius?: string;
745
+ columnBackgroundColor?: string;
746
+ columnHeaderPadding?: string;
747
+ columnHeaderBorderColor?: string;
748
+ columnTitleFontSize?: string;
749
+ columnTitleFontWeight?: string;
750
+ columnCountFontSize?: string;
751
+ columnCountColor?: string;
752
+ bodyPadding?: string;
753
+ cardGap?: string;
754
+ cardPadding?: string;
755
+ cardBorderRadius?: string;
756
+ cardBorderColor?: string;
757
+ cardBackgroundColor?: string;
758
+ cardHoverBorderColor?: string;
759
+ cardTitleFontSize?: string;
760
+ cardTitleFontWeight?: string;
761
+ cardDescriptionFontSize?: string;
762
+ cardDescriptionColor?: string;
763
+ priorityLowColor?: string;
764
+ priorityMediumColor?: string;
765
+ priorityHighColor?: string;
766
+ tagGap?: string;
767
+ tagPadding?: string;
768
+ tagBorderRadius?: string;
769
+ tagBackgroundColor?: string;
770
+ tagTextColor?: string;
771
+ assigneeFontSize?: string;
772
+ assigneeColor?: string;
773
+ emptyPadding?: string;
774
+ emptyColor?: string;
775
+ columnFooterPadding?: string;
776
+ columnFooterBorderColor?: string;
777
+ dragOpacity?: string;
778
+ };
698
779
  export type SelectTokens = {
699
780
  minWidth?: string;
700
781
  fontSize?: string;
@@ -1976,6 +2057,7 @@ export type ThemeComponentTokens = {
1976
2057
  form?: FormTokens;
1977
2058
  formField?: FormFieldTokens;
1978
2059
  textarea?: TextareaTokens;
2060
+ richTextEditor?: RichTextEditorTokens;
1979
2061
  fileUpload?: FileUploadTokens;
1980
2062
  link?: LinkTokens;
1981
2063
  breadcrumbs?: BreadcrumbsTokens;
@@ -1990,6 +2072,7 @@ export type ThemeComponentTokens = {
1990
2072
  commandPalette?: CommandPaletteTokens;
1991
2073
  notificationCenter?: NotificationCenterTokens;
1992
2074
  appShell?: AppShellTokens;
2075
+ kanbanBoard?: KanbanBoardTokens;
1993
2076
  select?: SelectTokens;
1994
2077
  autocomplete?: AutocompleteTokens;
1995
2078
  combobox?: ComboboxTokens;
@@ -0,0 +1,41 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ columnMinWidth: string;
4
+ columnGap: string;
5
+ columnBorderColor: string;
6
+ columnBorderRadius: string;
7
+ columnBackgroundColor: string;
8
+ columnHeaderPadding: string;
9
+ columnHeaderBorderColor: string;
10
+ columnTitleFontSize: string;
11
+ columnTitleFontWeight: string;
12
+ columnCountFontSize: string;
13
+ columnCountColor: string;
14
+ bodyPadding: string;
15
+ cardGap: string;
16
+ cardPadding: string;
17
+ cardBorderRadius: string;
18
+ cardBorderColor: string;
19
+ cardBackgroundColor: string;
20
+ cardHoverBorderColor: string;
21
+ cardTitleFontSize: string;
22
+ cardTitleFontWeight: string;
23
+ cardDescriptionFontSize: string;
24
+ cardDescriptionColor: string;
25
+ priorityLowColor: string;
26
+ priorityMediumColor: string;
27
+ priorityHighColor: string;
28
+ tagGap: string;
29
+ tagPadding: string;
30
+ tagBorderRadius: string;
31
+ tagBackgroundColor: string;
32
+ tagTextColor: string;
33
+ assigneeFontSize: string;
34
+ assigneeColor: string;
35
+ emptyPadding: string;
36
+ emptyColor: string;
37
+ columnFooterPadding: string;
38
+ columnFooterBorderColor: string;
39
+ dragOpacity: string;
40
+ };
41
+ export default _default;
@@ -0,0 +1,42 @@
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
+ minHeight: string;
15
+ resize: string;
16
+ toolbarGap: string;
17
+ toolbarPadding: string;
18
+ toolbarBorderColor: string;
19
+ toolbarBackgroundColor: string;
20
+ toolbarButtonMinWidth: string;
21
+ toolbarButtonPadding: string;
22
+ toolbarButtonRadius: string;
23
+ toolbarButtonBorderColor: string;
24
+ toolbarButtonBackgroundColor: string;
25
+ toolbarButtonTextColor: string;
26
+ toolbarButtonHoverBackgroundColor: string;
27
+ toolbarButtonActiveBackgroundColor: string;
28
+ counterFontSize: string;
29
+ counterColor: string;
30
+ counterDangerColor: string;
31
+ small: {
32
+ padding: string;
33
+ fontSize: string;
34
+ toolbarButtonPadding: string;
35
+ };
36
+ large: {
37
+ padding: string;
38
+ fontSize: string;
39
+ toolbarButtonPadding: string;
40
+ };
41
+ };
42
+ export default _default;
@@ -564,6 +564,47 @@ declare const _default: {
564
564
  fontSize: string;
565
565
  };
566
566
  };
567
+ richTextEditor: {
568
+ gap: string;
569
+ fontSize: string;
570
+ padding: string;
571
+ borderRadius: string;
572
+ borderColor: string;
573
+ backgroundColor: string;
574
+ textColor: string;
575
+ placeholderColor: string;
576
+ focusBorderColor: string;
577
+ focusRingShadow: string;
578
+ hoverBorderColor: string;
579
+ disabledOpacity: string;
580
+ minHeight: string;
581
+ resize: string;
582
+ toolbarGap: string;
583
+ toolbarPadding: string;
584
+ toolbarBorderColor: string;
585
+ toolbarBackgroundColor: string;
586
+ toolbarButtonMinWidth: string;
587
+ toolbarButtonPadding: string;
588
+ toolbarButtonRadius: string;
589
+ toolbarButtonBorderColor: string;
590
+ toolbarButtonBackgroundColor: string;
591
+ toolbarButtonTextColor: string;
592
+ toolbarButtonHoverBackgroundColor: string;
593
+ toolbarButtonActiveBackgroundColor: string;
594
+ counterFontSize: string;
595
+ counterColor: string;
596
+ counterDangerColor: string;
597
+ small: {
598
+ padding: string;
599
+ fontSize: string;
600
+ toolbarButtonPadding: string;
601
+ };
602
+ large: {
603
+ padding: string;
604
+ fontSize: string;
605
+ toolbarButtonPadding: string;
606
+ };
607
+ };
567
608
  fileUpload: {
568
609
  minHeight: string;
569
610
  fontSize: string;
@@ -849,6 +890,46 @@ declare const _default: {
849
890
  overlayBackgroundColor: string;
850
891
  zIndex: string;
851
892
  };
893
+ kanbanBoard: {
894
+ gap: string;
895
+ columnMinWidth: string;
896
+ columnGap: string;
897
+ columnBorderColor: string;
898
+ columnBorderRadius: string;
899
+ columnBackgroundColor: string;
900
+ columnHeaderPadding: string;
901
+ columnHeaderBorderColor: string;
902
+ columnTitleFontSize: string;
903
+ columnTitleFontWeight: string;
904
+ columnCountFontSize: string;
905
+ columnCountColor: string;
906
+ bodyPadding: string;
907
+ cardGap: string;
908
+ cardPadding: string;
909
+ cardBorderRadius: string;
910
+ cardBorderColor: string;
911
+ cardBackgroundColor: string;
912
+ cardHoverBorderColor: string;
913
+ cardTitleFontSize: string;
914
+ cardTitleFontWeight: string;
915
+ cardDescriptionFontSize: string;
916
+ cardDescriptionColor: string;
917
+ priorityLowColor: string;
918
+ priorityMediumColor: string;
919
+ priorityHighColor: string;
920
+ tagGap: string;
921
+ tagPadding: string;
922
+ tagBorderRadius: string;
923
+ tagBackgroundColor: string;
924
+ tagTextColor: string;
925
+ assigneeFontSize: string;
926
+ assigneeColor: string;
927
+ emptyPadding: string;
928
+ emptyColor: string;
929
+ columnFooterPadding: string;
930
+ columnFooterBorderColor: string;
931
+ dragOpacity: string;
932
+ };
852
933
  select: {
853
934
  minWidth: string;
854
935
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.66.0",
3
+ "version": "0.68.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",