@codemonster-ru/vueforge 0.66.0 → 0.67.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
+ };
@@ -695,6 +695,46 @@ export type AppShellTokens = {
695
695
  overlayBackgroundColor?: string;
696
696
  zIndex?: string;
697
697
  };
698
+ export type KanbanBoardTokens = {
699
+ gap?: string;
700
+ columnMinWidth?: string;
701
+ columnGap?: string;
702
+ columnBorderColor?: string;
703
+ columnBorderRadius?: string;
704
+ columnBackgroundColor?: string;
705
+ columnHeaderPadding?: string;
706
+ columnHeaderBorderColor?: string;
707
+ columnTitleFontSize?: string;
708
+ columnTitleFontWeight?: string;
709
+ columnCountFontSize?: string;
710
+ columnCountColor?: string;
711
+ bodyPadding?: string;
712
+ cardGap?: string;
713
+ cardPadding?: string;
714
+ cardBorderRadius?: string;
715
+ cardBorderColor?: string;
716
+ cardBackgroundColor?: string;
717
+ cardHoverBorderColor?: string;
718
+ cardTitleFontSize?: string;
719
+ cardTitleFontWeight?: string;
720
+ cardDescriptionFontSize?: string;
721
+ cardDescriptionColor?: string;
722
+ priorityLowColor?: string;
723
+ priorityMediumColor?: string;
724
+ priorityHighColor?: string;
725
+ tagGap?: string;
726
+ tagPadding?: string;
727
+ tagBorderRadius?: string;
728
+ tagBackgroundColor?: string;
729
+ tagTextColor?: string;
730
+ assigneeFontSize?: string;
731
+ assigneeColor?: string;
732
+ emptyPadding?: string;
733
+ emptyColor?: string;
734
+ columnFooterPadding?: string;
735
+ columnFooterBorderColor?: string;
736
+ dragOpacity?: string;
737
+ };
698
738
  export type SelectTokens = {
699
739
  minWidth?: string;
700
740
  fontSize?: string;
@@ -1990,6 +2030,7 @@ export type ThemeComponentTokens = {
1990
2030
  commandPalette?: CommandPaletteTokens;
1991
2031
  notificationCenter?: NotificationCenterTokens;
1992
2032
  appShell?: AppShellTokens;
2033
+ kanbanBoard?: KanbanBoardTokens;
1993
2034
  select?: SelectTokens;
1994
2035
  autocomplete?: AutocompleteTokens;
1995
2036
  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;
@@ -849,6 +849,46 @@ declare const _default: {
849
849
  overlayBackgroundColor: string;
850
850
  zIndex: string;
851
851
  };
852
+ kanbanBoard: {
853
+ gap: string;
854
+ columnMinWidth: string;
855
+ columnGap: string;
856
+ columnBorderColor: string;
857
+ columnBorderRadius: string;
858
+ columnBackgroundColor: string;
859
+ columnHeaderPadding: string;
860
+ columnHeaderBorderColor: string;
861
+ columnTitleFontSize: string;
862
+ columnTitleFontWeight: string;
863
+ columnCountFontSize: string;
864
+ columnCountColor: string;
865
+ bodyPadding: string;
866
+ cardGap: string;
867
+ cardPadding: string;
868
+ cardBorderRadius: string;
869
+ cardBorderColor: string;
870
+ cardBackgroundColor: string;
871
+ cardHoverBorderColor: string;
872
+ cardTitleFontSize: string;
873
+ cardTitleFontWeight: string;
874
+ cardDescriptionFontSize: string;
875
+ cardDescriptionColor: string;
876
+ priorityLowColor: string;
877
+ priorityMediumColor: string;
878
+ priorityHighColor: string;
879
+ tagGap: string;
880
+ tagPadding: string;
881
+ tagBorderRadius: string;
882
+ tagBackgroundColor: string;
883
+ tagTextColor: string;
884
+ assigneeFontSize: string;
885
+ assigneeColor: string;
886
+ emptyPadding: string;
887
+ emptyColor: string;
888
+ columnFooterPadding: string;
889
+ columnFooterBorderColor: string;
890
+ dragOpacity: string;
891
+ };
852
892
  select: {
853
893
  minWidth: string;
854
894
  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.67.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",