@selfcommunity/react-theme-default 0.1.9-alpha.7 → 0.1.9-alpha.71
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.d.ts +10 -1
- package/lib/cjs/components/SCCategoryHeader.js +12 -3
- package/lib/cjs/components/SCFeedObject.d.ts +32 -0
- package/lib/cjs/components/SCFeedObject.js +33 -1
- package/lib/cjs/components/SCGroup.d.ts +5 -0
- package/lib/cjs/components/SCGroup.js +6 -1
- package/lib/cjs/components/SCGroupFeedTemplate.d.ts +3 -0
- package/lib/cjs/components/SCGroupFeedTemplate.js +4 -1
- package/lib/cjs/components/SCGroupHeader.d.ts +6 -5
- package/lib/cjs/components/SCGroupHeader.js +14 -12
- package/lib/cjs/components/SCGroupInviteButton.d.ts +3 -0
- package/lib/cjs/components/SCGroupInviteButton.js +4 -1
- package/lib/cjs/components/SCGroupInvitedWidget.d.ts +8 -0
- package/lib/cjs/components/SCGroupInvitedWidget.js +10 -0
- 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 +28 -1
- package/lib/cjs/components/SCGroups.js +30 -3
- 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/SCPrivateMessageSnippets.d.ts +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.js +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +11 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +15 -4
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +5 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +5 -0
- package/lib/cjs/components/SCUser.d.ts +5 -0
- package/lib/cjs/components/SCUser.js +5 -0
- package/lib/cjs/components/SCUserProfileHeader.d.ts +2 -2
- package/lib/cjs/components/SCUserProfileHeader.js +10 -10
- package/lib/cjs/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
- package/lib/cjs/components/SCUserSubscribedGroupsWidget.js +10 -0
- 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 +148 -10
- package/lib/cjs/index.js +8 -2
- package/lib/esm/components/SCCategoryHeader.d.ts +10 -1
- package/lib/esm/components/SCCategoryHeader.js +12 -3
- package/lib/esm/components/SCFeedObject.d.ts +32 -0
- package/lib/esm/components/SCFeedObject.js +33 -1
- package/lib/esm/components/SCGroup.d.ts +5 -0
- package/lib/esm/components/SCGroup.js +6 -1
- package/lib/esm/components/SCGroupFeedTemplate.d.ts +3 -0
- package/lib/esm/components/SCGroupFeedTemplate.js +4 -1
- package/lib/esm/components/SCGroupHeader.d.ts +6 -5
- package/lib/esm/components/SCGroupHeader.js +14 -12
- package/lib/esm/components/SCGroupInviteButton.d.ts +3 -0
- package/lib/esm/components/SCGroupInviteButton.js +4 -1
- package/lib/esm/components/SCGroupInvitedWidget.d.ts +8 -0
- package/lib/esm/components/SCGroupInvitedWidget.js +8 -0
- 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 +28 -1
- package/lib/esm/components/SCGroups.js +30 -3
- 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/SCPrivateMessageSnippets.d.ts +1 -0
- package/lib/esm/components/SCPrivateMessageSnippets.js +1 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts +11 -0
- package/lib/esm/components/SCPrivateMessageThread.js +15 -4
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +5 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +5 -0
- package/lib/esm/components/SCUser.d.ts +5 -0
- package/lib/esm/components/SCUser.js +5 -0
- package/lib/esm/components/SCUserProfileHeader.d.ts +2 -2
- package/lib/esm/components/SCUserProfileHeader.js +10 -10
- package/lib/esm/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
- package/lib/esm/components/SCUserSubscribedGroupsWidget.js +8 -0
- 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 +148 -10
- package/lib/esm/index.js +8 -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
|
@@ -695,6 +695,9 @@ declare const theme: {
|
|
|
695
695
|
styleOverrides: {
|
|
696
696
|
root: ({ theme }: any) => {
|
|
697
697
|
'& .SCCategoryHeader-cover': {
|
|
698
|
+
[x: number]: {
|
|
699
|
+
borderRadius: any;
|
|
700
|
+
};
|
|
698
701
|
display: string;
|
|
699
702
|
flexDirection: string;
|
|
700
703
|
justifyContent: string;
|
|
@@ -742,7 +745,13 @@ declare const theme: {
|
|
|
742
745
|
};
|
|
743
746
|
};
|
|
744
747
|
};
|
|
745
|
-
skeletonRoot: ({ theme }: any) => {
|
|
748
|
+
skeletonRoot: ({ theme }: any) => {
|
|
749
|
+
'& .SCCategoryHeader-skeleton-cover': {
|
|
750
|
+
[x: number]: {
|
|
751
|
+
borderRadius: any;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
};
|
|
746
755
|
};
|
|
747
756
|
};
|
|
748
757
|
SCCategoryTemplate: {
|
|
@@ -1781,6 +1790,25 @@ declare const theme: {
|
|
|
1781
1790
|
fontWeight: any;
|
|
1782
1791
|
};
|
|
1783
1792
|
};
|
|
1793
|
+
'& .SCFeedObject-group': {
|
|
1794
|
+
marginRight: string;
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
'& .SCFeedObject-group': {
|
|
1798
|
+
justifyContent: string;
|
|
1799
|
+
padding: any;
|
|
1800
|
+
'& a': {
|
|
1801
|
+
padding: any;
|
|
1802
|
+
marginBottom: any;
|
|
1803
|
+
color: any;
|
|
1804
|
+
'&:hover': {
|
|
1805
|
+
backgroundColor: any;
|
|
1806
|
+
};
|
|
1807
|
+
'& span': {
|
|
1808
|
+
color: any;
|
|
1809
|
+
textTransform: string;
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1784
1812
|
};
|
|
1785
1813
|
'& .SCFeedObject-content': {
|
|
1786
1814
|
padding: any;
|
|
@@ -1842,6 +1870,19 @@ declare const theme: {
|
|
|
1842
1870
|
'& .SCFeedObject-category': {
|
|
1843
1871
|
borderBottom: string;
|
|
1844
1872
|
margin: any;
|
|
1873
|
+
'& .SCFeedObject-group': {
|
|
1874
|
+
borderBottom: string;
|
|
1875
|
+
margin: any;
|
|
1876
|
+
'& .MuiChip-icon': {
|
|
1877
|
+
marginLeft: any;
|
|
1878
|
+
marginRight: any;
|
|
1879
|
+
fontWeight: any;
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
'& .SCFeedObject-group': {
|
|
1884
|
+
borderBottom: string;
|
|
1885
|
+
margin: any;
|
|
1845
1886
|
};
|
|
1846
1887
|
'& .SCFeedObject-header': {
|
|
1847
1888
|
'& .MuiCardHeader-avatar': {
|
|
@@ -3248,7 +3289,7 @@ declare const theme: {
|
|
|
3248
3289
|
marginRight: any;
|
|
3249
3290
|
'& img': {
|
|
3250
3291
|
verticalAlign: string;
|
|
3251
|
-
maxHeight:
|
|
3292
|
+
maxHeight: number;
|
|
3252
3293
|
};
|
|
3253
3294
|
};
|
|
3254
3295
|
'& .SCNavigationToolbar-navigation': {
|
|
@@ -3642,6 +3683,7 @@ declare const theme: {
|
|
|
3642
3683
|
maxWidth: string;
|
|
3643
3684
|
};
|
|
3644
3685
|
};
|
|
3686
|
+
groupRoot: ({ theme }: any) => {};
|
|
3645
3687
|
undeletedForRoot: ({ theme }: any) => {
|
|
3646
3688
|
'& .SCNotification-undeleted-icon': {
|
|
3647
3689
|
backgroundColor: "#f44336";
|
|
@@ -4055,6 +4097,11 @@ declare const theme: {
|
|
|
4055
4097
|
borderRadius: number;
|
|
4056
4098
|
fontSize: string;
|
|
4057
4099
|
};
|
|
4100
|
+
'& .SCUser-group-admin-badge-label': {
|
|
4101
|
+
marginLeft: any;
|
|
4102
|
+
fontSize: string;
|
|
4103
|
+
color: any;
|
|
4104
|
+
};
|
|
4058
4105
|
'& .SCBaseItemButton-primary': {
|
|
4059
4106
|
fontWeight: any;
|
|
4060
4107
|
};
|
|
@@ -4141,7 +4188,7 @@ declare const theme: {
|
|
|
4141
4188
|
root: ({ theme }: any) => {
|
|
4142
4189
|
'& .SCUserProfileHeader-cover': {
|
|
4143
4190
|
[x: number]: {
|
|
4144
|
-
|
|
4191
|
+
borderRadius: any;
|
|
4145
4192
|
};
|
|
4146
4193
|
position: string;
|
|
4147
4194
|
height: number;
|
|
@@ -4209,7 +4256,7 @@ declare const theme: {
|
|
|
4209
4256
|
position: string;
|
|
4210
4257
|
'& .SCUserProfileHeader-cover': {
|
|
4211
4258
|
[x: number]: {
|
|
4212
|
-
|
|
4259
|
+
borderRadius: any;
|
|
4213
4260
|
};
|
|
4214
4261
|
height: number;
|
|
4215
4262
|
};
|
|
@@ -4546,6 +4593,7 @@ declare const theme: {
|
|
|
4546
4593
|
root: ({ theme }: any) => {
|
|
4547
4594
|
height: string;
|
|
4548
4595
|
width: string;
|
|
4596
|
+
borderRadius: number;
|
|
4549
4597
|
'& .MuiCardContent-root': {
|
|
4550
4598
|
display: string;
|
|
4551
4599
|
flexDirection: string;
|
|
@@ -4665,6 +4713,17 @@ declare const theme: {
|
|
|
4665
4713
|
};
|
|
4666
4714
|
};
|
|
4667
4715
|
};
|
|
4716
|
+
'& .SCPrivateMessageThread-item': {
|
|
4717
|
+
display: string;
|
|
4718
|
+
marginBottom: any;
|
|
4719
|
+
'& .SCPrivateMessageThread-avatar': {
|
|
4720
|
+
marginRight: any;
|
|
4721
|
+
'& img': {
|
|
4722
|
+
height: any;
|
|
4723
|
+
width: any;
|
|
4724
|
+
};
|
|
4725
|
+
};
|
|
4726
|
+
};
|
|
4668
4727
|
};
|
|
4669
4728
|
'& .SCPrivateMessageThread-empty-message': {
|
|
4670
4729
|
height: string;
|
|
@@ -4759,6 +4818,7 @@ declare const theme: {
|
|
|
4759
4818
|
SCPrivateMessageThreadItem: {
|
|
4760
4819
|
styleOverrides: {
|
|
4761
4820
|
root: ({ theme }: any) => {
|
|
4821
|
+
flexDirection: string;
|
|
4762
4822
|
borderRadius: any;
|
|
4763
4823
|
padding: any;
|
|
4764
4824
|
boxShadow: string;
|
|
@@ -4777,6 +4837,10 @@ declare const theme: {
|
|
|
4777
4837
|
right: any;
|
|
4778
4838
|
padding: any;
|
|
4779
4839
|
};
|
|
4840
|
+
'& .SCPrivateMessageThreadItem-username': {
|
|
4841
|
+
marginRight: string;
|
|
4842
|
+
marginBottom: any;
|
|
4843
|
+
};
|
|
4780
4844
|
'& .SCPrivateMessageThreadItem-text': {
|
|
4781
4845
|
display: string;
|
|
4782
4846
|
alignItems: string;
|
|
@@ -5541,10 +5605,6 @@ declare const theme: {
|
|
|
5541
5605
|
'& .SCGroupHeader-cover': {
|
|
5542
5606
|
[x: number]: {
|
|
5543
5607
|
borderRadius: any;
|
|
5544
|
-
margin?: undefined;
|
|
5545
|
-
} | {
|
|
5546
|
-
margin: any;
|
|
5547
|
-
borderRadius?: undefined;
|
|
5548
5608
|
};
|
|
5549
5609
|
position: string;
|
|
5550
5610
|
height: number;
|
|
@@ -5554,6 +5614,7 @@ declare const theme: {
|
|
|
5554
5614
|
boxShadow: string;
|
|
5555
5615
|
};
|
|
5556
5616
|
'& .SCGroupHeader-info': {
|
|
5617
|
+
marginTop: any;
|
|
5557
5618
|
display: string;
|
|
5558
5619
|
flexDirection: string;
|
|
5559
5620
|
justifyContent: string;
|
|
@@ -5583,6 +5644,10 @@ declare const theme: {
|
|
|
5583
5644
|
'& .SCEditGroupButton-root': {
|
|
5584
5645
|
marginLeft: string;
|
|
5585
5646
|
marginTop: any;
|
|
5647
|
+
marginRight: any;
|
|
5648
|
+
};
|
|
5649
|
+
'& .SCGroupSubscribeButton-root': {
|
|
5650
|
+
marginTop: any;
|
|
5586
5651
|
};
|
|
5587
5652
|
};
|
|
5588
5653
|
'& .SCGroupHeader-avatar': {
|
|
@@ -5622,7 +5687,7 @@ declare const theme: {
|
|
|
5622
5687
|
position: string;
|
|
5623
5688
|
'& .SCGroupHeader-cover': {
|
|
5624
5689
|
[x: number]: {
|
|
5625
|
-
|
|
5690
|
+
borderRadius: any;
|
|
5626
5691
|
};
|
|
5627
5692
|
height: number;
|
|
5628
5693
|
};
|
|
@@ -5818,6 +5883,9 @@ declare const theme: {
|
|
|
5818
5883
|
'& .SCGroupInviteButton-invited-box': {
|
|
5819
5884
|
marginTop: any;
|
|
5820
5885
|
marginBottom: any;
|
|
5886
|
+
'& .MuiChip-root': {
|
|
5887
|
+
marginBottom: any;
|
|
5888
|
+
};
|
|
5821
5889
|
};
|
|
5822
5890
|
'& .SCGroupInviteButton-suggested': {
|
|
5823
5891
|
'& h4': {
|
|
@@ -5883,7 +5951,12 @@ declare const theme: {
|
|
|
5883
5951
|
};
|
|
5884
5952
|
};
|
|
5885
5953
|
'& .SCBaseItemButton-primary': {
|
|
5954
|
+
display: string;
|
|
5955
|
+
alignItems: string;
|
|
5886
5956
|
fontWeight: any;
|
|
5957
|
+
'& .SCGroup-icon': {
|
|
5958
|
+
marginLeft: any;
|
|
5959
|
+
};
|
|
5887
5960
|
};
|
|
5888
5961
|
'& .SCBaseItemButton-secondary': {
|
|
5889
5962
|
fontSize: string;
|
|
@@ -5905,6 +5978,9 @@ declare const theme: {
|
|
|
5905
5978
|
'& .SCCategoryTemplate-feed': {
|
|
5906
5979
|
marginTop: any;
|
|
5907
5980
|
};
|
|
5981
|
+
'& .SCGroupInfoWidget-root': {
|
|
5982
|
+
marginTop: any;
|
|
5983
|
+
};
|
|
5908
5984
|
};
|
|
5909
5985
|
skeletonRoot: ({ theme }: any) => {
|
|
5910
5986
|
[x: number]: {
|
|
@@ -5918,6 +5994,9 @@ declare const theme: {
|
|
|
5918
5994
|
styleOverrides: {
|
|
5919
5995
|
root: ({ theme }: any) => {
|
|
5920
5996
|
marginTop: number;
|
|
5997
|
+
'& .SCGroupInfoWidget-root': {
|
|
5998
|
+
padding: any;
|
|
5999
|
+
};
|
|
5921
6000
|
};
|
|
5922
6001
|
skeletonRoot: ({ theme }: any) => {
|
|
5923
6002
|
[x: number]: {
|
|
@@ -5948,10 +6027,24 @@ declare const theme: {
|
|
|
5948
6027
|
SCGroups: {
|
|
5949
6028
|
styleOverrides: {
|
|
5950
6029
|
root: ({ theme }: any) => {
|
|
6030
|
+
'& .SCGroups-skeleton-root ': {
|
|
6031
|
+
'& .MuiGrid-item': {
|
|
6032
|
+
paddingTop: number;
|
|
6033
|
+
};
|
|
6034
|
+
};
|
|
6035
|
+
'& .MuiGrid-container': {
|
|
6036
|
+
justifyContent: string;
|
|
6037
|
+
};
|
|
6038
|
+
'& .SCGroups-filters': {
|
|
6039
|
+
marginTop: any;
|
|
6040
|
+
marginBottom: any;
|
|
6041
|
+
};
|
|
5951
6042
|
'& .SCGroups-groups': {
|
|
5952
6043
|
marginTop: any;
|
|
5953
6044
|
'& .SCGroups-item': {
|
|
5954
|
-
|
|
6045
|
+
[x: number]: {
|
|
6046
|
+
padding: any;
|
|
6047
|
+
};
|
|
5955
6048
|
width: string;
|
|
5956
6049
|
'& > div': {
|
|
5957
6050
|
cursor: string;
|
|
@@ -5960,6 +6053,7 @@ declare const theme: {
|
|
|
5960
6053
|
};
|
|
5961
6054
|
};
|
|
5962
6055
|
'& .SCGroups-no-results': {
|
|
6056
|
+
marginTop: any;
|
|
5963
6057
|
display: string;
|
|
5964
6058
|
flexDirection: string;
|
|
5965
6059
|
justifyContent: string;
|
|
@@ -5973,9 +6067,21 @@ declare const theme: {
|
|
|
5973
6067
|
fontSize: any;
|
|
5974
6068
|
};
|
|
5975
6069
|
};
|
|
6070
|
+
'& .SCGroups-end-message': {
|
|
6071
|
+
display: string;
|
|
6072
|
+
alignItems: string;
|
|
6073
|
+
justifyContent: string;
|
|
6074
|
+
'& .MuiButtonBase-root': {
|
|
6075
|
+
paddingLeft: any;
|
|
6076
|
+
'&.Mui-selected, &:hover': {
|
|
6077
|
+
backgroundColor: string;
|
|
6078
|
+
};
|
|
6079
|
+
};
|
|
6080
|
+
};
|
|
5976
6081
|
};
|
|
5977
6082
|
skeletonRoot: ({ theme }: any) => {
|
|
5978
6083
|
'& .SCGroups-groups': {
|
|
6084
|
+
justifyContent: string;
|
|
5979
6085
|
marginTop: any;
|
|
5980
6086
|
'& .SCGroup-skeleton-root': {
|
|
5981
6087
|
padding: any;
|
|
@@ -6002,6 +6108,38 @@ declare const theme: {
|
|
|
6002
6108
|
root: ({ theme }: any) => {};
|
|
6003
6109
|
};
|
|
6004
6110
|
};
|
|
6111
|
+
SCGroupSettingsIconButton: {
|
|
6112
|
+
styleOverrides: {
|
|
6113
|
+
root: ({ theme }: any) => {};
|
|
6114
|
+
menuRoot: ({ theme }: any) => {
|
|
6115
|
+
'& .SCGroupSettingsIconButton-paper': {
|
|
6116
|
+
maxWidth: number;
|
|
6117
|
+
padding: any;
|
|
6118
|
+
};
|
|
6119
|
+
};
|
|
6120
|
+
drawerRoot: ({ theme }: any) => {
|
|
6121
|
+
'& .MuiList-root': {
|
|
6122
|
+
'& a': {
|
|
6123
|
+
color: string;
|
|
6124
|
+
};
|
|
6125
|
+
};
|
|
6126
|
+
};
|
|
6127
|
+
};
|
|
6128
|
+
};
|
|
6129
|
+
SCGroupInvitedWidget: {
|
|
6130
|
+
styleOverrides: {
|
|
6131
|
+
root: ({ theme }: any) => {};
|
|
6132
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
6133
|
+
dialogRoot: ({ theme }: any) => {};
|
|
6134
|
+
};
|
|
6135
|
+
};
|
|
6136
|
+
SCUserSubscribedGroupsWidget: {
|
|
6137
|
+
styleOverrides: {
|
|
6138
|
+
root: ({ theme }: any) => {};
|
|
6139
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
6140
|
+
dialogRoot: ({ theme }: any) => {};
|
|
6141
|
+
};
|
|
6142
|
+
};
|
|
6005
6143
|
};
|
|
6006
6144
|
selfcommunity: {
|
|
6007
6145
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -135,6 +135,9 @@ 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"));
|
|
139
|
+
const SCGroupInvitedWidget_1 = tslib_1.__importDefault(require("./components/SCGroupInvitedWidget"));
|
|
140
|
+
const SCUserSubscribedGroupsWidget_1 = tslib_1.__importDefault(require("./components/SCUserSubscribedGroupsWidget"));
|
|
138
141
|
/**
|
|
139
142
|
* Style fragments - Imports - End
|
|
140
143
|
*/
|
|
@@ -330,7 +333,10 @@ const theme = {
|
|
|
330
333
|
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
|
|
331
334
|
SCGroups: SCGroups_1.default,
|
|
332
335
|
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
333
|
-
SCGroupAutocomplete: SCGroupAutocomplete_1.default
|
|
336
|
+
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
337
|
+
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default,
|
|
338
|
+
SCGroupInvitedWidget: SCGroupInvitedWidget_1.default,
|
|
339
|
+
SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default
|
|
334
340
|
},
|
|
335
341
|
selfcommunity: {
|
|
336
342
|
user: {
|
|
@@ -353,7 +359,7 @@ const theme = {
|
|
|
353
359
|
sizeSmall: 40,
|
|
354
360
|
sizeMedium: 60,
|
|
355
361
|
sizeLarge: 90,
|
|
356
|
-
sizeXLarge:
|
|
362
|
+
sizeXLarge: 205
|
|
357
363
|
}
|
|
358
364
|
}
|
|
359
365
|
}
|
|
@@ -7,6 +7,9 @@ declare const Component: {
|
|
|
7
7
|
styleOverrides: {
|
|
8
8
|
root: ({ theme }: any) => {
|
|
9
9
|
'& .SCCategoryHeader-cover': {
|
|
10
|
+
[x: number]: {
|
|
11
|
+
borderRadius: any;
|
|
12
|
+
};
|
|
10
13
|
display: string;
|
|
11
14
|
flexDirection: string;
|
|
12
15
|
justifyContent: string;
|
|
@@ -54,7 +57,13 @@ declare const Component: {
|
|
|
54
57
|
};
|
|
55
58
|
};
|
|
56
59
|
};
|
|
57
|
-
skeletonRoot: ({ theme }: any) => {
|
|
60
|
+
skeletonRoot: ({ theme }: any) => {
|
|
61
|
+
'& .SCCategoryHeader-skeleton-cover': {
|
|
62
|
+
[x: number]: {
|
|
63
|
+
borderRadius: any;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
58
67
|
};
|
|
59
68
|
};
|
|
60
69
|
export default Component;
|
|
@@ -14,8 +14,11 @@ const Component = {
|
|
|
14
14
|
minHeight: 150,
|
|
15
15
|
color: '#FFF',
|
|
16
16
|
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
17
|
-
height:
|
|
18
|
-
borderRadius: 0
|
|
17
|
+
height: 230,
|
|
18
|
+
borderRadius: 0,
|
|
19
|
+
[theme.breakpoints.up('md')]: {
|
|
20
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
21
|
+
}
|
|
19
22
|
},
|
|
20
23
|
'& .SCCategoryHeader-info': {
|
|
21
24
|
paddingLeft: theme.spacing(2),
|
|
@@ -54,7 +57,13 @@ const Component = {
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
}),
|
|
57
|
-
skeletonRoot: ({ theme }) => ({
|
|
60
|
+
skeletonRoot: ({ theme }) => ({
|
|
61
|
+
'& .SCCategoryHeader-skeleton-cover': {
|
|
62
|
+
[theme.breakpoints.up('md')]: {
|
|
63
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
})
|
|
58
67
|
}
|
|
59
68
|
};
|
|
60
69
|
export default Component;
|
|
@@ -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': {
|
|
@@ -18,7 +18,12 @@ declare const Component: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
'& .SCBaseItemButton-primary': {
|
|
21
|
+
display: string;
|
|
22
|
+
alignItems: string;
|
|
21
23
|
fontWeight: any;
|
|
24
|
+
'& .SCGroup-icon': {
|
|
25
|
+
marginLeft: any;
|
|
26
|
+
};
|
|
22
27
|
};
|
|
23
28
|
'& .SCBaseItemButton-secondary': {
|
|
24
29
|
fontSize: string;
|
|
@@ -18,7 +18,12 @@ const Component = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
'& .SCBaseItemButton-primary': {
|
|
21
|
-
|
|
21
|
+
display: 'flex',
|
|
22
|
+
alignItems: 'center',
|
|
23
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
24
|
+
'& .SCGroup-icon': {
|
|
25
|
+
marginLeft: theme.spacing(0.5)
|
|
26
|
+
}
|
|
22
27
|
},
|
|
23
28
|
'& .SCBaseItemButton-secondary': {
|
|
24
29
|
fontSize: '0.857rem'
|
|
@@ -4,10 +4,6 @@ declare const Component: {
|
|
|
4
4
|
'& .SCGroupHeader-cover': {
|
|
5
5
|
[x: number]: {
|
|
6
6
|
borderRadius: any;
|
|
7
|
-
margin?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
margin: any;
|
|
10
|
-
borderRadius?: undefined;
|
|
11
7
|
};
|
|
12
8
|
position: string;
|
|
13
9
|
height: number;
|
|
@@ -17,6 +13,7 @@ declare const Component: {
|
|
|
17
13
|
boxShadow: string;
|
|
18
14
|
};
|
|
19
15
|
'& .SCGroupHeader-info': {
|
|
16
|
+
marginTop: any;
|
|
20
17
|
display: string;
|
|
21
18
|
flexDirection: string;
|
|
22
19
|
justifyContent: string;
|
|
@@ -46,6 +43,10 @@ declare const Component: {
|
|
|
46
43
|
'& .SCEditGroupButton-root': {
|
|
47
44
|
marginLeft: string;
|
|
48
45
|
marginTop: any;
|
|
46
|
+
marginRight: any;
|
|
47
|
+
};
|
|
48
|
+
'& .SCGroupSubscribeButton-root': {
|
|
49
|
+
marginTop: any;
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
52
|
'& .SCGroupHeader-avatar': {
|
|
@@ -85,7 +86,7 @@ declare const Component: {
|
|
|
85
86
|
position: string;
|
|
86
87
|
'& .SCGroupHeader-cover': {
|
|
87
88
|
[x: number]: {
|
|
88
|
-
|
|
89
|
+
borderRadius: any;
|
|
89
90
|
};
|
|
90
91
|
height: number;
|
|
91
92
|
};
|
|
@@ -3,19 +3,17 @@ const Component = {
|
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
4
|
'& .SCGroupHeader-cover': {
|
|
5
5
|
position: 'relative',
|
|
6
|
-
height:
|
|
6
|
+
height: 230,
|
|
7
7
|
minHeight: 150,
|
|
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',
|
|
11
11
|
[theme.breakpoints.up('md')]: {
|
|
12
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
13
|
}
|
|
17
14
|
},
|
|
18
15
|
'& .SCGroupHeader-info': {
|
|
16
|
+
marginTop: theme.spacing(6.5),
|
|
19
17
|
display: 'flex',
|
|
20
18
|
flexDirection: 'column',
|
|
21
19
|
justifyContent: 'center',
|
|
@@ -44,11 +42,15 @@ const Component = {
|
|
|
44
42
|
},
|
|
45
43
|
'& .SCEditGroupButton-root': {
|
|
46
44
|
marginLeft: 'auto',
|
|
47
|
-
marginTop: theme.spacing(
|
|
45
|
+
marginTop: theme.spacing(-4.25),
|
|
46
|
+
marginRight: theme.spacing(1)
|
|
47
|
+
},
|
|
48
|
+
'& .SCGroupSubscribeButton-root': {
|
|
49
|
+
marginTop: theme.spacing(1)
|
|
48
50
|
}
|
|
49
51
|
},
|
|
50
52
|
'& .SCGroupHeader-avatar': {
|
|
51
|
-
top:
|
|
53
|
+
top: 230,
|
|
52
54
|
display: 'block',
|
|
53
55
|
position: 'absolute',
|
|
54
56
|
transform: 'translate(-50%, -50%)',
|
|
@@ -62,14 +64,14 @@ const Component = {
|
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
'& .SCGroupHeader-change-picture': {
|
|
65
|
-
top:
|
|
67
|
+
top: 230,
|
|
66
68
|
left: '50%',
|
|
67
69
|
transform: 'translate(90%, -50%)',
|
|
68
70
|
position: 'relative',
|
|
69
71
|
display: 'flex'
|
|
70
72
|
},
|
|
71
73
|
'& .SCGroupHeader-name': {
|
|
72
|
-
marginBottom: theme.spacing(
|
|
74
|
+
marginBottom: theme.spacing(1),
|
|
73
75
|
fontWeight: theme.typography.fontWeightBold,
|
|
74
76
|
fontSize: '1.429rem',
|
|
75
77
|
textAlign: 'center'
|
|
@@ -83,13 +85,13 @@ const Component = {
|
|
|
83
85
|
skeletonRoot: ({ theme }) => ({
|
|
84
86
|
position: 'relative',
|
|
85
87
|
'& .SCGroupHeader-cover': {
|
|
86
|
-
[theme.breakpoints.up('
|
|
87
|
-
|
|
88
|
+
[theme.breakpoints.up('md')]: {
|
|
89
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
88
90
|
},
|
|
89
|
-
height:
|
|
91
|
+
height: 230
|
|
90
92
|
},
|
|
91
93
|
'& .SCGroupHeader-avatar': {
|
|
92
|
-
top:
|
|
94
|
+
top: 230,
|
|
93
95
|
display: 'block',
|
|
94
96
|
position: 'absolute',
|
|
95
97
|
transform: 'translate(-50%, -50%)',
|