@selfcommunity/react-theme-default 0.1.9-alpha.0 → 0.1.9-alpha.10

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 (103) 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/SCComposer.d.ts +1 -0
  6. package/lib/cjs/components/SCComposer.js +5 -4
  7. package/lib/cjs/components/SCCreateGroupButton.d.ts +13 -0
  8. package/lib/cjs/components/SCCreateGroupButton.js +15 -0
  9. package/lib/cjs/components/SCEditGroupButton.d.ts +13 -0
  10. package/lib/cjs/components/SCEditGroupButton.js +15 -0
  11. package/lib/cjs/components/SCGroup.d.ts +36 -0
  12. package/lib/cjs/components/SCGroup.js +38 -0
  13. package/lib/cjs/components/SCGroupAutocomplete.d.ts +6 -0
  14. package/lib/cjs/components/SCGroupAutocomplete.js +8 -0
  15. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +14 -0
  16. package/lib/cjs/components/SCGroupFeedTemplate.js +16 -0
  17. package/lib/cjs/components/SCGroupForm.d.ts +88 -0
  18. package/lib/cjs/components/SCGroupForm.js +91 -0
  19. package/lib/cjs/components/SCGroupHeader.d.ts +116 -0
  20. package/lib/cjs/components/SCGroupHeader.js +117 -0
  21. package/lib/cjs/components/SCGroupInfoWidget.d.ts +32 -0
  22. package/lib/cjs/components/SCGroupInfoWidget.js +34 -0
  23. package/lib/cjs/components/SCGroupInviteButton.d.ts +51 -0
  24. package/lib/cjs/components/SCGroupInviteButton.js +54 -0
  25. package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -0
  26. package/lib/cjs/components/SCGroupMembersButton.js +24 -0
  27. package/lib/cjs/components/SCGroupMembersWidget.d.ts +12 -0
  28. package/lib/cjs/components/SCGroupMembersWidget.js +14 -0
  29. package/lib/cjs/components/SCGroupRequestsWidget.d.ts +8 -0
  30. package/lib/cjs/components/SCGroupRequestsWidget.js +10 -0
  31. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  32. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  33. package/lib/cjs/components/SCGroupTemplate.d.ts +17 -0
  34. package/lib/cjs/components/SCGroupTemplate.js +19 -0
  35. package/lib/cjs/components/SCGroups.d.ts +41 -0
  36. package/lib/cjs/components/SCGroups.js +43 -0
  37. package/lib/cjs/components/SCNavigationToolbar.d.ts +2 -2
  38. package/lib/cjs/components/SCNavigationToolbar.js +2 -2
  39. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
  40. package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
  41. package/lib/cjs/fonts/community/icons.eot +0 -0
  42. package/lib/cjs/fonts/community/icons.svg +11 -3
  43. package/lib/cjs/fonts/community/icons.ttf +0 -0
  44. package/lib/cjs/fonts/community/icons.woff +0 -0
  45. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  46. package/lib/cjs/fonts/community-icons.css +19 -7
  47. package/lib/cjs/index.d.ts +501 -5
  48. package/lib/cjs/index.js +45 -2
  49. package/lib/esm/components/SCChangeGroupCoverButton.d.ts +9 -0
  50. package/lib/esm/components/SCChangeGroupCoverButton.js +9 -0
  51. package/lib/esm/components/SCChangeGroupPictureButton.d.ts +9 -0
  52. package/lib/esm/components/SCChangeGroupPictureButton.js +9 -0
  53. package/lib/esm/components/SCComposer.d.ts +1 -0
  54. package/lib/esm/components/SCComposer.js +5 -4
  55. package/lib/esm/components/SCCreateGroupButton.d.ts +13 -0
  56. package/lib/esm/components/SCCreateGroupButton.js +13 -0
  57. package/lib/esm/components/SCEditGroupButton.d.ts +13 -0
  58. package/lib/esm/components/SCEditGroupButton.js +13 -0
  59. package/lib/esm/components/SCGroup.d.ts +36 -0
  60. package/lib/esm/components/SCGroup.js +36 -0
  61. package/lib/esm/components/SCGroupAutocomplete.d.ts +6 -0
  62. package/lib/esm/components/SCGroupAutocomplete.js +6 -0
  63. package/lib/esm/components/SCGroupFeedTemplate.d.ts +14 -0
  64. package/lib/esm/components/SCGroupFeedTemplate.js +14 -0
  65. package/lib/esm/components/SCGroupForm.d.ts +88 -0
  66. package/lib/esm/components/SCGroupForm.js +89 -0
  67. package/lib/esm/components/SCGroupHeader.d.ts +116 -0
  68. package/lib/esm/components/SCGroupHeader.js +115 -0
  69. package/lib/esm/components/SCGroupInfoWidget.d.ts +32 -0
  70. package/lib/esm/components/SCGroupInfoWidget.js +32 -0
  71. package/lib/esm/components/SCGroupInviteButton.d.ts +51 -0
  72. package/lib/esm/components/SCGroupInviteButton.js +52 -0
  73. package/lib/esm/components/SCGroupMembersButton.d.ts +22 -0
  74. package/lib/esm/components/SCGroupMembersButton.js +22 -0
  75. package/lib/esm/components/SCGroupMembersWidget.d.ts +12 -0
  76. package/lib/esm/components/SCGroupMembersWidget.js +12 -0
  77. package/lib/esm/components/SCGroupRequestsWidget.d.ts +8 -0
  78. package/lib/esm/components/SCGroupRequestsWidget.js +8 -0
  79. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  80. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  81. package/lib/esm/components/SCGroupTemplate.d.ts +17 -0
  82. package/lib/esm/components/SCGroupTemplate.js +17 -0
  83. package/lib/esm/components/SCGroups.d.ts +41 -0
  84. package/lib/esm/components/SCGroups.js +41 -0
  85. package/lib/esm/components/SCNavigationToolbar.d.ts +2 -2
  86. package/lib/esm/components/SCNavigationToolbar.js +2 -2
  87. package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
  88. package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
  89. package/lib/esm/fonts/community/icons.eot +0 -0
  90. package/lib/esm/fonts/community/icons.svg +11 -3
  91. package/lib/esm/fonts/community/icons.ttf +0 -0
  92. package/lib/esm/fonts/community/icons.woff +0 -0
  93. package/lib/esm/fonts/community/icons.woff2 +0 -0
  94. package/lib/esm/fonts/community-icons.css +19 -7
  95. package/lib/esm/index.d.ts +501 -5
  96. package/lib/esm/index.js +45 -2
  97. package/lib/umd/community/icons.eot +0 -0
  98. package/lib/umd/community/icons.svg +11 -3
  99. package/lib/umd/community/icons.ttf +0 -0
  100. package/lib/umd/community/icons.woff +0 -0
  101. package/lib/umd/community/icons.woff2 +0 -0
  102. package/lib/umd/react-theme-default.js +2 -2
  103. package/package.json +4 -4
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCGroupHeader-cover': {
7
+ position: 'relative',
8
+ height: 150,
9
+ minHeight: 150,
10
+ borderRadius: 0,
11
+ background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
12
+ boxShadow: 'unset',
13
+ [theme.breakpoints.up('md')]: {
14
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
15
+ },
16
+ [theme.breakpoints.up('lg')]: {
17
+ margin: theme.spacing(0, -5, 0, -5)
18
+ }
19
+ },
20
+ '& .SCGroupHeader-info': {
21
+ marginTop: 50,
22
+ display: 'flex',
23
+ flexDirection: 'column',
24
+ justifyContent: 'center',
25
+ alignItems: 'center',
26
+ '& .SCGroupHeader-members': {
27
+ marginBottom: `${theme.spacing(0)} !important`,
28
+ '& .SCGroupHeader-members-counter': {
29
+ fontSize: '1rem',
30
+ fontWeight: theme.typography.fontWeightRegular,
31
+ display: 'inline'
32
+ }
33
+ },
34
+ '& .SCGroupHeader-visibility': {
35
+ display: 'flex',
36
+ justifyContent: 'center',
37
+ alignItems: 'center',
38
+ gap: theme.spacing(1),
39
+ '& .SCGroupHeader-visibility-item': {
40
+ fontSize: theme.typography.fontSize,
41
+ fontWeight: theme.typography.fontWeightLight,
42
+ display: 'flex',
43
+ justifyContent: 'center',
44
+ alignItems: 'center',
45
+ gap: theme.spacing(0.5)
46
+ }
47
+ },
48
+ '& .SCEditGroupButton-root': {
49
+ marginLeft: 'auto',
50
+ marginTop: theme.spacing(2)
51
+ },
52
+ '& .SCGroupSubscribeButton-root': {
53
+ marginTop: theme.spacing(1)
54
+ }
55
+ },
56
+ '& .SCGroupHeader-avatar': {
57
+ top: 150,
58
+ display: 'block',
59
+ position: 'absolute',
60
+ transform: 'translate(-50%, -50%)',
61
+ left: '50%',
62
+ '& .MuiAvatar-root': {
63
+ height: theme.selfcommunity.group.avatar.sizeLarge,
64
+ width: theme.selfcommunity.group.avatar.sizeLarge,
65
+ borderRadius: '50%',
66
+ border: `#FFF solid ${theme.spacing(0.5)}`,
67
+ objectFit: 'cover'
68
+ }
69
+ },
70
+ '& .SCGroupHeader-change-picture': {
71
+ top: 150,
72
+ left: '50%',
73
+ transform: 'translate(90%, -50%)',
74
+ position: 'relative',
75
+ display: 'flex'
76
+ },
77
+ '& .SCGroupHeader-name': {
78
+ marginBottom: theme.spacing(1),
79
+ fontWeight: theme.typography.fontWeightBold,
80
+ fontSize: '1.429rem',
81
+ textAlign: 'center'
82
+ },
83
+ '& .SCGroupHeader-change-cover': {
84
+ position: 'absolute',
85
+ right: theme.spacing(2),
86
+ bottom: theme.spacing(2)
87
+ }
88
+ }),
89
+ skeletonRoot: ({ theme }) => ({
90
+ position: 'relative',
91
+ '& .SCGroupHeader-cover': {
92
+ [theme.breakpoints.up('lg')]: {
93
+ margin: theme.spacing(0, -5, 0, -5)
94
+ },
95
+ height: 150
96
+ },
97
+ '& .SCGroupHeader-avatar': {
98
+ top: 150,
99
+ display: 'block',
100
+ position: 'absolute',
101
+ transform: 'translate(-50%, -50%)',
102
+ left: '50%',
103
+ [`& .MuiSkeleton-root`]: {
104
+ border: '#FFF solid 5px'
105
+ }
106
+ },
107
+ '& .SCGroupHeader-info': {
108
+ display: 'flex',
109
+ justifyContent: 'center',
110
+ flexDirection: 'column',
111
+ alignItems: 'center',
112
+ marginTop: 60
113
+ }
114
+ })
115
+ }
116
+ };
117
+ exports.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,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCGroupInfoWidget-title': {
7
+ fontWeight: theme.typography.fontWeightBold,
8
+ marginBottom: theme.spacing(1)
9
+ },
10
+ '& .SCGroupInfoWidget-description': {
11
+ marginBottom: theme.spacing(1)
12
+ },
13
+ '& .SCGroupInfoWidget-privacy': {
14
+ marginBottom: theme.spacing(1),
15
+ '& .SCGroupInfoWidget-privacy-title': {
16
+ color: theme.palette.secondary.main,
17
+ fontWeight: theme.typography.fontWeightMedium,
18
+ display: 'flex',
19
+ alignItems: 'center',
20
+ gap: theme.spacing(0.5)
21
+ }
22
+ },
23
+ '& .SCGroupInfoWidget-visibility-title': {
24
+ color: theme.palette.secondary.main,
25
+ fontWeight: theme.typography.fontWeightMedium,
26
+ display: 'flex',
27
+ alignItems: 'center',
28
+ gap: theme.spacing(0.5)
29
+ }
30
+ }),
31
+ skeletonRoot: ({ theme }) => ({})
32
+ }
33
+ };
34
+ exports.default = Component;
@@ -0,0 +1,51 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiButton-startIcon': {
5
+ marginRight: any;
6
+ '& .MuiIcon-root': {
7
+ fontSize: string;
8
+ };
9
+ };
10
+ };
11
+ dialogRoot: ({ theme }: any) => {
12
+ '& .SCBaseDialog-title-root span ': {
13
+ width: string;
14
+ display: string;
15
+ alignItems: string;
16
+ justifyContent: string;
17
+ '& .SCGroupInviteButton-dialog-title': {
18
+ fontWeight: any;
19
+ fontSize: any;
20
+ };
21
+ };
22
+ '& .SCGroupInviteButton-input': {
23
+ backgroundColor: string;
24
+ borderRadius: any;
25
+ height: any;
26
+ padding: any;
27
+ '& .SCGroupInviteButton-icon ': {
28
+ marginLeft: any;
29
+ };
30
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
31
+ border: string;
32
+ };
33
+ };
34
+ '& .SCGroupInviteButton-invited-box': {
35
+ marginTop: any;
36
+ marginBottom: any;
37
+ };
38
+ '& .SCGroupInviteButton-suggested': {
39
+ '& h4': {
40
+ marginBottom: any;
41
+ };
42
+ '& .SCUser-root': {
43
+ '&:hover': {
44
+ backgroundColor: string;
45
+ };
46
+ };
47
+ };
48
+ };
49
+ };
50
+ };
51
+ export default Component;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const system_1 = require("@mui/system");
4
+ const Component = {
5
+ styleOverrides: {
6
+ root: ({ theme }) => ({
7
+ '& .MuiButton-startIcon': {
8
+ marginRight: theme.spacing(0.5),
9
+ '& .MuiIcon-root': {
10
+ fontSize: '0.75rem !important'
11
+ }
12
+ }
13
+ }),
14
+ dialogRoot: ({ theme }) => ({
15
+ '& .SCBaseDialog-title-root span ': {
16
+ width: '100%',
17
+ display: 'flex',
18
+ alignItems: 'center',
19
+ justifyContent: 'space-between',
20
+ '& .SCGroupInviteButton-dialog-title': {
21
+ fontWeight: theme.typography.fontWeightBold,
22
+ fontSize: theme.typography.h4.fontSize
23
+ }
24
+ },
25
+ '& .SCGroupInviteButton-input': {
26
+ backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
27
+ borderRadius: theme.shape.borderRadius,
28
+ height: theme.spacing(3.75),
29
+ padding: theme.spacing(0.5, 1),
30
+ '& .SCGroupInviteButton-icon ': {
31
+ marginLeft: theme.spacing(1)
32
+ },
33
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
34
+ border: '1px solid'
35
+ }
36
+ },
37
+ '& .SCGroupInviteButton-invited-box': {
38
+ marginTop: theme.spacing(2),
39
+ marginBottom: theme.spacing(3)
40
+ },
41
+ '& .SCGroupInviteButton-suggested': {
42
+ '& h4': {
43
+ marginBottom: theme.spacing(1)
44
+ },
45
+ '& .SCUser-root': {
46
+ '&:hover': {
47
+ backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.hoverOpacity)
48
+ }
49
+ }
50
+ }
51
+ })
52
+ }
53
+ };
54
+ exports.default = Component;
@@ -0,0 +1,22 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ padding: any;
5
+ '& .MuiAvatarGroup-root .MuiAvatar-root': {
6
+ width: any;
7
+ height: any;
8
+ border: string;
9
+ fontSize: string;
10
+ '&.MuiAvatar-colorDefault': {
11
+ marginLeft: number;
12
+ backgroundColor: string;
13
+ color: any;
14
+ border: string;
15
+ borderRadius: number;
16
+ padding: number;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default Component;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ padding: theme.spacing(),
7
+ '& .MuiAvatarGroup-root .MuiAvatar-root': {
8
+ width: theme.selfcommunity.user.avatar.sizeSmall,
9
+ height: theme.selfcommunity.user.avatar.sizeSmall,
10
+ border: '1px solid #fff',
11
+ fontSize: '0.76rem',
12
+ '&.MuiAvatar-colorDefault': {
13
+ marginLeft: 0,
14
+ backgroundColor: 'transparent',
15
+ color: theme.palette.primary.main,
16
+ border: '0 none',
17
+ borderRadius: 0,
18
+ padding: 1
19
+ }
20
+ }
21
+ })
22
+ }
23
+ };
24
+ exports.default = Component;
@@ -0,0 +1,12 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupMembersWidget-actions': {
5
+ margin: any;
6
+ };
7
+ };
8
+ skeletonRoot: ({ theme }: any) => {};
9
+ dialogRoot: ({ theme }: any) => {};
10
+ };
11
+ };
12
+ export default Component;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCGroupMembersWidget-actions': {
7
+ margin: theme.spacing(0, 0, 2, 1)
8
+ }
9
+ }),
10
+ skeletonRoot: ({ theme }) => ({}),
11
+ dialogRoot: ({ theme }) => ({})
12
+ }
13
+ };
14
+ exports.default = Component;
@@ -0,0 +1,8 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ skeletonRoot: ({ theme }: any) => {};
5
+ dialogRoot: ({ theme }: any) => {};
6
+ };
7
+ };
8
+ export default Component;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ skeletonRoot: ({ theme }) => ({}),
7
+ dialogRoot: ({ theme }) => ({})
8
+ }
9
+ };
10
+ exports.default = Component;
@@ -0,0 +1,19 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ menuRoot: ({ theme }: any) => {
5
+ '& .SCGroupSettingsIconButton-paper': {
6
+ maxWidth: number;
7
+ padding: any;
8
+ };
9
+ };
10
+ drawerRoot: ({ theme }: any) => {
11
+ '& .MuiList-root': {
12
+ '& a': {
13
+ color: string;
14
+ };
15
+ };
16
+ };
17
+ };
18
+ };
19
+ export default Component;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ menuRoot: ({ theme }) => ({
7
+ '& .SCGroupSettingsIconButton-paper': {
8
+ maxWidth: 400,
9
+ padding: theme.spacing(1)
10
+ }
11
+ }),
12
+ drawerRoot: ({ theme }) => ({
13
+ '& .MuiList-root': {
14
+ '& a': {
15
+ color: 'inherit'
16
+ }
17
+ }
18
+ })
19
+ }
20
+ };
21
+ exports.default = Component;
@@ -0,0 +1,17 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ marginTop: number;
5
+ '& .SCCategoryTemplate-feed': {
6
+ marginTop: any;
7
+ };
8
+ };
9
+ skeletonRoot: ({ theme }: any) => {
10
+ [x: number]: {
11
+ marginTop: number;
12
+ };
13
+ marginTop: number;
14
+ };
15
+ };
16
+ };
17
+ export default Component;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ marginTop: 0,
7
+ '& .SCCategoryTemplate-feed': {
8
+ marginTop: theme.spacing(2)
9
+ }
10
+ }),
11
+ skeletonRoot: ({ theme }) => ({
12
+ marginTop: 0,
13
+ [theme.breakpoints.up('md')]: {
14
+ marginTop: 30
15
+ }
16
+ })
17
+ }
18
+ };
19
+ exports.default = Component;
@@ -0,0 +1,41 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroups-groups': {
5
+ marginTop: any;
6
+ '& .SCGroups-item': {
7
+ padding: any;
8
+ width: string;
9
+ '& > div': {
10
+ cursor: string;
11
+ padding: any;
12
+ };
13
+ };
14
+ };
15
+ '& .SCGroups-no-results': {
16
+ display: string;
17
+ flexDirection: string;
18
+ justifyContent: string;
19
+ alignItems: string;
20
+ '& h4': {
21
+ fontWeight: any;
22
+ fontSize: any;
23
+ };
24
+ '& .MuiTypography-body1': {
25
+ fontWeight: any;
26
+ fontSize: any;
27
+ };
28
+ };
29
+ };
30
+ skeletonRoot: ({ theme }: any) => {
31
+ '& .SCGroups-groups': {
32
+ marginTop: any;
33
+ '& .SCGroup-skeleton-root': {
34
+ padding: any;
35
+ width: string;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ };
41
+ export default Component;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCGroups-groups': {
7
+ marginTop: theme.spacing(3),
8
+ '& .SCGroups-item': {
9
+ padding: theme.spacing(2),
10
+ width: 'auto',
11
+ '& > div': {
12
+ cursor: 'default',
13
+ padding: theme.spacing(1)
14
+ }
15
+ }
16
+ },
17
+ '& .SCGroups-no-results': {
18
+ display: 'flex',
19
+ flexDirection: 'column',
20
+ justifyContent: 'center',
21
+ alignItems: 'center',
22
+ '& h4': {
23
+ fontWeight: theme.typography.fontWeightBold,
24
+ fontSize: theme.typography.h4.fontSize
25
+ },
26
+ '& .MuiTypography-body1': {
27
+ fontWeight: theme.typography.fontWeightMedium,
28
+ fontSize: theme.typography.body1.fontSize
29
+ }
30
+ }
31
+ }),
32
+ skeletonRoot: ({ theme }) => ({
33
+ '& .SCGroups-groups': {
34
+ marginTop: theme.spacing(3),
35
+ '& .SCGroup-skeleton-root': {
36
+ padding: theme.spacing(1.5),
37
+ width: 'auto'
38
+ }
39
+ }
40
+ })
41
+ }
42
+ };
43
+ exports.default = Component;
@@ -17,14 +17,14 @@ declare const Component: {
17
17
  marginRight: any;
18
18
  '& img': {
19
19
  verticalAlign: string;
20
- maxHeight: any;
20
+ maxHeight: number;
21
21
  };
22
22
  };
23
23
  '& .SCNavigationToolbar-navigation': {
24
24
  flexGrow: number;
25
25
  textAlign: string;
26
26
  alignSelf: string;
27
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
27
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
28
28
  paddingTop: number;
29
29
  paddingLeft: any;
30
30
  paddingRight: any;
@@ -8,14 +8,14 @@ const Component = {
8
8
  marginRight: theme.spacing(2),
9
9
  '& img': {
10
10
  verticalAlign: 'middle',
11
- maxHeight: theme.mixins.toolbar.minHeight
11
+ maxHeight: theme.mixins.toolbar.minHeight - 10
12
12
  }
13
13
  },
14
14
  '& .SCNavigationToolbar-navigation': {
15
15
  flexGrow: 1,
16
16
  textAlign: 'center',
17
17
  alignSelf: 'end',
18
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
18
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
19
19
  paddingTop: 12,
20
20
  paddingLeft: theme.spacing(1),
21
21
  paddingRight: theme.spacing(1),
@@ -2,9 +2,6 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  backgroundColor: string;
5
- '& .MuiIcon-root': {
6
- fontSize: string;
7
- };
8
5
  '& .SCPrivateMessageEditor-message-input': {
9
6
  width: string;
10
7
  };
@@ -5,9 +5,6 @@ const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => ({
7
7
  backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity),
8
- '& .MuiIcon-root': {
9
- fontSize: '1.57rem'
10
- },
11
8
  '& .SCPrivateMessageEditor-message-input': {
12
9
  width: '100%'
13
10
  },
Binary file