@selfcommunity/react-theme-default 0.1.9-alpha.9 → 0.1.9
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 +3 -6
- package/lib/cjs/components/SCGroupHeader.js +10 -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/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/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 -1
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +6 -1
- 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/index.d.ts +126 -11
- package/lib/cjs/index.js +6 -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 +3 -6
- package/lib/esm/components/SCGroupHeader.js +10 -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/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/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 -1
- package/lib/esm/components/SCPrivateMessageThreadItem.js +6 -1
- 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/index.d.ts +126 -11
- package/lib/esm/index.js +6 -2
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -24,6 +24,11 @@ const Component = {
|
|
|
24
24
|
borderRadius: 0,
|
|
25
25
|
fontSize: '0.5rem'
|
|
26
26
|
},
|
|
27
|
+
'& .SCUser-group-admin-badge-label': {
|
|
28
|
+
marginLeft: theme.spacing(1),
|
|
29
|
+
fontSize: '0.75rem',
|
|
30
|
+
color: theme.palette.secondary.main
|
|
31
|
+
},
|
|
27
32
|
'& .SCBaseItemButton-primary': {
|
|
28
33
|
fontWeight: theme.typography.fontWeightBold
|
|
29
34
|
},
|
|
@@ -3,7 +3,7 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
'& .SCUserProfileHeader-cover': {
|
|
5
5
|
[x: number]: {
|
|
6
|
-
|
|
6
|
+
borderRadius: any;
|
|
7
7
|
};
|
|
8
8
|
position: string;
|
|
9
9
|
height: number;
|
|
@@ -71,7 +71,7 @@ declare const Component: {
|
|
|
71
71
|
position: string;
|
|
72
72
|
'& .SCUserProfileHeader-cover': {
|
|
73
73
|
[x: number]: {
|
|
74
|
-
|
|
74
|
+
borderRadius: any;
|
|
75
75
|
};
|
|
76
76
|
height: number;
|
|
77
77
|
};
|
|
@@ -5,13 +5,13 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
'& .SCUserProfileHeader-cover': {
|
|
7
7
|
position: 'relative',
|
|
8
|
-
height:
|
|
8
|
+
height: 230,
|
|
9
9
|
minHeight: 150,
|
|
10
10
|
borderRadius: 0,
|
|
11
11
|
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
12
12
|
boxShadow: 'unset',
|
|
13
|
-
[theme.breakpoints.up('
|
|
14
|
-
|
|
13
|
+
[theme.breakpoints.up('md')]: {
|
|
14
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
'& .SCUserProfileHeader-infops-section': {
|
|
@@ -19,7 +19,7 @@ const Component = {
|
|
|
19
19
|
justifyContent: 'space-between'
|
|
20
20
|
},
|
|
21
21
|
'& .SCUserProfileHeader-avatar': {
|
|
22
|
-
top:
|
|
22
|
+
top: 180,
|
|
23
23
|
[theme.breakpoints.up('lg')]: {
|
|
24
24
|
left: theme.selfcommunity.user.avatar.sizeXLarge / 2,
|
|
25
25
|
marginLeft: 0
|
|
@@ -32,7 +32,7 @@ const Component = {
|
|
|
32
32
|
width: theme.selfcommunity.user.avatar.sizeXLarge,
|
|
33
33
|
borderRadius: '50%',
|
|
34
34
|
border: `#FFF solid ${theme.spacing(0.5)}`,
|
|
35
|
-
objectFit: 'cover'
|
|
35
|
+
objectFit: 'cover'
|
|
36
36
|
},
|
|
37
37
|
'& .MuiBadge-badge .SCUserAvatar-badge-content': {
|
|
38
38
|
width: 32,
|
|
@@ -40,7 +40,7 @@ const Component = {
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
'& .SCUserProfileHeader-change-picture': {
|
|
43
|
-
top:
|
|
43
|
+
top: 215,
|
|
44
44
|
[theme.breakpoints.up('lg')]: {
|
|
45
45
|
left: 155 - 0.5 * theme.selfcommunity.user.avatar.sizeXLarge
|
|
46
46
|
},
|
|
@@ -72,15 +72,15 @@ const Component = {
|
|
|
72
72
|
skeletonRoot: ({ theme }) => ({
|
|
73
73
|
position: 'relative',
|
|
74
74
|
'& .SCUserProfileHeader-cover': {
|
|
75
|
-
[theme.breakpoints.up('
|
|
76
|
-
|
|
75
|
+
[theme.breakpoints.up('md')]: {
|
|
76
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
77
77
|
},
|
|
78
|
-
height:
|
|
78
|
+
height: 230
|
|
79
79
|
},
|
|
80
80
|
'& .SCUserProfileHeader-avatar': {
|
|
81
81
|
display: 'block',
|
|
82
82
|
position: 'absolute',
|
|
83
|
-
top:
|
|
83
|
+
top: 230 - 0.5 * theme.selfcommunity.user.avatar.sizeXLarge - 5,
|
|
84
84
|
marginLeft: theme.spacing(4),
|
|
85
85
|
[`& .MuiSkeleton-root`]: {
|
|
86
86
|
border: '#FFF solid 5px'
|
|
@@ -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;
|
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': {
|
|
@@ -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;
|
|
@@ -4841,7 +4905,6 @@ declare const theme: {
|
|
|
4841
4905
|
};
|
|
4842
4906
|
'& .MuiButtonBase-root': {
|
|
4843
4907
|
flexWrap: string;
|
|
4844
|
-
width: string;
|
|
4845
4908
|
position: string;
|
|
4846
4909
|
bottom: any;
|
|
4847
4910
|
backgroundColor: string;
|
|
@@ -5541,10 +5604,6 @@ declare const theme: {
|
|
|
5541
5604
|
'& .SCGroupHeader-cover': {
|
|
5542
5605
|
[x: number]: {
|
|
5543
5606
|
borderRadius: any;
|
|
5544
|
-
margin?: undefined;
|
|
5545
|
-
} | {
|
|
5546
|
-
margin: any;
|
|
5547
|
-
borderRadius?: undefined;
|
|
5548
5607
|
};
|
|
5549
5608
|
position: string;
|
|
5550
5609
|
height: number;
|
|
@@ -5554,7 +5613,7 @@ declare const theme: {
|
|
|
5554
5613
|
boxShadow: string;
|
|
5555
5614
|
};
|
|
5556
5615
|
'& .SCGroupHeader-info': {
|
|
5557
|
-
marginTop:
|
|
5616
|
+
marginTop: any;
|
|
5558
5617
|
display: string;
|
|
5559
5618
|
flexDirection: string;
|
|
5560
5619
|
justifyContent: string;
|
|
@@ -5584,6 +5643,7 @@ declare const theme: {
|
|
|
5584
5643
|
'& .SCEditGroupButton-root': {
|
|
5585
5644
|
marginLeft: string;
|
|
5586
5645
|
marginTop: any;
|
|
5646
|
+
marginRight: any;
|
|
5587
5647
|
};
|
|
5588
5648
|
'& .SCGroupSubscribeButton-root': {
|
|
5589
5649
|
marginTop: any;
|
|
@@ -5626,7 +5686,7 @@ declare const theme: {
|
|
|
5626
5686
|
position: string;
|
|
5627
5687
|
'& .SCGroupHeader-cover': {
|
|
5628
5688
|
[x: number]: {
|
|
5629
|
-
|
|
5689
|
+
borderRadius: any;
|
|
5630
5690
|
};
|
|
5631
5691
|
height: number;
|
|
5632
5692
|
};
|
|
@@ -5822,6 +5882,9 @@ declare const theme: {
|
|
|
5822
5882
|
'& .SCGroupInviteButton-invited-box': {
|
|
5823
5883
|
marginTop: any;
|
|
5824
5884
|
marginBottom: any;
|
|
5885
|
+
'& .MuiChip-root': {
|
|
5886
|
+
marginBottom: any;
|
|
5887
|
+
};
|
|
5825
5888
|
};
|
|
5826
5889
|
'& .SCGroupInviteButton-suggested': {
|
|
5827
5890
|
'& h4': {
|
|
@@ -5887,7 +5950,12 @@ declare const theme: {
|
|
|
5887
5950
|
};
|
|
5888
5951
|
};
|
|
5889
5952
|
'& .SCBaseItemButton-primary': {
|
|
5953
|
+
display: string;
|
|
5954
|
+
alignItems: string;
|
|
5890
5955
|
fontWeight: any;
|
|
5956
|
+
'& .SCGroup-icon': {
|
|
5957
|
+
marginLeft: any;
|
|
5958
|
+
};
|
|
5891
5959
|
};
|
|
5892
5960
|
'& .SCBaseItemButton-secondary': {
|
|
5893
5961
|
fontSize: string;
|
|
@@ -5909,6 +5977,9 @@ declare const theme: {
|
|
|
5909
5977
|
'& .SCCategoryTemplate-feed': {
|
|
5910
5978
|
marginTop: any;
|
|
5911
5979
|
};
|
|
5980
|
+
'& .SCGroupInfoWidget-root': {
|
|
5981
|
+
marginTop: any;
|
|
5982
|
+
};
|
|
5912
5983
|
};
|
|
5913
5984
|
skeletonRoot: ({ theme }: any) => {
|
|
5914
5985
|
[x: number]: {
|
|
@@ -5922,6 +5993,9 @@ declare const theme: {
|
|
|
5922
5993
|
styleOverrides: {
|
|
5923
5994
|
root: ({ theme }: any) => {
|
|
5924
5995
|
marginTop: number;
|
|
5996
|
+
'& .SCGroupInfoWidget-root': {
|
|
5997
|
+
padding: any;
|
|
5998
|
+
};
|
|
5925
5999
|
};
|
|
5926
6000
|
skeletonRoot: ({ theme }: any) => {
|
|
5927
6001
|
[x: number]: {
|
|
@@ -5952,10 +6026,24 @@ declare const theme: {
|
|
|
5952
6026
|
SCGroups: {
|
|
5953
6027
|
styleOverrides: {
|
|
5954
6028
|
root: ({ theme }: any) => {
|
|
6029
|
+
'& .SCGroups-skeleton-root ': {
|
|
6030
|
+
'& .MuiGrid-item': {
|
|
6031
|
+
paddingTop: number;
|
|
6032
|
+
};
|
|
6033
|
+
};
|
|
6034
|
+
'& .MuiGrid-container': {
|
|
6035
|
+
justifyContent: string;
|
|
6036
|
+
};
|
|
6037
|
+
'& .SCGroups-filters': {
|
|
6038
|
+
marginTop: any;
|
|
6039
|
+
marginBottom: any;
|
|
6040
|
+
};
|
|
5955
6041
|
'& .SCGroups-groups': {
|
|
5956
6042
|
marginTop: any;
|
|
5957
6043
|
'& .SCGroups-item': {
|
|
5958
|
-
|
|
6044
|
+
[x: number]: {
|
|
6045
|
+
padding: any;
|
|
6046
|
+
};
|
|
5959
6047
|
width: string;
|
|
5960
6048
|
'& > div': {
|
|
5961
6049
|
cursor: string;
|
|
@@ -5964,6 +6052,7 @@ declare const theme: {
|
|
|
5964
6052
|
};
|
|
5965
6053
|
};
|
|
5966
6054
|
'& .SCGroups-no-results': {
|
|
6055
|
+
marginTop: any;
|
|
5967
6056
|
display: string;
|
|
5968
6057
|
flexDirection: string;
|
|
5969
6058
|
justifyContent: string;
|
|
@@ -5977,9 +6066,21 @@ declare const theme: {
|
|
|
5977
6066
|
fontSize: any;
|
|
5978
6067
|
};
|
|
5979
6068
|
};
|
|
6069
|
+
'& .SCGroups-end-message': {
|
|
6070
|
+
display: string;
|
|
6071
|
+
alignItems: string;
|
|
6072
|
+
justifyContent: string;
|
|
6073
|
+
'& .MuiButtonBase-root': {
|
|
6074
|
+
paddingLeft: any;
|
|
6075
|
+
'&.Mui-selected, &:hover': {
|
|
6076
|
+
backgroundColor: string;
|
|
6077
|
+
};
|
|
6078
|
+
};
|
|
6079
|
+
};
|
|
5980
6080
|
};
|
|
5981
6081
|
skeletonRoot: ({ theme }: any) => {
|
|
5982
6082
|
'& .SCGroups-groups': {
|
|
6083
|
+
justifyContent: string;
|
|
5983
6084
|
marginTop: any;
|
|
5984
6085
|
'& .SCGroup-skeleton-root': {
|
|
5985
6086
|
padding: any;
|
|
@@ -6024,6 +6125,20 @@ declare const theme: {
|
|
|
6024
6125
|
};
|
|
6025
6126
|
};
|
|
6026
6127
|
};
|
|
6128
|
+
SCGroupInvitedWidget: {
|
|
6129
|
+
styleOverrides: {
|
|
6130
|
+
root: ({ theme }: any) => {};
|
|
6131
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
6132
|
+
dialogRoot: ({ theme }: any) => {};
|
|
6133
|
+
};
|
|
6134
|
+
};
|
|
6135
|
+
SCUserSubscribedGroupsWidget: {
|
|
6136
|
+
styleOverrides: {
|
|
6137
|
+
root: ({ theme }: any) => {};
|
|
6138
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
6139
|
+
dialogRoot: ({ theme }: any) => {};
|
|
6140
|
+
};
|
|
6141
|
+
};
|
|
6027
6142
|
};
|
|
6028
6143
|
selfcommunity: {
|
|
6029
6144
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -136,6 +136,8 @@ 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
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"));
|
|
139
141
|
/**
|
|
140
142
|
* Style fragments - Imports - End
|
|
141
143
|
*/
|
|
@@ -332,7 +334,9 @@ const theme = {
|
|
|
332
334
|
SCGroups: SCGroups_1.default,
|
|
333
335
|
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
334
336
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
335
|
-
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default
|
|
337
|
+
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default,
|
|
338
|
+
SCGroupInvitedWidget: SCGroupInvitedWidget_1.default,
|
|
339
|
+
SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default
|
|
336
340
|
},
|
|
337
341
|
selfcommunity: {
|
|
338
342
|
user: {
|
|
@@ -355,7 +359,7 @@ const theme = {
|
|
|
355
359
|
sizeSmall: 40,
|
|
356
360
|
sizeMedium: 60,
|
|
357
361
|
sizeLarge: 90,
|
|
358
|
-
sizeXLarge:
|
|
362
|
+
sizeXLarge: 205
|
|
359
363
|
}
|
|
360
364
|
}
|
|
361
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'
|