@selfcommunity/react-theme-default 0.1.9-alpha.4 → 0.1.9-alpha.40
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.
- package/lib/cjs/components/SCCategoryHeader.js +2 -2
- package/lib/cjs/components/SCFeedObject.d.ts +32 -0
- package/lib/cjs/components/SCFeedObject.js +33 -1
- package/lib/cjs/components/SCGroupHeader.d.ts +8 -15
- package/lib/cjs/components/SCGroupHeader.js +10 -17
- package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
- package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
- package/lib/cjs/components/SCGroupTemplate.d.ts +3 -0
- package/lib/cjs/components/SCGroupTemplate.js +3 -0
- package/lib/cjs/components/SCGroups.d.ts +14 -0
- package/lib/cjs/components/SCGroups.js +14 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCNavigationToolbarMobile.js +1 -1
- package/lib/cjs/components/SCNotification.d.ts +1 -0
- package/lib/cjs/components/SCNotification.js +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +11 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +13 -2
- package/lib/cjs/components/SCUserProfileHeader.js +2 -2
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +5 -1
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +13 -7
- package/lib/cjs/index.d.ts +88 -16
- package/lib/cjs/index.js +4 -2
- package/lib/esm/components/SCCategoryHeader.js +2 -2
- package/lib/esm/components/SCFeedObject.d.ts +32 -0
- package/lib/esm/components/SCFeedObject.js +33 -1
- package/lib/esm/components/SCGroupHeader.d.ts +8 -15
- package/lib/esm/components/SCGroupHeader.js +10 -17
- package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
- package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
- package/lib/esm/components/SCGroupTemplate.d.ts +3 -0
- package/lib/esm/components/SCGroupTemplate.js +3 -0
- package/lib/esm/components/SCGroups.d.ts +14 -0
- package/lib/esm/components/SCGroups.js +14 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
- package/lib/esm/components/SCNotification.d.ts +1 -0
- package/lib/esm/components/SCNotification.js +1 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts +11 -0
- package/lib/esm/components/SCPrivateMessageThread.js +13 -2
- package/lib/esm/components/SCUserProfileHeader.js +2 -2
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +5 -1
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +13 -7
- package/lib/esm/index.d.ts +88 -16
- package/lib/esm/index.js +4 -2
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +5 -1
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1781,6 +1781,25 @@ declare const theme: {
|
|
|
1781
1781
|
fontWeight: any;
|
|
1782
1782
|
};
|
|
1783
1783
|
};
|
|
1784
|
+
'& .SCFeedObject-group': {
|
|
1785
|
+
marginRight: string;
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
'& .SCFeedObject-group': {
|
|
1789
|
+
justifyContent: string;
|
|
1790
|
+
padding: any;
|
|
1791
|
+
'& a': {
|
|
1792
|
+
padding: any;
|
|
1793
|
+
marginBottom: any;
|
|
1794
|
+
color: any;
|
|
1795
|
+
'&:hover': {
|
|
1796
|
+
backgroundColor: any;
|
|
1797
|
+
};
|
|
1798
|
+
'& span': {
|
|
1799
|
+
color: any;
|
|
1800
|
+
textTransform: string;
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1784
1803
|
};
|
|
1785
1804
|
'& .SCFeedObject-content': {
|
|
1786
1805
|
padding: any;
|
|
@@ -1842,6 +1861,19 @@ declare const theme: {
|
|
|
1842
1861
|
'& .SCFeedObject-category': {
|
|
1843
1862
|
borderBottom: string;
|
|
1844
1863
|
margin: any;
|
|
1864
|
+
'& .SCFeedObject-group': {
|
|
1865
|
+
borderBottom: string;
|
|
1866
|
+
margin: any;
|
|
1867
|
+
'& .MuiChip-icon': {
|
|
1868
|
+
marginLeft: any;
|
|
1869
|
+
marginRight: any;
|
|
1870
|
+
fontWeight: any;
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
'& .SCFeedObject-group': {
|
|
1875
|
+
borderBottom: string;
|
|
1876
|
+
margin: any;
|
|
1845
1877
|
};
|
|
1846
1878
|
'& .SCFeedObject-header': {
|
|
1847
1879
|
'& .MuiCardHeader-avatar': {
|
|
@@ -3248,7 +3280,7 @@ declare const theme: {
|
|
|
3248
3280
|
marginRight: any;
|
|
3249
3281
|
'& img': {
|
|
3250
3282
|
verticalAlign: string;
|
|
3251
|
-
maxHeight:
|
|
3283
|
+
maxHeight: number;
|
|
3252
3284
|
};
|
|
3253
3285
|
};
|
|
3254
3286
|
'& .SCNavigationToolbar-navigation': {
|
|
@@ -3642,6 +3674,7 @@ declare const theme: {
|
|
|
3642
3674
|
maxWidth: string;
|
|
3643
3675
|
};
|
|
3644
3676
|
};
|
|
3677
|
+
groupRoot: ({ theme }: any) => {};
|
|
3645
3678
|
undeletedForRoot: ({ theme }: any) => {
|
|
3646
3679
|
'& .SCNotification-undeleted-icon': {
|
|
3647
3680
|
backgroundColor: "#f44336";
|
|
@@ -4665,6 +4698,17 @@ declare const theme: {
|
|
|
4665
4698
|
};
|
|
4666
4699
|
};
|
|
4667
4700
|
};
|
|
4701
|
+
'& .SCPrivateMessageThread-item': {
|
|
4702
|
+
display: string;
|
|
4703
|
+
marginBottom: any;
|
|
4704
|
+
'& .SCPrivateMessageThread-avatar': {
|
|
4705
|
+
marginRight: any;
|
|
4706
|
+
'& img': {
|
|
4707
|
+
height: any;
|
|
4708
|
+
width: any;
|
|
4709
|
+
};
|
|
4710
|
+
};
|
|
4711
|
+
};
|
|
4668
4712
|
};
|
|
4669
4713
|
'& .SCPrivateMessageThread-empty-message': {
|
|
4670
4714
|
height: string;
|
|
@@ -5554,6 +5598,7 @@ declare const theme: {
|
|
|
5554
5598
|
boxShadow: string;
|
|
5555
5599
|
};
|
|
5556
5600
|
'& .SCGroupHeader-info': {
|
|
5601
|
+
marginTop: any;
|
|
5557
5602
|
display: string;
|
|
5558
5603
|
flexDirection: string;
|
|
5559
5604
|
justifyContent: string;
|
|
@@ -5584,6 +5629,9 @@ declare const theme: {
|
|
|
5584
5629
|
marginLeft: string;
|
|
5585
5630
|
marginTop: any;
|
|
5586
5631
|
};
|
|
5632
|
+
'& .SCGroupSubscribeButton-root': {
|
|
5633
|
+
marginTop: any;
|
|
5634
|
+
};
|
|
5587
5635
|
};
|
|
5588
5636
|
'& .SCGroupHeader-avatar': {
|
|
5589
5637
|
top: number;
|
|
@@ -5636,23 +5684,12 @@ declare const theme: {
|
|
|
5636
5684
|
border: string;
|
|
5637
5685
|
};
|
|
5638
5686
|
};
|
|
5639
|
-
'& .SCGroupHeader-
|
|
5687
|
+
'& .SCGroupHeader-info': {
|
|
5640
5688
|
display: string;
|
|
5641
5689
|
justifyContent: string;
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
"& .MuiSkeleton-root": {
|
|
5646
|
-
justifyContent: string;
|
|
5647
|
-
};
|
|
5648
|
-
};
|
|
5649
|
-
'& .SCGroupHeader-actions': {
|
|
5650
|
-
[x: number]: {
|
|
5651
|
-
margin: any;
|
|
5652
|
-
};
|
|
5653
|
-
height: string;
|
|
5654
|
-
marginTop: any;
|
|
5655
|
-
};
|
|
5690
|
+
flexDirection: string;
|
|
5691
|
+
alignItems: string;
|
|
5692
|
+
marginTop: number;
|
|
5656
5693
|
};
|
|
5657
5694
|
};
|
|
5658
5695
|
};
|
|
@@ -5916,6 +5953,9 @@ declare const theme: {
|
|
|
5916
5953
|
'& .SCCategoryTemplate-feed': {
|
|
5917
5954
|
marginTop: any;
|
|
5918
5955
|
};
|
|
5956
|
+
'& .SCGroupInfoWidget-root': {
|
|
5957
|
+
marginTop: any;
|
|
5958
|
+
};
|
|
5919
5959
|
};
|
|
5920
5960
|
skeletonRoot: ({ theme }: any) => {
|
|
5921
5961
|
[x: number]: {
|
|
@@ -5970,6 +6010,20 @@ declare const theme: {
|
|
|
5970
6010
|
};
|
|
5971
6011
|
};
|
|
5972
6012
|
};
|
|
6013
|
+
'& .SCGroups-no-results': {
|
|
6014
|
+
display: string;
|
|
6015
|
+
flexDirection: string;
|
|
6016
|
+
justifyContent: string;
|
|
6017
|
+
alignItems: string;
|
|
6018
|
+
'& h4': {
|
|
6019
|
+
fontWeight: any;
|
|
6020
|
+
fontSize: any;
|
|
6021
|
+
};
|
|
6022
|
+
'& .MuiTypography-body1': {
|
|
6023
|
+
fontWeight: any;
|
|
6024
|
+
fontSize: any;
|
|
6025
|
+
};
|
|
6026
|
+
};
|
|
5973
6027
|
};
|
|
5974
6028
|
skeletonRoot: ({ theme }: any) => {
|
|
5975
6029
|
'& .SCGroups-groups': {
|
|
@@ -5999,6 +6053,24 @@ declare const theme: {
|
|
|
5999
6053
|
root: ({ theme }: any) => {};
|
|
6000
6054
|
};
|
|
6001
6055
|
};
|
|
6056
|
+
SCGroupSettingsIconButton: {
|
|
6057
|
+
styleOverrides: {
|
|
6058
|
+
root: ({ theme }: any) => {};
|
|
6059
|
+
menuRoot: ({ theme }: any) => {
|
|
6060
|
+
'& .SCGroupSettingsIconButton-paper': {
|
|
6061
|
+
maxWidth: number;
|
|
6062
|
+
padding: any;
|
|
6063
|
+
};
|
|
6064
|
+
};
|
|
6065
|
+
drawerRoot: ({ theme }: any) => {
|
|
6066
|
+
'& .MuiList-root': {
|
|
6067
|
+
'& a': {
|
|
6068
|
+
color: string;
|
|
6069
|
+
};
|
|
6070
|
+
};
|
|
6071
|
+
};
|
|
6072
|
+
};
|
|
6073
|
+
};
|
|
6002
6074
|
};
|
|
6003
6075
|
selfcommunity: {
|
|
6004
6076
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -135,6 +135,7 @@ const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SC
|
|
|
135
135
|
const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
|
|
136
136
|
const SCEditGroupButton_1 = tslib_1.__importDefault(require("./components/SCEditGroupButton"));
|
|
137
137
|
const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
|
|
138
|
+
const SCGroupSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCGroupSettingsIconButton"));
|
|
138
139
|
/**
|
|
139
140
|
* Style fragments - Imports - End
|
|
140
141
|
*/
|
|
@@ -330,7 +331,8 @@ const theme = {
|
|
|
330
331
|
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
|
|
331
332
|
SCGroups: SCGroups_1.default,
|
|
332
333
|
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
333
|
-
SCGroupAutocomplete: SCGroupAutocomplete_1.default
|
|
334
|
+
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
335
|
+
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default
|
|
334
336
|
},
|
|
335
337
|
selfcommunity: {
|
|
336
338
|
user: {
|
|
@@ -353,7 +355,7 @@ const theme = {
|
|
|
353
355
|
sizeSmall: 40,
|
|
354
356
|
sizeMedium: 60,
|
|
355
357
|
sizeLarge: 90,
|
|
356
|
-
sizeXLarge:
|
|
358
|
+
sizeXLarge: 205
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
361
|
}
|
|
@@ -11,10 +11,10 @@ const Component = {
|
|
|
11
11
|
flexDirection: 'column',
|
|
12
12
|
justifyContent: 'center',
|
|
13
13
|
alignItems: 'center',
|
|
14
|
-
minHeight:
|
|
14
|
+
minHeight: 230,
|
|
15
15
|
color: '#FFF',
|
|
16
16
|
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
17
|
-
height:
|
|
17
|
+
height: 230,
|
|
18
18
|
borderRadius: 0
|
|
19
19
|
},
|
|
20
20
|
'& .SCCategoryHeader-info': {
|
|
@@ -59,6 +59,25 @@ declare const Component: {
|
|
|
59
59
|
fontWeight: any;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
+
'& .SCFeedObject-group': {
|
|
63
|
+
marginRight: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
'& .SCFeedObject-group': {
|
|
67
|
+
justifyContent: string;
|
|
68
|
+
padding: any;
|
|
69
|
+
'& a': {
|
|
70
|
+
padding: any;
|
|
71
|
+
marginBottom: any;
|
|
72
|
+
color: any;
|
|
73
|
+
'&:hover': {
|
|
74
|
+
backgroundColor: any;
|
|
75
|
+
};
|
|
76
|
+
'& span': {
|
|
77
|
+
color: any;
|
|
78
|
+
textTransform: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
62
81
|
};
|
|
63
82
|
'& .SCFeedObject-content': {
|
|
64
83
|
padding: any;
|
|
@@ -120,6 +139,19 @@ declare const Component: {
|
|
|
120
139
|
'& .SCFeedObject-category': {
|
|
121
140
|
borderBottom: string;
|
|
122
141
|
margin: any;
|
|
142
|
+
'& .SCFeedObject-group': {
|
|
143
|
+
borderBottom: string;
|
|
144
|
+
margin: any;
|
|
145
|
+
'& .MuiChip-icon': {
|
|
146
|
+
marginLeft: any;
|
|
147
|
+
marginRight: any;
|
|
148
|
+
fontWeight: any;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
'& .SCFeedObject-group': {
|
|
153
|
+
borderBottom: string;
|
|
154
|
+
margin: any;
|
|
123
155
|
};
|
|
124
156
|
'& .SCFeedObject-header': {
|
|
125
157
|
'& .MuiCardHeader-avatar': {
|
|
@@ -59,6 +59,25 @@ const Component = {
|
|
|
59
59
|
textTransform: 'initial',
|
|
60
60
|
fontWeight: theme.typography.fontWeightBold
|
|
61
61
|
}
|
|
62
|
+
},
|
|
63
|
+
'& .SCFeedObject-group': {
|
|
64
|
+
marginRight: `${theme.spacing(1)} !important`
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
'& .SCFeedObject-group': {
|
|
68
|
+
justifyContent: 'flex-start',
|
|
69
|
+
padding: theme.spacing(0.5),
|
|
70
|
+
'& a': {
|
|
71
|
+
padding: theme.spacing(0.5),
|
|
72
|
+
marginBottom: theme.spacing(0.5),
|
|
73
|
+
color: theme.palette.common.white,
|
|
74
|
+
'&:hover': {
|
|
75
|
+
backgroundColor: theme.palette.common.black
|
|
76
|
+
},
|
|
77
|
+
'& span': {
|
|
78
|
+
color: theme.palette.common.white,
|
|
79
|
+
textTransform: 'initial'
|
|
80
|
+
}
|
|
62
81
|
}
|
|
63
82
|
},
|
|
64
83
|
'& .SCFeedObject-content': {
|
|
@@ -120,7 +139,20 @@ const Component = {
|
|
|
120
139
|
},
|
|
121
140
|
'& .SCFeedObject-category': {
|
|
122
141
|
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
123
|
-
margin: theme.spacing(0, 2)
|
|
142
|
+
margin: theme.spacing(0, 2),
|
|
143
|
+
'& .SCFeedObject-group': {
|
|
144
|
+
borderBottom: 'none',
|
|
145
|
+
margin: theme.spacing(0),
|
|
146
|
+
'& .MuiChip-icon': {
|
|
147
|
+
marginLeft: theme.spacing(1),
|
|
148
|
+
marginRight: theme.spacing(-1),
|
|
149
|
+
fontWeight: theme.typography.fontWeightRegular
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
'& .SCFeedObject-group': {
|
|
154
|
+
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
155
|
+
margin: theme.spacing(1, 2, 0, 2)
|
|
124
156
|
},
|
|
125
157
|
'& .SCFeedObject-header': {
|
|
126
158
|
'& .MuiCardHeader-avatar': {
|
|
@@ -17,6 +17,7 @@ declare const Component: {
|
|
|
17
17
|
boxShadow: string;
|
|
18
18
|
};
|
|
19
19
|
'& .SCGroupHeader-info': {
|
|
20
|
+
marginTop: any;
|
|
20
21
|
display: string;
|
|
21
22
|
flexDirection: string;
|
|
22
23
|
justifyContent: string;
|
|
@@ -47,6 +48,9 @@ declare const Component: {
|
|
|
47
48
|
marginLeft: string;
|
|
48
49
|
marginTop: any;
|
|
49
50
|
};
|
|
51
|
+
'& .SCGroupSubscribeButton-root': {
|
|
52
|
+
marginTop: any;
|
|
53
|
+
};
|
|
50
54
|
};
|
|
51
55
|
'& .SCGroupHeader-avatar': {
|
|
52
56
|
top: number;
|
|
@@ -99,23 +103,12 @@ declare const Component: {
|
|
|
99
103
|
border: string;
|
|
100
104
|
};
|
|
101
105
|
};
|
|
102
|
-
'& .SCGroupHeader-
|
|
106
|
+
'& .SCGroupHeader-info': {
|
|
103
107
|
display: string;
|
|
104
108
|
justifyContent: string;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"& .MuiSkeleton-root": {
|
|
109
|
-
justifyContent: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
'& .SCGroupHeader-actions': {
|
|
113
|
-
[x: number]: {
|
|
114
|
-
margin: any;
|
|
115
|
-
};
|
|
116
|
-
height: string;
|
|
117
|
-
marginTop: any;
|
|
118
|
-
};
|
|
109
|
+
flexDirection: string;
|
|
110
|
+
alignItems: string;
|
|
111
|
+
marginTop: number;
|
|
119
112
|
};
|
|
120
113
|
};
|
|
121
114
|
};
|
|
@@ -16,6 +16,7 @@ const Component = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
'& .SCGroupHeader-info': {
|
|
19
|
+
marginTop: theme.spacing(6.5),
|
|
19
20
|
display: 'flex',
|
|
20
21
|
flexDirection: 'column',
|
|
21
22
|
justifyContent: 'center',
|
|
@@ -44,7 +45,10 @@ const Component = {
|
|
|
44
45
|
},
|
|
45
46
|
'& .SCEditGroupButton-root': {
|
|
46
47
|
marginLeft: 'auto',
|
|
47
|
-
marginTop: theme.spacing(
|
|
48
|
+
marginTop: theme.spacing(-4.25)
|
|
49
|
+
},
|
|
50
|
+
'& .SCGroupSubscribeButton-root': {
|
|
51
|
+
marginTop: theme.spacing(1)
|
|
48
52
|
}
|
|
49
53
|
},
|
|
50
54
|
'& .SCGroupHeader-avatar': {
|
|
@@ -69,7 +73,7 @@ const Component = {
|
|
|
69
73
|
display: 'flex'
|
|
70
74
|
},
|
|
71
75
|
'& .SCGroupHeader-name': {
|
|
72
|
-
marginBottom: theme.spacing(
|
|
76
|
+
marginBottom: theme.spacing(1),
|
|
73
77
|
fontWeight: theme.typography.fontWeightBold,
|
|
74
78
|
fontSize: '1.429rem',
|
|
75
79
|
textAlign: 'center'
|
|
@@ -98,23 +102,12 @@ const Component = {
|
|
|
98
102
|
border: '#FFF solid 5px'
|
|
99
103
|
}
|
|
100
104
|
},
|
|
101
|
-
'& .SCGroupHeader-
|
|
105
|
+
'& .SCGroupHeader-info': {
|
|
102
106
|
display: 'flex',
|
|
103
107
|
justifyContent: 'center',
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
[`& .MuiSkeleton-root`]: {
|
|
108
|
-
justifyContent: 'center'
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
'& .SCGroupHeader-actions': {
|
|
112
|
-
[theme.breakpoints.up('md')]: {
|
|
113
|
-
margin: theme.spacing(1, 2, 2, 2)
|
|
114
|
-
},
|
|
115
|
-
height: 'fit-content',
|
|
116
|
-
marginTop: theme.spacing(1)
|
|
117
|
-
}
|
|
108
|
+
flexDirection: 'column',
|
|
109
|
+
alignItems: 'center',
|
|
110
|
+
marginTop: 60
|
|
118
111
|
}
|
|
119
112
|
})
|
|
120
113
|
}
|
|
@@ -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,19 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
menuRoot: ({ theme }) => ({
|
|
5
|
+
'& .SCGroupSettingsIconButton-paper': {
|
|
6
|
+
maxWidth: 400,
|
|
7
|
+
padding: theme.spacing(1)
|
|
8
|
+
}
|
|
9
|
+
}),
|
|
10
|
+
drawerRoot: ({ theme }) => ({
|
|
11
|
+
'& .MuiList-root': {
|
|
12
|
+
'& a': {
|
|
13
|
+
color: 'inherit'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
})
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export default Component;
|
|
@@ -12,6 +12,20 @@ declare const Component: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
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
|
+
};
|
|
15
29
|
};
|
|
16
30
|
skeletonRoot: ({ theme }: any) => {
|
|
17
31
|
'& .SCGroups-groups': {
|
|
@@ -11,6 +11,20 @@ const Component = {
|
|
|
11
11
|
padding: theme.spacing(1)
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
},
|
|
15
|
+
'& .SCGroups-no-results': {
|
|
16
|
+
display: 'flex',
|
|
17
|
+
flexDirection: 'column',
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
'& h4': {
|
|
21
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
22
|
+
fontSize: theme.typography.h4.fontSize
|
|
23
|
+
},
|
|
24
|
+
'& .MuiTypography-body1': {
|
|
25
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
26
|
+
fontSize: theme.typography.body1.fontSize
|
|
27
|
+
}
|
|
14
28
|
}
|
|
15
29
|
}),
|
|
16
30
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -69,6 +69,17 @@ declare const Component: {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
+
'& .SCPrivateMessageThread-item': {
|
|
73
|
+
display: string;
|
|
74
|
+
marginBottom: any;
|
|
75
|
+
'& .SCPrivateMessageThread-avatar': {
|
|
76
|
+
marginRight: any;
|
|
77
|
+
'& img': {
|
|
78
|
+
height: any;
|
|
79
|
+
width: any;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
72
83
|
};
|
|
73
84
|
'& .SCPrivateMessageThread-empty-message': {
|
|
74
85
|
height: string;
|
|
@@ -48,7 +48,7 @@ const Component = {
|
|
|
48
48
|
position: 'absolute',
|
|
49
49
|
border: `${theme.spacing(3)} solid transparent`,
|
|
50
50
|
borderTop: `${theme.spacing(3)} solid ${theme.palette.common.white}`,
|
|
51
|
-
top: theme.spacing(
|
|
51
|
+
top: theme.spacing(0),
|
|
52
52
|
left: theme.spacing(-2)
|
|
53
53
|
}
|
|
54
54
|
},
|
|
@@ -62,13 +62,24 @@ const Component = {
|
|
|
62
62
|
position: 'absolute',
|
|
63
63
|
border: `${theme.spacing(3)} solid transparent`,
|
|
64
64
|
borderTop: `${theme.spacing(3)} solid ${theme.palette.grey[300]}`,
|
|
65
|
-
top: theme.spacing(
|
|
65
|
+
top: theme.spacing(0),
|
|
66
66
|
right: theme.spacing(-2)
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
+
},
|
|
73
|
+
'& .SCPrivateMessageThread-item': {
|
|
74
|
+
display: 'flex',
|
|
75
|
+
marginBottom: theme.spacing(1),
|
|
76
|
+
'& .SCPrivateMessageThread-avatar': {
|
|
77
|
+
marginRight: theme.spacing(6),
|
|
78
|
+
'& img': {
|
|
79
|
+
height: theme.selfcommunity.group.avatar.sizeMedium,
|
|
80
|
+
width: theme.selfcommunity.group.avatar.sizeMedium
|
|
81
|
+
}
|
|
82
|
+
}
|
|
72
83
|
}
|
|
73
84
|
},
|
|
74
85
|
'& .SCPrivateMessageThread-empty-message': {
|
|
@@ -3,8 +3,8 @@ const Component = {
|
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
4
|
'& .SCUserProfileHeader-cover': {
|
|
5
5
|
position: 'relative',
|
|
6
|
-
height:
|
|
7
|
-
minHeight:
|
|
6
|
+
height: 230,
|
|
7
|
+
minHeight: 230,
|
|
8
8
|
borderRadius: 0,
|
|
9
9
|
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
10
10
|
boxShadow: 'unset',
|
|
Binary file
|