@selfcommunity/react-theme-default 0.1.9-alpha.8 → 0.1.9-alpha.81
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/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 +147 -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/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 +147 -10
- package/lib/esm/index.js +8 -2
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
flexDirection: string;
|
|
4
5
|
borderRadius: any;
|
|
5
6
|
padding: any;
|
|
6
7
|
boxShadow: string;
|
|
@@ -19,6 +20,10 @@ declare const Component: {
|
|
|
19
20
|
right: any;
|
|
20
21
|
padding: any;
|
|
21
22
|
};
|
|
23
|
+
'& .SCPrivateMessageThreadItem-username': {
|
|
24
|
+
marginRight: string;
|
|
25
|
+
marginBottom: any;
|
|
26
|
+
};
|
|
22
27
|
'& .SCPrivateMessageThreadItem-text': {
|
|
23
28
|
display: string;
|
|
24
29
|
alignItems: string;
|
|
@@ -83,7 +88,6 @@ declare const Component: {
|
|
|
83
88
|
};
|
|
84
89
|
'& .MuiButtonBase-root': {
|
|
85
90
|
flexWrap: string;
|
|
86
|
-
width: string;
|
|
87
91
|
position: string;
|
|
88
92
|
bottom: any;
|
|
89
93
|
backgroundColor: string;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
flexDirection: 'column',
|
|
6
7
|
borderRadius: theme.shape.borderRadius,
|
|
7
8
|
padding: theme.spacing(2, 4, 4, 2),
|
|
8
9
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
@@ -21,6 +22,10 @@ const Component = {
|
|
|
21
22
|
right: theme.spacing(3),
|
|
22
23
|
padding: theme.spacing(0.5, 0, 0.5, 0)
|
|
23
24
|
},
|
|
25
|
+
'& .SCPrivateMessageThreadItem-username': {
|
|
26
|
+
marginRight: 'auto',
|
|
27
|
+
marginBottom: theme.spacing(1)
|
|
28
|
+
},
|
|
24
29
|
'& .SCPrivateMessageThreadItem-text': {
|
|
25
30
|
display: 'flex',
|
|
26
31
|
alignItems: 'center',
|
|
@@ -85,7 +90,7 @@ const Component = {
|
|
|
85
90
|
},
|
|
86
91
|
'& .MuiButtonBase-root': {
|
|
87
92
|
flexWrap: 'wrap',
|
|
88
|
-
width: 'calc(100% - 24px)',
|
|
93
|
+
//width: 'calc(100% - 24px)',
|
|
89
94
|
position: 'absolute',
|
|
90
95
|
bottom: theme.spacing(4),
|
|
91
96
|
backgroundColor: 'rgba(0,0,0,0.5)',
|
|
@@ -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,6 +5613,7 @@ declare const theme: {
|
|
|
5554
5613
|
boxShadow: string;
|
|
5555
5614
|
};
|
|
5556
5615
|
'& .SCGroupHeader-info': {
|
|
5616
|
+
marginTop: any;
|
|
5557
5617
|
display: string;
|
|
5558
5618
|
flexDirection: string;
|
|
5559
5619
|
justifyContent: string;
|
|
@@ -5583,6 +5643,10 @@ declare const theme: {
|
|
|
5583
5643
|
'& .SCEditGroupButton-root': {
|
|
5584
5644
|
marginLeft: string;
|
|
5585
5645
|
marginTop: any;
|
|
5646
|
+
marginRight: any;
|
|
5647
|
+
};
|
|
5648
|
+
'& .SCGroupSubscribeButton-root': {
|
|
5649
|
+
marginTop: any;
|
|
5586
5650
|
};
|
|
5587
5651
|
};
|
|
5588
5652
|
'& .SCGroupHeader-avatar': {
|
|
@@ -5622,7 +5686,7 @@ declare const theme: {
|
|
|
5622
5686
|
position: string;
|
|
5623
5687
|
'& .SCGroupHeader-cover': {
|
|
5624
5688
|
[x: number]: {
|
|
5625
|
-
|
|
5689
|
+
borderRadius: any;
|
|
5626
5690
|
};
|
|
5627
5691
|
height: number;
|
|
5628
5692
|
};
|
|
@@ -5818,6 +5882,9 @@ declare const theme: {
|
|
|
5818
5882
|
'& .SCGroupInviteButton-invited-box': {
|
|
5819
5883
|
marginTop: any;
|
|
5820
5884
|
marginBottom: any;
|
|
5885
|
+
'& .MuiChip-root': {
|
|
5886
|
+
marginBottom: any;
|
|
5887
|
+
};
|
|
5821
5888
|
};
|
|
5822
5889
|
'& .SCGroupInviteButton-suggested': {
|
|
5823
5890
|
'& h4': {
|
|
@@ -5883,7 +5950,12 @@ declare const theme: {
|
|
|
5883
5950
|
};
|
|
5884
5951
|
};
|
|
5885
5952
|
'& .SCBaseItemButton-primary': {
|
|
5953
|
+
display: string;
|
|
5954
|
+
alignItems: string;
|
|
5886
5955
|
fontWeight: any;
|
|
5956
|
+
'& .SCGroup-icon': {
|
|
5957
|
+
marginLeft: any;
|
|
5958
|
+
};
|
|
5887
5959
|
};
|
|
5888
5960
|
'& .SCBaseItemButton-secondary': {
|
|
5889
5961
|
fontSize: string;
|
|
@@ -5905,6 +5977,9 @@ declare const theme: {
|
|
|
5905
5977
|
'& .SCCategoryTemplate-feed': {
|
|
5906
5978
|
marginTop: any;
|
|
5907
5979
|
};
|
|
5980
|
+
'& .SCGroupInfoWidget-root': {
|
|
5981
|
+
marginTop: any;
|
|
5982
|
+
};
|
|
5908
5983
|
};
|
|
5909
5984
|
skeletonRoot: ({ theme }: any) => {
|
|
5910
5985
|
[x: number]: {
|
|
@@ -5918,6 +5993,9 @@ declare const theme: {
|
|
|
5918
5993
|
styleOverrides: {
|
|
5919
5994
|
root: ({ theme }: any) => {
|
|
5920
5995
|
marginTop: number;
|
|
5996
|
+
'& .SCGroupInfoWidget-root': {
|
|
5997
|
+
padding: any;
|
|
5998
|
+
};
|
|
5921
5999
|
};
|
|
5922
6000
|
skeletonRoot: ({ theme }: any) => {
|
|
5923
6001
|
[x: number]: {
|
|
@@ -5948,10 +6026,24 @@ declare const theme: {
|
|
|
5948
6026
|
SCGroups: {
|
|
5949
6027
|
styleOverrides: {
|
|
5950
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
|
+
};
|
|
5951
6041
|
'& .SCGroups-groups': {
|
|
5952
6042
|
marginTop: any;
|
|
5953
6043
|
'& .SCGroups-item': {
|
|
5954
|
-
|
|
6044
|
+
[x: number]: {
|
|
6045
|
+
padding: any;
|
|
6046
|
+
};
|
|
5955
6047
|
width: string;
|
|
5956
6048
|
'& > div': {
|
|
5957
6049
|
cursor: string;
|
|
@@ -5960,6 +6052,7 @@ declare const theme: {
|
|
|
5960
6052
|
};
|
|
5961
6053
|
};
|
|
5962
6054
|
'& .SCGroups-no-results': {
|
|
6055
|
+
marginTop: any;
|
|
5963
6056
|
display: string;
|
|
5964
6057
|
flexDirection: string;
|
|
5965
6058
|
justifyContent: string;
|
|
@@ -5973,9 +6066,21 @@ declare const theme: {
|
|
|
5973
6066
|
fontSize: any;
|
|
5974
6067
|
};
|
|
5975
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
|
+
};
|
|
5976
6080
|
};
|
|
5977
6081
|
skeletonRoot: ({ theme }: any) => {
|
|
5978
6082
|
'& .SCGroups-groups': {
|
|
6083
|
+
justifyContent: string;
|
|
5979
6084
|
marginTop: any;
|
|
5980
6085
|
'& .SCGroup-skeleton-root': {
|
|
5981
6086
|
padding: any;
|
|
@@ -6002,6 +6107,38 @@ declare const theme: {
|
|
|
6002
6107
|
root: ({ theme }: any) => {};
|
|
6003
6108
|
};
|
|
6004
6109
|
};
|
|
6110
|
+
SCGroupSettingsIconButton: {
|
|
6111
|
+
styleOverrides: {
|
|
6112
|
+
root: ({ theme }: any) => {};
|
|
6113
|
+
menuRoot: ({ theme }: any) => {
|
|
6114
|
+
'& .SCGroupSettingsIconButton-paper': {
|
|
6115
|
+
maxWidth: number;
|
|
6116
|
+
padding: any;
|
|
6117
|
+
};
|
|
6118
|
+
};
|
|
6119
|
+
drawerRoot: ({ theme }: any) => {
|
|
6120
|
+
'& .MuiList-root': {
|
|
6121
|
+
'& a': {
|
|
6122
|
+
color: string;
|
|
6123
|
+
};
|
|
6124
|
+
};
|
|
6125
|
+
};
|
|
6126
|
+
};
|
|
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
|
+
};
|
|
6005
6142
|
};
|
|
6006
6143
|
selfcommunity: {
|
|
6007
6144
|
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': {
|