@vitrosoftware/common-ui-ts 1.1.13 → 1.1.15

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.
Files changed (33) hide show
  1. package/css/common.css +7 -1
  2. package/css/std/controls/avatar/avatar.css +21 -0
  3. package/css/std/controls/command-menu/command-menu-button.css +10 -0
  4. package/css/std/controls/command-menu/command-menu-dropdown-button.css +19 -0
  5. package/css/std/controls/lookup-picker/lookup-picker-html-value.css +8 -0
  6. package/css/std/controls/lookup-picker/lookup-picker-selected-item.css +3 -1
  7. package/css/std/controls/lookup-picker/lookup-picker-value-list.css +19 -4
  8. package/css/std/controls/sidebar/sidebar-item.css +74 -13
  9. package/css/std/controls/sidebar/sidebar.css +45 -19
  10. package/css/std/controls/table-view/table-view.css +1 -1
  11. package/css/std/controls/table-view/treegrid.css +4 -0
  12. package/css/std/controls/uploader/uploader.css +11 -2
  13. package/css/std/controls/user-profile/user-profile.css +77 -0
  14. package/dist/controls/Avatar/Avatar.d.ts +8 -0
  15. package/dist/controls/LookupPicker/LookupPicker.d.ts +6 -1
  16. package/dist/controls/LookupPicker/SelectedValueList.d.ts +4 -1
  17. package/dist/controls/LookupPicker/ValueList.d.ts +4 -1
  18. package/dist/controls/LookupPicker/ValueListItem.d.ts +11 -0
  19. package/dist/controls/Sidebar/LinkItem.d.ts +1 -0
  20. package/dist/controls/Sidebar/Section.d.ts +1 -0
  21. package/dist/controls/Sidebar/SectionList.d.ts +3 -2
  22. package/dist/controls/Sidebar/Sidebar.d.ts +1 -0
  23. package/dist/controls/UserLookupPicker/UserLookupPicker.d.ts +38 -0
  24. package/dist/controls/UserProfile/UserProfile.d.ts +12 -0
  25. package/dist/controls/UserProfile/UserProfileMenuItem.d.ts +11 -0
  26. package/dist/index.css +304 -41
  27. package/dist/index.d.ts +6 -0
  28. package/dist/index.js +299 -48
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +297 -49
  31. package/dist/index.modern.js.map +1 -1
  32. package/lib/third-party.js +97104 -0
  33. package/package.json +2 -2
package/css/common.css CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  :global(.vitro-title) {
20
20
  font-size: 20px;
21
- font-family: 'InterRegular';
21
+ font-family: 'InterMedium';
22
22
  line-height: 24px;
23
23
  margin-right: 24px;
24
24
  margin-bottom: 14px;
@@ -40,5 +40,11 @@
40
40
  padding-bottom: 8px;
41
41
  font-size: 18px;
42
42
  line-height: 27px;
43
+ margin: 0;
44
+ }
45
+
46
+ :global(.pane) > :global(.vitro-flex) {
47
+ flex-direction: column;
48
+ align-items: flex-start;
43
49
  }
44
50
  }
@@ -0,0 +1,21 @@
1
+ .vitro-avatar {
2
+ position: relative;
3
+ border-radius: 50%;
4
+ border: 0;
5
+ background: #76AFF8;
6
+ color: #fff !important;
7
+ width: 24px;
8
+ height: 24px;
9
+ min-width: 24px;
10
+ text-align: center;
11
+ font-size: 12px;
12
+ line-height: 24px;
13
+ }
14
+
15
+ .vitro-avatar.vitro-avatar-big {
16
+ width: 32px;
17
+ min-width: 32px;
18
+ height: 32px;
19
+ line-height: 32px;
20
+ font-size: 16px;
21
+ }
@@ -15,4 +15,14 @@
15
15
  width: 24px;
16
16
  height: 24px;
17
17
  margin-right: 4px;
18
+ }
19
+
20
+ @media (max-width: 800px) {
21
+ .vitro-command-menu-button .vitro-icon + div {
22
+ display: none;
23
+ }
24
+
25
+ .vitro-command-menu-button {
26
+ min-width: 40px !important;
27
+ }
18
28
  }
@@ -152,4 +152,23 @@
152
152
  :global(.vitro-button-context:hover),
153
153
  :global(.vitro-button-context:active) {
154
154
  border-color: #fff !important;
155
+ }
156
+
157
+ @media (max-width: 800px) {
158
+ .vitro-command-menu-dropdown-button .vitro-icon + div {
159
+ display: none;
160
+ }
161
+
162
+ .vitro-command-menu-dropdown-button {
163
+ min-width: 40px !important;
164
+ }
165
+
166
+ li:first-child .vitro-icon + div {
167
+ display: block;
168
+ }
169
+
170
+ :global(.vitro-button-context) {
171
+ min-width: 32px !important;
172
+ width: 32px;
173
+ }
155
174
  }
@@ -0,0 +1,8 @@
1
+ .vitro-item-html-value {
2
+ height: fit-content;
3
+ width: fit-content;
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ margin-right: 8px;
8
+ }
@@ -1,4 +1,6 @@
1
1
  .vitro-selected-item {
2
2
  display: inline;
3
3
  margin: 0 6px 0 0;
4
- }
4
+ display: flex;
5
+ align-items: center;
6
+ }
@@ -14,22 +14,37 @@
14
14
  padding-right: 0 !important;
15
15
  }
16
16
 
17
- .vitro-value-list div.vitro-item {
17
+ .vitro-value-list > :global(.ps) > div:first-child {
18
+ padding: 0 !important;
19
+ }
20
+
21
+ .vitro-value-list .vitro-item {
18
22
  padding: 8px 12px;
19
23
  cursor: pointer;
20
24
  border-radius: 0px;
25
+ display: flex;
26
+ align-items: center;
21
27
  }
22
28
 
23
- .vitro-value-list div:last-child {
29
+ .vitro-value-list .vitro-item:last-child {
24
30
  border-radius: 0 0 4px 4px;
25
31
  }
26
32
 
27
- .vitro-value-list div:first-child {
33
+ .vitro-value-list .vitro-item:first-child {
28
34
  border-radius: 4px 4px 0 0;
29
35
  padding: 0 !important;
30
36
  }
31
37
 
32
- .vitro-value-list div.vitro-item:hover {
38
+ .vitro-value-list .vitro-item > .vitro-item-html-value {
39
+ height: fit-content;
40
+ width: fit-content;
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ margin-right: 8px;
45
+ }
46
+
47
+ .vitro-value-list .vitro-item:hover {
33
48
  background: #F3F8FF;
34
49
  }
35
50
 
@@ -1,8 +1,8 @@
1
- a.vitro-active {
1
+ .vitro-active {
2
2
  background-color: #DCEEFF;
3
3
  }
4
4
 
5
- ul > li:last-child > ul > li:last-child a.vitro-active {
5
+ ul > li:last-child > ul > li:last-child .vitro-active {
6
6
  background-color: transparent;
7
7
  }
8
8
 
@@ -21,29 +21,90 @@ ul > li:last-child > ul > li:last-child a.vitro-active {
21
21
  display: none;
22
22
  }
23
23
 
24
- a:hover .vitro-icon-text, a:hover .vitro-item-text, a.vitro-active .vitro-icon-text, a.vitro-active .vitro-item-text {
24
+ .vitro-active .vitro-icon-text,
25
+ .vitro-active .vitro-item-text {
25
26
  color: #326AD6;
26
27
  font-weight: 500;
27
28
  font-family: 'InterMedium';
28
29
  }
29
30
 
30
- .vitro-icon > :global(.vitro-icon-hover) {
31
- display: none;
31
+ .vitro-icon {
32
+ width: 24px;
33
+ height: 24px;
32
34
  }
33
35
 
34
- .vitro-icon:hover > :global(.vitro-icon-hover) {
36
+ :global(.toggled.pinned) .vitro-item a {
37
+ width: 100%;
38
+ }
39
+
40
+ .vitro-item a > div {
41
+ display: flex;
42
+ width: fit-content;
43
+ align-items: center;
44
+ }
45
+
46
+ .vitro-item a {
47
+ text-decoration: none;
48
+ height: 40px;
49
+ width: 40px;
50
+ border-radius: 8px;
51
+ padding: 8px;
52
+ cursor: pointer;
53
+ margin-bottom: 8px;
35
54
  display: block;
36
55
  }
37
56
 
38
- .vitro-icon:hover > :global(.vitro-icon-default) {
39
- display: none;
57
+ .vitro-active {
58
+ background-color: #DCEEFF;
40
59
  }
41
60
 
42
- .vitro-icon {
43
- width: 24px;
44
- height: 24px;
61
+ :global(.vitro-bottom-menu) .vitro-item-text {
62
+ display: block;
63
+ color: #4A556C;
64
+ font-size: 12px;
65
+ line-height: 12px;
66
+ text-align: center;
45
67
  }
46
68
 
47
- :global(.vitro-display-none) {
69
+ :global(.vitro-bottom-menu) .vitro-icon-text {
48
70
  display: none;
49
- }
71
+ }
72
+
73
+ :global(.vitro-bottom-menu) .vitro-active {
74
+ background: transparent;
75
+ position: relative;
76
+ }
77
+
78
+ :global(.vitro-bottom-menu) .vitro-active::after {
79
+ content: '';
80
+ display: block;
81
+ position: absolute;
82
+ height: 2px;
83
+ border-radius: 2px;
84
+ background: #4292F7;
85
+ width: 32px;
86
+ bottom: -8px;
87
+ }
88
+
89
+ .vitro-active .vitro-item-text {
90
+ color: #4A556C;
91
+ font-family: 'InterRegular' !important;
92
+ }
93
+
94
+ .vitro-item {
95
+ display: flex;
96
+ justify-content: center;
97
+ }
98
+
99
+ :global(.vitro-bottom-menu) .vitro-item > a {
100
+ background: transparent;
101
+ position: relative;
102
+ display: flex;
103
+ flex-direction: column;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+ width: fit-content;
107
+ height: 100%;
108
+ padding: 0;
109
+ margin-bottom: 0;
110
+ }
@@ -35,21 +35,6 @@
35
35
  justify-content: space-between;
36
36
  }
37
37
 
38
- .vitro-sidebar a {
39
- text-decoration: none;
40
- height: 40px;
41
- width: 40px;
42
- border-radius: 8px;
43
- padding: 8px;
44
- cursor: pointer;
45
- margin-bottom: 8px;
46
- display: block;
47
- }
48
-
49
- .vitro-sidebar a:hover {
50
- background-color: #DCEEFF;
51
- }
52
-
53
38
  .vitro-sidebar ul > li:last-child > ul > li:last-child a {
54
39
  margin-bottom: 0;
55
40
  }
@@ -67,12 +52,53 @@
67
52
  font-weight: 400 !important;
68
53
  }
69
54
 
70
- :global(.toggled.pinned) .vitro-sidebar a {
55
+ :global(.vitro-bottom-menu) {
71
56
  width: 100%;
57
+ z-index: 10000;
58
+ flex-direction: row;
59
+ height: 60px;
60
+ padding: 0 21px !important;
61
+ background: #fff;
62
+ bottom: 0;
63
+ top: initial;
64
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
65
+ border-radius: 4px 4px 0 0;
72
66
  }
73
67
 
74
- .vitro-sidebar a > div {
68
+ :global(.vitro-bottom-menu) ul {
75
69
  display: flex;
76
- width: fit-content;
77
- align-items: center;
70
+ flex-direction: row;
71
+ height: 100%;
72
+ }
73
+
74
+ .vitro-scroll-container {
75
+ height: 100%;
76
+ flex: 0 1 auto;
77
+ overflow: hidden;
78
+ padding: 8px 0;
79
+ }
80
+
81
+ .vitro-scroll-container > ul {
82
+ transition: 1s all ease;
83
+ }
84
+
85
+ .vitro-button-more {
86
+ display: block;
87
+ width: 40px;
88
+ height: 40px;
89
+ min-width: 40px;
90
+ border: none;
91
+ background-color: #fff;
92
+ background-size: 100%;
93
+ background-position: center;
94
+ background-repeat: no-repeat;
95
+ /* bottom-menu-button-more.svg URL-encoder for SVG */
96
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 41 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10.5' cy='20' r='2.5' transform='rotate(-90 10.5 20)' fill='%234A556C'/%3E%3Ccircle cx='20.5' cy='20' r='2.5' transform='rotate(-90 20.5 20)' fill='%234A556C'/%3E%3Ccircle cx='30.5' cy='20' r='2.5' transform='rotate(-90 30.5 20)' fill='%234A556C'/%3E%3C/svg%3E%0A");
97
+ }
98
+
99
+ .vitro-button-more:hover,
100
+ .vitro-button-more:active {
101
+ border: none;
102
+ background-color: #fff;
103
+ outline: none;
78
104
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  :global(#TableView) {
6
6
  height: auto;
7
- flex: 1 1 100%;
7
+ flex: 1 0 auto;
8
8
  }
9
9
 
10
10
  .vitro-table-view {
@@ -586,3 +586,7 @@
586
586
  .TWCellBase.vitro-table-view-deleted {
587
587
  color: #BDBDBD;
588
588
  }
589
+
590
+ .TWCell .vitro-flex > div {
591
+ margin-right: 4px;
592
+ }
@@ -317,6 +317,11 @@
317
317
  flex: unset;
318
318
  }
319
319
 
320
+ .vitro-uploader :global(.k-upload-action) {
321
+ min-width: 24px;
322
+ justify-content: flex-start;
323
+ }
324
+
320
325
  :global(#TableViewContainer .splitter:last-child > .pane.primary):has(.vitro-uploader) {
321
326
  position: relative;
322
327
  }
@@ -444,6 +449,8 @@
444
449
  .vitro-uploader :global(.k-progressbar) {
445
450
  height: 32px !important;
446
451
  width: 32px !important;
452
+ min-width: 32px;
453
+ min-height: 32px;
447
454
  border-radius: 50% !important;
448
455
  display: flex;
449
456
  align-items: center !important;
@@ -455,8 +462,10 @@
455
462
  }
456
463
 
457
464
  .vitro-uploader :global(.k-progressbar > span) {
458
- height: 27px !important;
459
- width: 27px !important;
465
+ height: 28px !important;
466
+ width: 28px !important;
467
+ min-width: 28px;
468
+ min-height: 28px;
460
469
  border-radius: 50% !important;
461
470
  background: #fff !important;
462
471
  display: block;
@@ -0,0 +1,77 @@
1
+ .vitro-user-profile span {
2
+ margin-right: 10px;
3
+ color: #5F6276;
4
+ font-size: 14px;
5
+ user-select: none;
6
+ white-space: nowrap;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .vitro-user-profile > button > div {
11
+ display: flex;
12
+ align-items: center;
13
+ }
14
+
15
+ .vitro-user-profile :global(.dropdown-toggle) {
16
+ background-color: transparent !important;
17
+ border: none;
18
+ padding: 0;
19
+ }
20
+
21
+ .vitro-user-profile :global(.dropdown-toggle)::after {
22
+ display: none;
23
+ }
24
+
25
+ .vitro-user-profile :global(.dropdown-toggle):active,
26
+ .vitro-user-profile :global(.dropdown-toggle):hover {
27
+ background: transparent;
28
+ border: none;
29
+ outline: none;
30
+ }
31
+
32
+ .vitro-user-profile :global(.dropdown-menu) {
33
+ background: #fff;
34
+ width: fit-content;
35
+ border-radius: 4px;
36
+ padding: 0;
37
+ box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.10);
38
+ inset: calc(100% + 5px) 0px auto auto !important;
39
+ }
40
+
41
+ .vitro-user-profile :global(.dropdown-menu::before) {
42
+ content: '';
43
+ display: block;
44
+ height: 11px;
45
+ width: 16px;
46
+ background-position: center;
47
+ background-size: 100%;
48
+ background-repeat: no-repeat;
49
+ position: absolute;
50
+ right: 8px;
51
+ top: -11px;
52
+ /* dropdown-arrow.svg URL-encoder for SVG */
53
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.31554 1.65838L0.382812 11H15.6249L9.69214 1.65838C8.90651 0.421336 7.10117 0.421335 6.31554 1.65838Z' fill='white'/%3E%3C/svg%3E%0A");
54
+ }
55
+
56
+ .vitro-dropdown-item {
57
+ cursor: pointer;
58
+ background: #fff;
59
+ padding: 8px 12px;
60
+ font-size: 14px;
61
+ line-height: 16px;
62
+ }
63
+
64
+ .vitro-dropdown-item:first-child {
65
+ border-top-left-radius: 4px;
66
+ border-top-right-radius: 4px;
67
+ }
68
+
69
+ .vitro-dropdown-item:last-child {
70
+ border-bottom-left-radius: 4px;
71
+ border-bottom-right-radius: 4px;
72
+ }
73
+
74
+ .vitro-dropdown-item:hover,
75
+ .vitro-dropdown-item:active {
76
+ background: #DCEEFF;
77
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface AvatarProps {
3
+ userName: string;
4
+ image?: string;
5
+ isBigSize?: boolean;
6
+ }
7
+ export declare const Avatar: (props: AvatarProps) => JSX.Element;
8
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { FunctionComponent } from 'react';
2
2
  interface LookupPickerProps {
3
3
  name?: string;
4
4
  valueList?: {
@@ -13,6 +13,10 @@ interface LookupPickerProps {
13
13
  charCount?: number;
14
14
  filterValueTemplate?: any;
15
15
  selectedValueTemplate?: any;
16
+ htmlValueTemplate?: FunctionComponent<any>;
17
+ getHtmlValueTemplateProps?: (item: {
18
+ id: string;
19
+ }) => any;
16
20
  filterMinLength: number;
17
21
  isMultiSelect?: boolean;
18
22
  isDisabled?: boolean;
@@ -27,6 +31,7 @@ interface LookupPickerProps {
27
31
  errorMessage?: string;
28
32
  children?: React.ReactNode;
29
33
  className?: string;
34
+ getAllValueList?: () => Promise<any>;
30
35
  }
31
36
  export declare const LookupPicker: (props: LookupPickerProps) => JSX.Element;
32
37
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { FunctionComponentElement } from 'react';
2
2
  interface SelectedValueListProps {
3
3
  list: {
4
4
  id: string;
@@ -6,6 +6,9 @@ interface SelectedValueListProps {
6
6
  isMultiSelect?: boolean;
7
7
  selectedValueTemplate: (value: any) => any;
8
8
  onOptionValueDelete: (id: string) => any;
9
+ getHtmlValue?: (item: {
10
+ id: string;
11
+ }) => FunctionComponentElement<any> | null;
9
12
  }
10
13
  export declare const SelectedValueList: (props: SelectedValueListProps) => JSX.Element;
11
14
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { FunctionComponentElement } from 'react';
2
2
  interface ValueListProps {
3
3
  inputValue: any;
4
4
  list: {
@@ -11,6 +11,9 @@ interface ValueListProps {
11
11
  isVisible?: boolean;
12
12
  onOptionValueSelect: (id: string) => any;
13
13
  emptyPlaceholder: string;
14
+ getHtmlValue?: (item: {
15
+ id: string;
16
+ }) => FunctionComponentElement<any> | null;
14
17
  }
15
18
  export declare const ValueList: (props: ValueListProps) => JSX.Element;
16
19
  export {};
@@ -0,0 +1,11 @@
1
+ import { FunctionComponentElement } from 'react';
2
+ interface ValueListItemProps {
3
+ item: {
4
+ id: string;
5
+ };
6
+ onSelect: (id: string) => any;
7
+ createDisplayValue: (item: any) => any;
8
+ htmlValue?: FunctionComponentElement<any> | null;
9
+ }
10
+ export declare const ValueListItem: (props: ValueListItemProps) => JSX.Element;
11
+ export {};
@@ -10,6 +10,7 @@ interface LinkItem {
10
10
  imageUrl: string;
11
11
  imageHoverUrl?: string;
12
12
  text: string;
13
+ linkItemWidth?: number;
13
14
  }
14
15
  export declare const LinkItem: (props: LinkItem) => JSX.Element;
15
16
  export {};
@@ -5,6 +5,7 @@ interface SectionProps {
5
5
  itemList: SidebarItem[];
6
6
  activeItem?: string;
7
7
  currentUrl: string;
8
+ linkItemWidth?: number;
8
9
  }
9
10
  export declare const Section: (props: SectionProps) => JSX.Element;
10
11
  export {};
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SidebarSection } from './SidebarSection';
3
3
  interface SectionListProps {
4
4
  itemList: SidebarSection[];
5
5
  currentUrl: string;
6
6
  activeItem?: string;
7
+ linkItemWidth?: number;
7
8
  }
8
- export declare const SectionList: (props: SectionListProps) => JSX.Element | null;
9
+ export declare const SectionList: React.ForwardRefExoticComponent<SectionListProps & React.RefAttributes<unknown>>;
9
10
  export {};
@@ -8,6 +8,7 @@ interface SidebarProps {
8
8
  bottomItemList?: SidebarSection[];
9
9
  overflowItemList?: SidebarSection[];
10
10
  activeItem?: any;
11
+ isDifferentOnMobileView?: boolean;
11
12
  }
12
13
  export declare const Sidebar: (props: SidebarProps) => JSX.Element;
13
14
  export {};
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ interface UserLookupPickerProps {
3
+ name?: string;
4
+ valueList?: {
5
+ id: string;
6
+ }[];
7
+ getValueList?: (value: string) => Promise<any>;
8
+ selectedValueList?: {
9
+ id: string;
10
+ }[];
11
+ selectedValue?: any;
12
+ scrollableElement?: any;
13
+ charCount?: number;
14
+ filterValueTemplate?: any;
15
+ selectedValueTemplate?: any;
16
+ getHtmlValueTemplateProps: (item: {
17
+ id: string;
18
+ }) => {
19
+ userName: string;
20
+ image?: string;
21
+ };
22
+ filterMinLength: number;
23
+ isMultiSelect?: boolean;
24
+ isDisabled?: boolean;
25
+ isReadOnly?: boolean;
26
+ isRequired?: boolean;
27
+ onChange?: (value: any[] | any, name?: string) => void;
28
+ onBlur?: (e: any, name?: string) => void;
29
+ label?: string;
30
+ labelWidth?: number;
31
+ placeholder?: string;
32
+ emptyPlaceholder?: string;
33
+ errorMessage?: string;
34
+ children?: React.ReactNode;
35
+ className?: string;
36
+ }
37
+ export declare const UserLookupPicker: (props: UserLookupPickerProps) => JSX.Element;
38
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface UserProfileProps {
3
+ userName: string;
4
+ image?: string;
5
+ dropdownMenuItemList?: {
6
+ text: string;
7
+ onClick?: () => any;
8
+ link?: string;
9
+ }[];
10
+ }
11
+ export declare const UserProfile: (props: UserProfileProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface UserProfileMenuItemProps {
3
+ text: string;
4
+ link?: string;
5
+ onClick?: () => any;
6
+ imageUrl?: string;
7
+ hoverImageUrl?: string;
8
+ setDropdownState: (state: boolean) => any;
9
+ }
10
+ export declare const UserProfileMenuItem: (props: UserProfileMenuItemProps) => JSX.Element | null;
11
+ export {};