@selfcommunity/react-theme-default 0.1.9-alpha.1 → 0.1.9-alpha.3

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 (87) hide show
  1. package/lib/cjs/components/SCChangeGroupCoverButton.d.ts +9 -0
  2. package/lib/cjs/components/SCChangeGroupCoverButton.js +11 -0
  3. package/lib/cjs/components/SCChangeGroupPictureButton.d.ts +9 -0
  4. package/lib/cjs/components/SCChangeGroupPictureButton.js +11 -0
  5. package/lib/cjs/components/SCCreateGroup.d.ts +85 -0
  6. package/lib/cjs/components/SCCreateGroup.js +88 -0
  7. package/lib/cjs/components/SCCreateGroupButton.d.ts +10 -0
  8. package/lib/cjs/components/SCCreateGroupButton.js +12 -0
  9. package/lib/cjs/components/SCGroup.d.ts +36 -0
  10. package/lib/cjs/components/SCGroup.js +38 -0
  11. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +43 -0
  12. package/lib/cjs/components/SCGroupFeedTemplate.js +45 -0
  13. package/lib/cjs/components/SCGroupHeader.d.ts +120 -0
  14. package/lib/cjs/components/SCGroupHeader.js +121 -0
  15. package/lib/cjs/components/SCGroupInfoWidget.d.ts +32 -0
  16. package/lib/cjs/components/SCGroupInfoWidget.js +34 -0
  17. package/lib/cjs/components/SCGroupInviteButton.d.ts +48 -0
  18. package/lib/cjs/components/SCGroupInviteButton.js +51 -0
  19. package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -0
  20. package/lib/cjs/components/SCGroupMembersButton.js +24 -0
  21. package/lib/cjs/components/SCGroupMembersWidget.d.ts +12 -0
  22. package/lib/cjs/components/SCGroupMembersWidget.js +14 -0
  23. package/lib/cjs/components/SCGroupRequestsWidget.d.ts +8 -0
  24. package/lib/cjs/components/SCGroupRequestsWidget.js +10 -0
  25. package/lib/cjs/components/SCGroupTemplate.d.ts +17 -0
  26. package/lib/cjs/components/SCGroupTemplate.js +19 -0
  27. package/lib/cjs/components/SCGroups.d.ts +7 -0
  28. package/lib/cjs/components/SCGroups.js +9 -0
  29. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  30. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  31. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
  32. package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
  33. package/lib/cjs/fonts/community/icons.eot +0 -0
  34. package/lib/cjs/fonts/community/icons.svg +7 -3
  35. package/lib/cjs/fonts/community/icons.ttf +0 -0
  36. package/lib/cjs/fonts/community/icons.woff +0 -0
  37. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  38. package/lib/cjs/fonts/community-icons.css +12 -6
  39. package/lib/cjs/index.d.ts +454 -4
  40. package/lib/cjs/index.js +39 -2
  41. package/lib/esm/components/SCChangeGroupCoverButton.d.ts +9 -0
  42. package/lib/esm/components/SCChangeGroupCoverButton.js +9 -0
  43. package/lib/esm/components/SCChangeGroupPictureButton.d.ts +9 -0
  44. package/lib/esm/components/SCChangeGroupPictureButton.js +9 -0
  45. package/lib/esm/components/SCCreateGroup.d.ts +85 -0
  46. package/lib/esm/components/SCCreateGroup.js +86 -0
  47. package/lib/esm/components/SCCreateGroupButton.d.ts +10 -0
  48. package/lib/esm/components/SCCreateGroupButton.js +10 -0
  49. package/lib/esm/components/SCGroup.d.ts +36 -0
  50. package/lib/esm/components/SCGroup.js +36 -0
  51. package/lib/esm/components/SCGroupFeedTemplate.d.ts +43 -0
  52. package/lib/esm/components/SCGroupFeedTemplate.js +43 -0
  53. package/lib/esm/components/SCGroupHeader.d.ts +120 -0
  54. package/lib/esm/components/SCGroupHeader.js +119 -0
  55. package/lib/esm/components/SCGroupInfoWidget.d.ts +32 -0
  56. package/lib/esm/components/SCGroupInfoWidget.js +32 -0
  57. package/lib/esm/components/SCGroupInviteButton.d.ts +48 -0
  58. package/lib/esm/components/SCGroupInviteButton.js +49 -0
  59. package/lib/esm/components/SCGroupMembersButton.d.ts +22 -0
  60. package/lib/esm/components/SCGroupMembersButton.js +22 -0
  61. package/lib/esm/components/SCGroupMembersWidget.d.ts +12 -0
  62. package/lib/esm/components/SCGroupMembersWidget.js +12 -0
  63. package/lib/esm/components/SCGroupRequestsWidget.d.ts +8 -0
  64. package/lib/esm/components/SCGroupRequestsWidget.js +8 -0
  65. package/lib/esm/components/SCGroupTemplate.d.ts +17 -0
  66. package/lib/esm/components/SCGroupTemplate.js +17 -0
  67. package/lib/esm/components/SCGroups.d.ts +7 -0
  68. package/lib/esm/components/SCGroups.js +7 -0
  69. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  70. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  71. package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
  72. package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
  73. package/lib/esm/fonts/community/icons.eot +0 -0
  74. package/lib/esm/fonts/community/icons.svg +7 -3
  75. package/lib/esm/fonts/community/icons.ttf +0 -0
  76. package/lib/esm/fonts/community/icons.woff +0 -0
  77. package/lib/esm/fonts/community/icons.woff2 +0 -0
  78. package/lib/esm/fonts/community-icons.css +12 -6
  79. package/lib/esm/index.d.ts +454 -4
  80. package/lib/esm/index.js +39 -2
  81. package/lib/umd/community/icons.eot +0 -0
  82. package/lib/umd/community/icons.svg +7 -3
  83. package/lib/umd/community/icons.ttf +0 -0
  84. package/lib/umd/community/icons.woff +0 -0
  85. package/lib/umd/community/icons.woff2 +0 -0
  86. package/lib/umd/react-theme-default.js +2 -2
  87. package/package.json +4 -4
@@ -0,0 +1,86 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .SCCreateGroup-cover': {
6
+ position: 'relative',
7
+ height: 120,
8
+ minHeight: 120,
9
+ '& .SCCreateGroup-avatar': {
10
+ top: 120,
11
+ display: 'block',
12
+ position: 'absolute',
13
+ transform: 'translate(-50%, -50%)',
14
+ left: '50%',
15
+ '& .MuiAvatar-root': {
16
+ height: theme.selfcommunity.group.avatar.sizeMedium,
17
+ width: theme.selfcommunity.group.avatar.sizeMedium,
18
+ borderRadius: '50%',
19
+ border: `#FFF solid ${theme.spacing(0.5)}`,
20
+ objectFit: 'cover',
21
+ '& img': {
22
+ height: theme.selfcommunity.group.avatar.sizeMedium,
23
+ width: theme.selfcommunity.group.avatar.sizeMedium
24
+ }
25
+ }
26
+ },
27
+ '& .SCChangeGroupPictureButton-root': {
28
+ top: 120,
29
+ left: '50%',
30
+ transform: 'translate(90%, -50%)',
31
+ position: 'relative',
32
+ display: 'flex'
33
+ },
34
+ '& .SCChangeGroupCoverButton-root': {
35
+ position: 'absolute',
36
+ right: theme.spacing(2),
37
+ bottom: theme.spacing(2)
38
+ }
39
+ },
40
+ '& .SCCreateGroup-header': {
41
+ marginTop: theme.spacing(4.5),
42
+ color: theme.palette.text.secondary
43
+ },
44
+ '& .SCCreateGroup-switch': {
45
+ '& .MuiButtonBase-root': {
46
+ '&.Mui-checked': {
47
+ color: theme.palette.secondary.main,
48
+ '& + .MuiSwitch-track': {
49
+ backgroundColor: theme.palette.secondary.main
50
+ }
51
+ }
52
+ }
53
+ },
54
+ '& .SCCreateGroup-switch-label': {
55
+ fontWeight: theme.typography.fontWeightMedium,
56
+ display: 'flex',
57
+ alignItems: 'center',
58
+ justifyContent: 'center',
59
+ gap: theme.spacing(0.5)
60
+ },
61
+ '& .SCCreateGroup-active': {
62
+ color: theme.palette.secondary.main
63
+ },
64
+ '& .SCCreateGroup-privacy-section': {
65
+ marginTop: theme.spacing(2),
66
+ '& .SCCreateGroup-privacy-section-info': {
67
+ marginBottom: theme.spacing(2)
68
+ }
69
+ },
70
+ '& .SCCreateGroup-visibility-section-info': {
71
+ marginTop: theme.spacing(1)
72
+ },
73
+ '& .MuiDivider-root': {
74
+ marginTop: theme.spacing(2),
75
+ border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
76
+ },
77
+ '& .SCCreateGroup-invite-section': {
78
+ marginTop: theme.spacing(2),
79
+ display: 'flex',
80
+ justifyContent: 'center',
81
+ alignItems: 'center'
82
+ }
83
+ })
84
+ }
85
+ };
86
+ export default Component;
@@ -0,0 +1,10 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiIcon-root': {
5
+ fontSize: string;
6
+ };
7
+ };
8
+ };
9
+ };
10
+ export default Component;
@@ -0,0 +1,10 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .MuiIcon-root': {
5
+ fontSize: '1rem !important'
6
+ }
7
+ })
8
+ }
9
+ };
10
+ export default Component;
@@ -0,0 +1,36 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ borderRadius: any;
6
+ };
7
+ borderRadius: number;
8
+ paddingBottom: number;
9
+ overflow: string;
10
+ '& .SCBaseItemButton-image': {
11
+ marginRight: any;
12
+ '& .MuiAvatar-root': {
13
+ width: any;
14
+ height: any;
15
+ '& img': {
16
+ borderRadius: number;
17
+ };
18
+ };
19
+ };
20
+ '& .SCBaseItemButton-primary': {
21
+ fontWeight: any;
22
+ };
23
+ '& .SCBaseItemButton-secondary': {
24
+ fontSize: string;
25
+ };
26
+ '& .SCGroup-actions': {
27
+ '& .MuiIcon-root': {
28
+ fontSize: string;
29
+ color: any;
30
+ };
31
+ };
32
+ };
33
+ skeletonRoot: ({ theme }: any) => {};
34
+ };
35
+ };
36
+ export default Component;
@@ -0,0 +1,36 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ borderRadius: 0,
5
+ paddingBottom: 0,
6
+ overflow: 'visible',
7
+ [theme.breakpoints.up('sm')]: {
8
+ borderRadius: theme.shape.borderRadiusSm
9
+ },
10
+ '& .SCBaseItemButton-image': {
11
+ marginRight: theme.spacing(1.25),
12
+ '& .MuiAvatar-root': {
13
+ width: theme.selfcommunity.group.avatar.sizeSmall,
14
+ height: theme.selfcommunity.group.avatar.sizeSmall,
15
+ '& img': {
16
+ borderRadius: 0
17
+ }
18
+ }
19
+ },
20
+ '& .SCBaseItemButton-primary': {
21
+ fontWeight: theme.typography.fontWeightBold
22
+ },
23
+ '& .SCBaseItemButton-secondary': {
24
+ fontSize: '0.857rem'
25
+ },
26
+ '& .SCGroup-actions': {
27
+ '& .MuiIcon-root': {
28
+ fontSize: '1.286rem',
29
+ color: theme.palette.primary.main
30
+ }
31
+ }
32
+ }),
33
+ skeletonRoot: ({ theme }) => ({})
34
+ }
35
+ };
36
+ export default Component;
@@ -0,0 +1,43 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ marginTop: number;
5
+ '& .SCGroupFeedTemplate-feed': {
6
+ marginTop: any;
7
+ };
8
+ '& .SCGroupFeedTemplate-tabs': {
9
+ '& .MuiTabs-flexContainer': {
10
+ borderBottom: string;
11
+ };
12
+ '& .MuiTabs-indicator': {
13
+ display: string;
14
+ justifyContent: string;
15
+ backgroundColor: string;
16
+ };
17
+ '& .MuiTabs-indicatorSpan': {
18
+ maxWidth: string;
19
+ width: string;
20
+ backgroundColor: any;
21
+ };
22
+ };
23
+ '& .SCGroupFeedTemplate-tab-content': {
24
+ '& .SCGroupFeedTemplate-members': {
25
+ display: string;
26
+ flexDirection: string;
27
+ gap: any;
28
+ };
29
+ };
30
+ };
31
+ tabRoot: ({ theme }: any) => {
32
+ textTransform: string;
33
+ fontWeight: any;
34
+ };
35
+ skeletonRoot: ({ theme }: any) => {
36
+ [x: number]: {
37
+ marginTop: number;
38
+ };
39
+ marginTop: number;
40
+ };
41
+ };
42
+ };
43
+ export default Component;
@@ -0,0 +1,43 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ marginTop: 0,
5
+ '& .SCGroupFeedTemplate-feed': {
6
+ marginTop: theme.spacing(2)
7
+ },
8
+ '& .SCGroupFeedTemplate-tabs': {
9
+ '& .MuiTabs-flexContainer': {
10
+ borderBottom: `2px solid ${theme.palette.grey[300]}`
11
+ },
12
+ '& .MuiTabs-indicator': {
13
+ display: 'flex',
14
+ justifyContent: 'center',
15
+ backgroundColor: 'transparent'
16
+ },
17
+ '& .MuiTabs-indicatorSpan': {
18
+ maxWidth: '40%',
19
+ width: '100%',
20
+ backgroundColor: theme.palette.secondary.main
21
+ }
22
+ },
23
+ '& .SCGroupFeedTemplate-tab-content': {
24
+ '& .SCGroupFeedTemplate-members': {
25
+ display: 'flex',
26
+ flexDirection: 'column',
27
+ gap: theme.spacing(2)
28
+ }
29
+ }
30
+ }),
31
+ tabRoot: ({ theme }) => ({
32
+ textTransform: 'none',
33
+ fontWeight: theme.typography.fontWeightBold
34
+ }),
35
+ skeletonRoot: ({ theme }) => ({
36
+ marginTop: 0,
37
+ [theme.breakpoints.up('md')]: {
38
+ marginTop: 30
39
+ }
40
+ })
41
+ }
42
+ };
43
+ export default Component;
@@ -0,0 +1,120 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupHeader-cover': {
5
+ [x: number]: {
6
+ borderRadius: any;
7
+ margin?: undefined;
8
+ } | {
9
+ margin: any;
10
+ borderRadius?: undefined;
11
+ };
12
+ position: string;
13
+ height: number;
14
+ minHeight: number;
15
+ borderRadius: number;
16
+ background: string;
17
+ boxShadow: string;
18
+ };
19
+ '& .SCGroupHeader-info': {
20
+ display: string;
21
+ flexDirection: string;
22
+ justifyContent: string;
23
+ alignItems: string;
24
+ '& .SCGroupHeader-members': {
25
+ marginBottom: string;
26
+ '& .SCGroupHeader-members-counter': {
27
+ fontSize: string;
28
+ fontWeight: any;
29
+ display: string;
30
+ };
31
+ };
32
+ '& .SCGroupHeader-visibility': {
33
+ display: string;
34
+ justifyContent: string;
35
+ alignItems: string;
36
+ gap: any;
37
+ '& .SCGroupHeader-visibility-item': {
38
+ fontSize: any;
39
+ fontWeight: any;
40
+ display: string;
41
+ justifyContent: string;
42
+ alignItems: string;
43
+ gap: any;
44
+ };
45
+ };
46
+ };
47
+ '& .SCGroupHeader-avatar': {
48
+ top: number;
49
+ display: string;
50
+ position: string;
51
+ transform: string;
52
+ left: string;
53
+ '& .MuiAvatar-root': {
54
+ height: any;
55
+ width: any;
56
+ borderRadius: string;
57
+ border: string;
58
+ objectFit: string;
59
+ };
60
+ };
61
+ '& .SCGroupHeader-change-picture': {
62
+ top: number;
63
+ left: string;
64
+ transform: string;
65
+ position: string;
66
+ display: string;
67
+ };
68
+ '& .SCGroupHeader-name': {
69
+ marginTop: number;
70
+ marginBottom: any;
71
+ fontWeight: any;
72
+ fontSize: string;
73
+ textAlign: string;
74
+ };
75
+ '& .SCGroupHeader-change-cover': {
76
+ position: string;
77
+ right: any;
78
+ bottom: any;
79
+ };
80
+ };
81
+ skeletonRoot: ({ theme }: any) => {
82
+ position: string;
83
+ '& .SCGroupHeader-cover': {
84
+ [x: number]: {
85
+ margin: any;
86
+ };
87
+ height: number;
88
+ };
89
+ '& .SCGroupHeader-avatar': {
90
+ top: number;
91
+ display: string;
92
+ position: string;
93
+ transform: string;
94
+ left: string;
95
+ "& .MuiSkeleton-root": {
96
+ border: string;
97
+ };
98
+ };
99
+ '& .SCGroupHeader-section': {
100
+ display: string;
101
+ justifyContent: string;
102
+ '& .SCGroupHeader-name': {
103
+ marginTop: number;
104
+ textAlign: string;
105
+ "& .MuiSkeleton-root": {
106
+ justifyContent: string;
107
+ };
108
+ };
109
+ '& .SCGroupHeader-actions': {
110
+ [x: number]: {
111
+ margin: any;
112
+ };
113
+ height: string;
114
+ marginTop: any;
115
+ };
116
+ };
117
+ };
118
+ };
119
+ };
120
+ export default Component;
@@ -0,0 +1,119 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCGroupHeader-cover': {
5
+ position: 'relative',
6
+ height: 150,
7
+ minHeight: 150,
8
+ borderRadius: 0,
9
+ background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
10
+ boxShadow: 'unset',
11
+ [theme.breakpoints.up('md')]: {
12
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
13
+ },
14
+ [theme.breakpoints.up('lg')]: {
15
+ margin: theme.spacing(0, -5, 0, -5)
16
+ }
17
+ },
18
+ '& .SCGroupHeader-info': {
19
+ display: 'flex',
20
+ flexDirection: 'column',
21
+ justifyContent: 'center',
22
+ alignItems: 'center',
23
+ '& .SCGroupHeader-members': {
24
+ marginBottom: `${theme.spacing(0)} !important`,
25
+ '& .SCGroupHeader-members-counter': {
26
+ fontSize: '1rem',
27
+ fontWeight: theme.typography.fontWeightRegular,
28
+ display: 'inline'
29
+ }
30
+ },
31
+ '& .SCGroupHeader-visibility': {
32
+ display: 'flex',
33
+ justifyContent: 'center',
34
+ alignItems: 'center',
35
+ gap: theme.spacing(1),
36
+ '& .SCGroupHeader-visibility-item': {
37
+ fontSize: theme.typography.fontSize,
38
+ fontWeight: theme.typography.fontWeightLight,
39
+ display: 'flex',
40
+ justifyContent: 'center',
41
+ alignItems: 'center',
42
+ gap: theme.spacing(0.5)
43
+ }
44
+ }
45
+ },
46
+ '& .SCGroupHeader-avatar': {
47
+ top: 150,
48
+ display: 'block',
49
+ position: 'absolute',
50
+ transform: 'translate(-50%, -50%)',
51
+ left: '50%',
52
+ '& .MuiAvatar-root': {
53
+ height: theme.selfcommunity.group.avatar.sizeLarge,
54
+ width: theme.selfcommunity.group.avatar.sizeLarge,
55
+ borderRadius: '50%',
56
+ border: `#FFF solid ${theme.spacing(0.5)}`,
57
+ objectFit: 'cover'
58
+ }
59
+ },
60
+ '& .SCGroupHeader-change-picture': {
61
+ top: 150,
62
+ left: '50%',
63
+ transform: 'translate(90%, -50%)',
64
+ position: 'relative',
65
+ display: 'flex'
66
+ },
67
+ '& .SCGroupHeader-name': {
68
+ marginTop: 0.5 * theme.selfcommunity.group.avatar.sizeLarge + 8,
69
+ marginBottom: theme.spacing(2),
70
+ fontWeight: theme.typography.fontWeightBold,
71
+ fontSize: '1.429rem',
72
+ textAlign: 'center'
73
+ },
74
+ '& .SCGroupHeader-change-cover': {
75
+ position: 'absolute',
76
+ right: theme.spacing(2),
77
+ bottom: theme.spacing(2)
78
+ }
79
+ }),
80
+ skeletonRoot: ({ theme }) => ({
81
+ position: 'relative',
82
+ '& .SCGroupHeader-cover': {
83
+ [theme.breakpoints.up('lg')]: {
84
+ margin: theme.spacing(0, -5, 0, -5)
85
+ },
86
+ height: 150
87
+ },
88
+ '& .SCGroupHeader-avatar': {
89
+ top: 150,
90
+ display: 'block',
91
+ position: 'absolute',
92
+ transform: 'translate(-50%, -50%)',
93
+ left: '50%',
94
+ [`& .MuiSkeleton-root`]: {
95
+ border: '#FFF solid 5px'
96
+ }
97
+ },
98
+ '& .SCGroupHeader-section': {
99
+ display: 'flex',
100
+ justifyContent: 'center',
101
+ '& .SCGroupHeader-name': {
102
+ marginTop: 50,
103
+ textAlign: 'start',
104
+ [`& .MuiSkeleton-root`]: {
105
+ justifyContent: 'center'
106
+ }
107
+ },
108
+ '& .SCGroupHeader-actions': {
109
+ [theme.breakpoints.up('md')]: {
110
+ margin: theme.spacing(1, 2, 2, 2)
111
+ },
112
+ height: 'fit-content',
113
+ marginTop: theme.spacing(1)
114
+ }
115
+ }
116
+ })
117
+ }
118
+ };
119
+ export default Component;
@@ -0,0 +1,32 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupInfoWidget-title': {
5
+ fontWeight: any;
6
+ marginBottom: any;
7
+ };
8
+ '& .SCGroupInfoWidget-description': {
9
+ marginBottom: any;
10
+ };
11
+ '& .SCGroupInfoWidget-privacy': {
12
+ marginBottom: any;
13
+ '& .SCGroupInfoWidget-privacy-title': {
14
+ color: any;
15
+ fontWeight: any;
16
+ display: string;
17
+ alignItems: string;
18
+ gap: any;
19
+ };
20
+ };
21
+ '& .SCGroupInfoWidget-visibility-title': {
22
+ color: any;
23
+ fontWeight: any;
24
+ display: string;
25
+ alignItems: string;
26
+ gap: any;
27
+ };
28
+ };
29
+ skeletonRoot: ({ theme }: any) => {};
30
+ };
31
+ };
32
+ export default Component;
@@ -0,0 +1,32 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCGroupInfoWidget-title': {
5
+ fontWeight: theme.typography.fontWeightBold,
6
+ marginBottom: theme.spacing(1)
7
+ },
8
+ '& .SCGroupInfoWidget-description': {
9
+ marginBottom: theme.spacing(1)
10
+ },
11
+ '& .SCGroupInfoWidget-privacy': {
12
+ marginBottom: theme.spacing(1),
13
+ '& .SCGroupInfoWidget-privacy-title': {
14
+ color: theme.palette.secondary.main,
15
+ fontWeight: theme.typography.fontWeightMedium,
16
+ display: 'flex',
17
+ alignItems: 'center',
18
+ gap: theme.spacing(0.5)
19
+ }
20
+ },
21
+ '& .SCGroupInfoWidget-visibility-title': {
22
+ color: theme.palette.secondary.main,
23
+ fontWeight: theme.typography.fontWeightMedium,
24
+ display: 'flex',
25
+ alignItems: 'center',
26
+ gap: theme.spacing(0.5)
27
+ }
28
+ }),
29
+ skeletonRoot: ({ theme }) => ({})
30
+ }
31
+ };
32
+ export default Component;
@@ -0,0 +1,48 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiIcon-root': {
5
+ fontSize: string;
6
+ };
7
+ };
8
+ dialogRoot: ({ theme }: any) => {
9
+ '& .SCBaseDialog-title-root span ': {
10
+ width: string;
11
+ display: string;
12
+ alignItems: string;
13
+ justifyContent: string;
14
+ '& .SCGroupInviteButton-dialog-title': {
15
+ fontWeight: any;
16
+ fontSize: any;
17
+ };
18
+ };
19
+ '& .SCGroupInviteButton-input': {
20
+ backgroundColor: string;
21
+ borderRadius: any;
22
+ height: any;
23
+ padding: any;
24
+ '& .SCGroupInviteButton-icon ': {
25
+ marginLeft: any;
26
+ };
27
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
28
+ border: string;
29
+ };
30
+ };
31
+ '& .SCGroupInviteButton-invited-box': {
32
+ marginTop: any;
33
+ marginBottom: any;
34
+ };
35
+ '& .SCGroupInviteButton-suggested': {
36
+ '& h4': {
37
+ marginBottom: any;
38
+ };
39
+ '& .SCUser-root': {
40
+ '&:hover': {
41
+ backgroundColor: string;
42
+ };
43
+ };
44
+ };
45
+ };
46
+ };
47
+ };
48
+ export default Component;
@@ -0,0 +1,49 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .MuiIcon-root': {
6
+ fontSize: '1rem !important'
7
+ }
8
+ }),
9
+ dialogRoot: ({ theme }) => ({
10
+ '& .SCBaseDialog-title-root span ': {
11
+ width: '100%',
12
+ display: 'flex',
13
+ alignItems: 'center',
14
+ justifyContent: 'space-between',
15
+ '& .SCGroupInviteButton-dialog-title': {
16
+ fontWeight: theme.typography.fontWeightBold,
17
+ fontSize: theme.typography.h4.fontSize
18
+ }
19
+ },
20
+ '& .SCGroupInviteButton-input': {
21
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
22
+ borderRadius: theme.shape.borderRadius,
23
+ height: theme.spacing(3.75),
24
+ padding: theme.spacing(0.5, 1),
25
+ '& .SCGroupInviteButton-icon ': {
26
+ marginLeft: theme.spacing(1)
27
+ },
28
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
29
+ border: '1px solid'
30
+ }
31
+ },
32
+ '& .SCGroupInviteButton-invited-box': {
33
+ marginTop: theme.spacing(2),
34
+ marginBottom: theme.spacing(3)
35
+ },
36
+ '& .SCGroupInviteButton-suggested': {
37
+ '& h4': {
38
+ marginBottom: theme.spacing(1)
39
+ },
40
+ '& .SCUser-root': {
41
+ '&:hover': {
42
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
43
+ }
44
+ }
45
+ }
46
+ })
47
+ }
48
+ };
49
+ export default Component;