@codemonster-ru/vueforge 0.64.0 → 0.65.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.
@@ -41,9 +41,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
41
41
  ariaLabelledby: string;
42
42
  multiple: boolean;
43
43
  options: Array<FilterChipOption>;
44
+ clearLabel: string;
44
45
  allowEmpty: boolean;
45
46
  clearText: string;
46
- clearLabel: string;
47
47
  wrap: boolean;
48
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
49
  export default _default;
@@ -0,0 +1,87 @@
1
+ type NotificationSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
2
+ export interface NotificationCenterItem {
3
+ id: string | number;
4
+ title: string;
5
+ message?: string;
6
+ date?: string;
7
+ read?: boolean;
8
+ severity?: NotificationSeverity;
9
+ avatar?: string;
10
+ }
11
+ interface Props {
12
+ modelValue?: boolean;
13
+ items?: Array<NotificationCenterItem>;
14
+ title?: string;
15
+ emptyText?: string;
16
+ closeOnOverlay?: boolean;
17
+ closeOnEsc?: boolean;
18
+ markAllLabel?: string;
19
+ clearLabel?: string;
20
+ closeLabel?: string;
21
+ readLabel?: string;
22
+ unreadLabel?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ item?(_: {
28
+ item: {
29
+ id: string | number;
30
+ title: string;
31
+ message?: string | undefined;
32
+ date?: string | undefined;
33
+ read?: boolean | undefined;
34
+ severity?: NotificationSeverity | undefined;
35
+ avatar?: string | undefined;
36
+ };
37
+ index: number;
38
+ toggleRead: () => void;
39
+ }): any;
40
+ empty?(_: {}): any;
41
+ };
42
+ refs: {
43
+ panel: HTMLElement;
44
+ };
45
+ rootEl: any;
46
+ };
47
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
48
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ click: (...args: any[]) => void;
50
+ close: (...args: any[]) => void;
51
+ "update:modelValue": (...args: any[]) => void;
52
+ clear: (...args: any[]) => void;
53
+ open: (...args: any[]) => void;
54
+ "update:items": (...args: any[]) => void;
55
+ read: (...args: any[]) => void;
56
+ readAll: (...args: any[]) => void;
57
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
58
+ onClick?: ((...args: any[]) => any) | undefined;
59
+ onClose?: ((...args: any[]) => any) | undefined;
60
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
+ onClear?: ((...args: any[]) => any) | undefined;
62
+ onOpen?: ((...args: any[]) => any) | undefined;
63
+ "onUpdate:items"?: ((...args: any[]) => any) | undefined;
64
+ onRead?: ((...args: any[]) => any) | undefined;
65
+ onReadAll?: ((...args: any[]) => any) | undefined;
66
+ }>, {
67
+ title: string;
68
+ items: Array<NotificationCenterItem>;
69
+ modelValue: boolean;
70
+ emptyText: string;
71
+ closeOnOverlay: boolean;
72
+ closeOnEsc: boolean;
73
+ markAllLabel: string;
74
+ clearLabel: string;
75
+ closeLabel: string;
76
+ readLabel: string;
77
+ unreadLabel: string;
78
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
79
+ panel: HTMLElement;
80
+ }, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
82
+ export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -629,6 +629,48 @@ export type CommandPaletteTokens = {
629
629
  emptyPadding?: string;
630
630
  emptyColor?: string;
631
631
  };
632
+ export type NotificationCenterTokens = {
633
+ zIndex?: string;
634
+ overlayBackgroundColor?: string;
635
+ top?: string;
636
+ right?: string;
637
+ width?: string;
638
+ maxWidth?: string;
639
+ maxHeight?: string;
640
+ borderColor?: string;
641
+ borderRadius?: string;
642
+ backgroundColor?: string;
643
+ textColor?: string;
644
+ shadow?: string;
645
+ dividerColor?: string;
646
+ headerGap?: string;
647
+ headerPadding?: string;
648
+ titleGap?: string;
649
+ titleFontSize?: string;
650
+ titleLineHeight?: string;
651
+ titleFontWeight?: string;
652
+ badgeSize?: string;
653
+ badgeBackgroundColor?: string;
654
+ badgeTextColor?: string;
655
+ badgeFontSize?: string;
656
+ actionsGap?: string;
657
+ closeSize?: string;
658
+ closeHoverBackgroundColor?: string;
659
+ disabledOpacity?: string;
660
+ itemGap?: string;
661
+ itemPadding?: string;
662
+ unreadBackgroundColor?: string;
663
+ avatarSize?: string;
664
+ avatarBackgroundColor?: string;
665
+ avatarTextColor?: string;
666
+ avatarFontSize?: string;
667
+ itemTitleFontSize?: string;
668
+ itemTitleFontWeight?: string;
669
+ itemMetaFontSize?: string;
670
+ itemMetaColor?: string;
671
+ emptyPadding?: string;
672
+ emptyColor?: string;
673
+ };
632
674
  export type SelectTokens = {
633
675
  minWidth?: string;
634
676
  fontSize?: string;
@@ -1922,6 +1964,7 @@ export type ThemeComponentTokens = {
1922
1964
  splitbutton?: SplitButtonTokens;
1923
1965
  contextMenu?: ContextMenuTokens;
1924
1966
  commandPalette?: CommandPaletteTokens;
1967
+ notificationCenter?: NotificationCenterTokens;
1925
1968
  select?: SelectTokens;
1926
1969
  autocomplete?: AutocompleteTokens;
1927
1970
  combobox?: ComboboxTokens;
@@ -0,0 +1,43 @@
1
+ declare const _default: {
2
+ zIndex: string;
3
+ overlayBackgroundColor: string;
4
+ top: string;
5
+ right: string;
6
+ width: string;
7
+ maxWidth: string;
8
+ maxHeight: string;
9
+ borderColor: string;
10
+ borderRadius: string;
11
+ backgroundColor: string;
12
+ textColor: string;
13
+ shadow: string;
14
+ dividerColor: string;
15
+ headerGap: string;
16
+ headerPadding: string;
17
+ titleGap: string;
18
+ titleFontSize: string;
19
+ titleLineHeight: string;
20
+ titleFontWeight: string;
21
+ badgeSize: string;
22
+ badgeBackgroundColor: string;
23
+ badgeTextColor: string;
24
+ badgeFontSize: string;
25
+ actionsGap: string;
26
+ closeSize: string;
27
+ closeHoverBackgroundColor: string;
28
+ disabledOpacity: string;
29
+ itemGap: string;
30
+ itemPadding: string;
31
+ unreadBackgroundColor: string;
32
+ avatarSize: string;
33
+ avatarBackgroundColor: string;
34
+ avatarTextColor: string;
35
+ avatarFontSize: string;
36
+ itemTitleFontSize: string;
37
+ itemTitleFontWeight: string;
38
+ itemMetaFontSize: string;
39
+ itemMetaColor: string;
40
+ emptyPadding: string;
41
+ emptyColor: string;
42
+ };
43
+ export default _default;
@@ -783,6 +783,48 @@ declare const _default: {
783
783
  emptyPadding: string;
784
784
  emptyColor: string;
785
785
  };
786
+ notificationCenter: {
787
+ zIndex: string;
788
+ overlayBackgroundColor: string;
789
+ top: string;
790
+ right: string;
791
+ width: string;
792
+ maxWidth: string;
793
+ maxHeight: string;
794
+ borderColor: string;
795
+ borderRadius: string;
796
+ backgroundColor: string;
797
+ textColor: string;
798
+ shadow: string;
799
+ dividerColor: string;
800
+ headerGap: string;
801
+ headerPadding: string;
802
+ titleGap: string;
803
+ titleFontSize: string;
804
+ titleLineHeight: string;
805
+ titleFontWeight: string;
806
+ badgeSize: string;
807
+ badgeBackgroundColor: string;
808
+ badgeTextColor: string;
809
+ badgeFontSize: string;
810
+ actionsGap: string;
811
+ closeSize: string;
812
+ closeHoverBackgroundColor: string;
813
+ disabledOpacity: string;
814
+ itemGap: string;
815
+ itemPadding: string;
816
+ unreadBackgroundColor: string;
817
+ avatarSize: string;
818
+ avatarBackgroundColor: string;
819
+ avatarTextColor: string;
820
+ avatarFontSize: string;
821
+ itemTitleFontSize: string;
822
+ itemTitleFontWeight: string;
823
+ itemMetaFontSize: string;
824
+ itemMetaColor: string;
825
+ emptyPadding: string;
826
+ emptyColor: string;
827
+ };
786
828
  select: {
787
829
  minWidth: string;
788
830
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",