@selfcommunity/react-theme-default 0.1.9-alpha.3 → 0.1.9-alpha.4
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/SCComposer.d.ts +1 -0
- package/lib/cjs/components/SCComposer.js +5 -4
- package/lib/cjs/components/SCCreateGroupButton.d.ts +5 -2
- package/lib/cjs/components/SCCreateGroupButton.js +5 -2
- package/lib/cjs/components/SCEditGroupButton.d.ts +13 -0
- package/lib/cjs/components/SCEditGroupButton.js +15 -0
- package/lib/cjs/components/SCGroupAutocomplete.d.ts +6 -0
- package/lib/cjs/components/SCGroupAutocomplete.js +8 -0
- package/lib/cjs/components/SCGroupFeedTemplate.d.ts +0 -29
- package/lib/cjs/components/SCGroupFeedTemplate.js +1 -30
- package/lib/cjs/components/{SCCreateGroup.d.ts → SCGroupForm.d.ts} +13 -10
- package/lib/cjs/components/{SCCreateGroup.js → SCGroupForm.js} +13 -10
- package/lib/cjs/components/SCGroupHeader.d.ts +4 -1
- package/lib/cjs/components/SCGroupHeader.js +4 -1
- package/lib/cjs/components/SCGroupInviteButton.d.ts +5 -2
- package/lib/cjs/components/SCGroupInviteButton.js +5 -2
- package/lib/cjs/components/SCGroupMembersWidget.d.ts +2 -2
- package/lib/cjs/components/SCGroupMembersWidget.js +2 -2
- package/lib/cjs/components/SCGroups.d.ts +22 -2
- package/lib/cjs/components/SCGroups.js +22 -2
- package/lib/cjs/index.d.ts +69 -48
- package/lib/cjs/index.js +7 -3
- package/lib/esm/components/SCComposer.d.ts +1 -0
- package/lib/esm/components/SCComposer.js +5 -4
- package/lib/esm/components/SCCreateGroupButton.d.ts +5 -2
- package/lib/esm/components/SCCreateGroupButton.js +5 -2
- package/lib/esm/components/SCEditGroupButton.d.ts +13 -0
- package/lib/esm/components/SCEditGroupButton.js +13 -0
- package/lib/esm/components/SCGroupAutocomplete.d.ts +6 -0
- package/lib/esm/components/SCGroupAutocomplete.js +6 -0
- package/lib/esm/components/SCGroupFeedTemplate.d.ts +0 -29
- package/lib/esm/components/SCGroupFeedTemplate.js +1 -30
- package/lib/esm/components/{SCCreateGroup.d.ts → SCGroupForm.d.ts} +13 -10
- package/lib/esm/components/{SCCreateGroup.js → SCGroupForm.js} +13 -10
- package/lib/esm/components/SCGroupHeader.d.ts +4 -1
- package/lib/esm/components/SCGroupHeader.js +4 -1
- package/lib/esm/components/SCGroupInviteButton.d.ts +5 -2
- package/lib/esm/components/SCGroupInviteButton.js +5 -2
- package/lib/esm/components/SCGroupMembersWidget.d.ts +2 -2
- package/lib/esm/components/SCGroupMembersWidget.js +2 -2
- package/lib/esm/components/SCGroups.d.ts +22 -2
- package/lib/esm/components/SCGroups.js +22 -2
- package/lib/esm/index.d.ts +69 -48
- package/lib/esm/index.js +7 -3
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1231,6 +1231,7 @@ declare const theme: {
|
|
|
1231
1231
|
};
|
|
1232
1232
|
};
|
|
1233
1233
|
layerCategoryRoot: ({ theme }: any) => {};
|
|
1234
|
+
layerGroupRoot: ({ theme }: any) => {};
|
|
1234
1235
|
layerCloseRoot: ({ theme }: any) => {
|
|
1235
1236
|
'& .SCComposer-layer-content': {
|
|
1236
1237
|
'& .MuiTypography-root': {
|
|
@@ -5579,6 +5580,10 @@ declare const theme: {
|
|
|
5579
5580
|
gap: any;
|
|
5580
5581
|
};
|
|
5581
5582
|
};
|
|
5583
|
+
'& .SCEditGroupButton-root': {
|
|
5584
|
+
marginLeft: string;
|
|
5585
|
+
marginTop: any;
|
|
5586
|
+
};
|
|
5582
5587
|
};
|
|
5583
5588
|
'& .SCGroupHeader-avatar': {
|
|
5584
5589
|
top: number;
|
|
@@ -5602,7 +5607,6 @@ declare const theme: {
|
|
|
5602
5607
|
display: string;
|
|
5603
5608
|
};
|
|
5604
5609
|
'& .SCGroupHeader-name': {
|
|
5605
|
-
marginTop: number;
|
|
5606
5610
|
marginBottom: any;
|
|
5607
5611
|
fontWeight: any;
|
|
5608
5612
|
fontSize: string;
|
|
@@ -5693,20 +5697,23 @@ declare const theme: {
|
|
|
5693
5697
|
SCCreateGroupButton: {
|
|
5694
5698
|
styleOverrides: {
|
|
5695
5699
|
root: ({ theme }: any) => {
|
|
5696
|
-
'& .
|
|
5697
|
-
|
|
5700
|
+
'& .MuiButton-startIcon': {
|
|
5701
|
+
marginRight: any;
|
|
5702
|
+
'& .MuiIcon-root': {
|
|
5703
|
+
fontSize: string;
|
|
5704
|
+
};
|
|
5698
5705
|
};
|
|
5699
5706
|
};
|
|
5700
5707
|
};
|
|
5701
5708
|
};
|
|
5702
|
-
|
|
5709
|
+
SCGroupForm: {
|
|
5703
5710
|
styleOverrides: {
|
|
5704
5711
|
root: ({ theme }: any) => {
|
|
5705
|
-
'& .
|
|
5712
|
+
'& .SCGroupForm-cover': {
|
|
5706
5713
|
position: string;
|
|
5707
5714
|
height: number;
|
|
5708
5715
|
minHeight: number;
|
|
5709
|
-
'& .
|
|
5716
|
+
'& .SCGroupForm-avatar': {
|
|
5710
5717
|
top: number;
|
|
5711
5718
|
display: string;
|
|
5712
5719
|
position: string;
|
|
@@ -5737,11 +5744,14 @@ declare const theme: {
|
|
|
5737
5744
|
bottom: any;
|
|
5738
5745
|
};
|
|
5739
5746
|
};
|
|
5740
|
-
'& .
|
|
5747
|
+
'& .SCGroupForm-header': {
|
|
5741
5748
|
marginTop: any;
|
|
5742
5749
|
color: any;
|
|
5743
5750
|
};
|
|
5744
|
-
'& .
|
|
5751
|
+
'& .SCGroupForm-error': {
|
|
5752
|
+
color: any;
|
|
5753
|
+
};
|
|
5754
|
+
'& .SCGroupForm-switch': {
|
|
5745
5755
|
'& .MuiButtonBase-root': {
|
|
5746
5756
|
'&.Mui-checked': {
|
|
5747
5757
|
color: any;
|
|
@@ -5751,30 +5761,30 @@ declare const theme: {
|
|
|
5751
5761
|
};
|
|
5752
5762
|
};
|
|
5753
5763
|
};
|
|
5754
|
-
'& .
|
|
5764
|
+
'& .SCGroupForm-switch-label': {
|
|
5755
5765
|
fontWeight: any;
|
|
5756
5766
|
display: string;
|
|
5757
5767
|
alignItems: string;
|
|
5758
5768
|
justifyContent: string;
|
|
5759
5769
|
gap: any;
|
|
5760
5770
|
};
|
|
5761
|
-
'& .
|
|
5771
|
+
'& .SCGroupForm-active': {
|
|
5762
5772
|
color: any;
|
|
5763
5773
|
};
|
|
5764
|
-
'& .
|
|
5774
|
+
'& .SCGroupForm-privacy-section': {
|
|
5765
5775
|
marginTop: any;
|
|
5766
|
-
'& .
|
|
5776
|
+
'& .SCGroupForm-privacy-section-info': {
|
|
5767
5777
|
marginBottom: any;
|
|
5768
5778
|
};
|
|
5769
5779
|
};
|
|
5770
|
-
'& .
|
|
5780
|
+
'& .SCGroupForm-visibility-section-info': {
|
|
5771
5781
|
marginTop: any;
|
|
5772
5782
|
};
|
|
5773
5783
|
'& .MuiDivider-root': {
|
|
5774
5784
|
marginTop: any;
|
|
5775
5785
|
border: string;
|
|
5776
5786
|
};
|
|
5777
|
-
'& .
|
|
5787
|
+
'& .SCGroupForm-invite-section': {
|
|
5778
5788
|
marginTop: any;
|
|
5779
5789
|
display: string;
|
|
5780
5790
|
justifyContent: string;
|
|
@@ -5786,8 +5796,11 @@ declare const theme: {
|
|
|
5786
5796
|
SCGroupInviteButton: {
|
|
5787
5797
|
styleOverrides: {
|
|
5788
5798
|
root: ({ theme }: any) => {
|
|
5789
|
-
'& .
|
|
5790
|
-
|
|
5799
|
+
'& .MuiButton-startIcon': {
|
|
5800
|
+
marginRight: any;
|
|
5801
|
+
'& .MuiIcon-root': {
|
|
5802
|
+
fontSize: string;
|
|
5803
|
+
};
|
|
5791
5804
|
};
|
|
5792
5805
|
};
|
|
5793
5806
|
dialogRoot: ({ theme }: any) => {
|
|
@@ -5916,35 +5929,6 @@ declare const theme: {
|
|
|
5916
5929
|
styleOverrides: {
|
|
5917
5930
|
root: ({ theme }: any) => {
|
|
5918
5931
|
marginTop: number;
|
|
5919
|
-
'& .SCGroupFeedTemplate-feed': {
|
|
5920
|
-
marginTop: any;
|
|
5921
|
-
};
|
|
5922
|
-
'& .SCGroupFeedTemplate-tabs': {
|
|
5923
|
-
'& .MuiTabs-flexContainer': {
|
|
5924
|
-
borderBottom: string;
|
|
5925
|
-
};
|
|
5926
|
-
'& .MuiTabs-indicator': {
|
|
5927
|
-
display: string;
|
|
5928
|
-
justifyContent: string;
|
|
5929
|
-
backgroundColor: string;
|
|
5930
|
-
};
|
|
5931
|
-
'& .MuiTabs-indicatorSpan': {
|
|
5932
|
-
maxWidth: string;
|
|
5933
|
-
width: string;
|
|
5934
|
-
backgroundColor: any;
|
|
5935
|
-
};
|
|
5936
|
-
};
|
|
5937
|
-
'& .SCGroupFeedTemplate-tab-content': {
|
|
5938
|
-
'& .SCGroupFeedTemplate-members': {
|
|
5939
|
-
display: string;
|
|
5940
|
-
flexDirection: string;
|
|
5941
|
-
gap: any;
|
|
5942
|
-
};
|
|
5943
|
-
};
|
|
5944
|
-
};
|
|
5945
|
-
tabRoot: ({ theme }: any) => {
|
|
5946
|
-
textTransform: string;
|
|
5947
|
-
fontWeight: any;
|
|
5948
5932
|
};
|
|
5949
5933
|
skeletonRoot: ({ theme }: any) => {
|
|
5950
5934
|
[x: number]: {
|
|
@@ -5957,8 +5941,8 @@ declare const theme: {
|
|
|
5957
5941
|
SCGroupMembersWidget: {
|
|
5958
5942
|
styleOverrides: {
|
|
5959
5943
|
root: ({ theme }: any) => {
|
|
5960
|
-
'& .SCGroupMembersWidget-
|
|
5961
|
-
|
|
5944
|
+
'& .SCGroupMembersWidget-actions': {
|
|
5945
|
+
margin: any;
|
|
5962
5946
|
};
|
|
5963
5947
|
};
|
|
5964
5948
|
skeletonRoot: ({ theme }: any) => {};
|
|
@@ -5973,9 +5957,46 @@ declare const theme: {
|
|
|
5973
5957
|
};
|
|
5974
5958
|
};
|
|
5975
5959
|
SCGroups: {
|
|
5960
|
+
styleOverrides: {
|
|
5961
|
+
root: ({ theme }: any) => {
|
|
5962
|
+
'& .SCGroups-groups': {
|
|
5963
|
+
marginTop: any;
|
|
5964
|
+
'& .SCGroups-item': {
|
|
5965
|
+
padding: any;
|
|
5966
|
+
width: string;
|
|
5967
|
+
'& > div': {
|
|
5968
|
+
cursor: string;
|
|
5969
|
+
padding: any;
|
|
5970
|
+
};
|
|
5971
|
+
};
|
|
5972
|
+
};
|
|
5973
|
+
};
|
|
5974
|
+
skeletonRoot: ({ theme }: any) => {
|
|
5975
|
+
'& .SCGroups-groups': {
|
|
5976
|
+
marginTop: any;
|
|
5977
|
+
'& .SCGroup-skeleton-root': {
|
|
5978
|
+
padding: any;
|
|
5979
|
+
width: string;
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5982
|
+
};
|
|
5983
|
+
};
|
|
5984
|
+
};
|
|
5985
|
+
SCEditGroupButton: {
|
|
5986
|
+
styleOverrides: {
|
|
5987
|
+
root: ({ theme }: any) => {
|
|
5988
|
+
'& .MuiButton-startIcon': {
|
|
5989
|
+
marginRight: any;
|
|
5990
|
+
'& .MuiIcon-root': {
|
|
5991
|
+
fontSize: string;
|
|
5992
|
+
};
|
|
5993
|
+
};
|
|
5994
|
+
};
|
|
5995
|
+
};
|
|
5996
|
+
};
|
|
5997
|
+
SCGroupAutocomplete: {
|
|
5976
5998
|
styleOverrides: {
|
|
5977
5999
|
root: ({ theme }: any) => {};
|
|
5978
|
-
skeletonRoot: ({ theme }: any) => {};
|
|
5979
6000
|
};
|
|
5980
6001
|
};
|
|
5981
6002
|
};
|
package/lib/cjs/index.js
CHANGED
|
@@ -124,7 +124,7 @@ const SCChangeGroupCoverButton_1 = tslib_1.__importDefault(require("./components
|
|
|
124
124
|
const SCChangeGroupPictureButton_1 = tslib_1.__importDefault(require("./components/SCChangeGroupPictureButton"));
|
|
125
125
|
const SCGroupMembersButton_1 = tslib_1.__importDefault(require("./components/SCGroupMembersButton"));
|
|
126
126
|
const SCCreateGroupButton_1 = tslib_1.__importDefault(require("./components/SCCreateGroupButton"));
|
|
127
|
-
const
|
|
127
|
+
const SCGroupForm_1 = tslib_1.__importDefault(require("./components/SCGroupForm"));
|
|
128
128
|
const SCGroupInviteButton_1 = tslib_1.__importDefault(require("./components/SCGroupInviteButton"));
|
|
129
129
|
const SCGroupInfoWidget_1 = tslib_1.__importDefault(require("./components/SCGroupInfoWidget"));
|
|
130
130
|
const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
|
|
@@ -133,6 +133,8 @@ const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGr
|
|
|
133
133
|
const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCGroupMembersWidget"));
|
|
134
134
|
const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
|
|
135
135
|
const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
|
|
136
|
+
const SCEditGroupButton_1 = tslib_1.__importDefault(require("./components/SCEditGroupButton"));
|
|
137
|
+
const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
|
|
136
138
|
/**
|
|
137
139
|
* Style fragments - Imports - End
|
|
138
140
|
*/
|
|
@@ -318,7 +320,7 @@ const theme = {
|
|
|
318
320
|
SCChangeGroupPictureButton: SCChangeGroupPictureButton_1.default,
|
|
319
321
|
SCGroupMembersButton: SCGroupMembersButton_1.default,
|
|
320
322
|
SCCreateGroupButton: SCCreateGroupButton_1.default,
|
|
321
|
-
|
|
323
|
+
SCGroupForm: SCGroupForm_1.default,
|
|
322
324
|
SCGroupInviteButton: SCGroupInviteButton_1.default,
|
|
323
325
|
SCGroupInfoWidget: SCGroupInfoWidget_1.default,
|
|
324
326
|
SCGroup: SCGroup_1.default,
|
|
@@ -326,7 +328,9 @@ const theme = {
|
|
|
326
328
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
327
329
|
SCGroupMembersWidget: SCGroupMembersWidget_1.default,
|
|
328
330
|
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
|
|
329
|
-
SCGroups: SCGroups_1.default
|
|
331
|
+
SCGroups: SCGroups_1.default,
|
|
332
|
+
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
333
|
+
SCGroupAutocomplete: SCGroupAutocomplete_1.default
|
|
330
334
|
},
|
|
331
335
|
selfcommunity: {
|
|
332
336
|
user: {
|
|
@@ -53,7 +53,7 @@ const Component = {
|
|
|
53
53
|
left: theme.spacing(0.2),
|
|
54
54
|
marginBottom: 0,
|
|
55
55
|
backgroundColor: theme.palette.background.paper
|
|
56
|
-
}
|
|
56
|
+
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
},
|
|
@@ -81,7 +81,7 @@ const Component = {
|
|
|
81
81
|
'& .SCComposer-general-error': {
|
|
82
82
|
marginBottom: theme.spacing(2),
|
|
83
83
|
color: theme.palette.error.main
|
|
84
|
-
}
|
|
84
|
+
}
|
|
85
85
|
},
|
|
86
86
|
[theme.breakpoints.up('md')]: {
|
|
87
87
|
'& .MuiDialog-paper': {
|
|
@@ -96,7 +96,7 @@ const Component = {
|
|
|
96
96
|
'& .MuiDialogActions-root': {
|
|
97
97
|
justifyContent: 'center'
|
|
98
98
|
}
|
|
99
|
-
}
|
|
99
|
+
}
|
|
100
100
|
}
|
|
101
101
|
}),
|
|
102
102
|
attributesRoot: ({ theme }) => ({}),
|
|
@@ -171,6 +171,7 @@ const Component = {
|
|
|
171
171
|
}
|
|
172
172
|
}),
|
|
173
173
|
layerCategoryRoot: ({ theme }) => ({}),
|
|
174
|
+
layerGroupRoot: ({ theme }) => ({}),
|
|
174
175
|
layerCloseRoot: ({ theme }) => ({
|
|
175
176
|
'& .SCComposer-layer-content': {
|
|
176
177
|
'& .MuiTypography-root': {
|
|
@@ -210,7 +211,7 @@ const Component = {
|
|
|
210
211
|
paddingRight: theme.spacing(4)
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
|
-
})
|
|
214
|
+
})
|
|
214
215
|
}
|
|
215
216
|
};
|
|
216
217
|
export default Component;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
|
-
'& .
|
|
5
|
-
|
|
4
|
+
'& .MuiButton-startIcon': {
|
|
5
|
+
marginRight: theme.spacing(0.5),
|
|
6
|
+
'& .MuiIcon-root': {
|
|
7
|
+
fontSize: '0.75rem !important'
|
|
8
|
+
}
|
|
6
9
|
}
|
|
7
10
|
})
|
|
8
11
|
}
|
|
@@ -2,35 +2,6 @@ declare const Component: {
|
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
marginTop: number;
|
|
5
|
-
'& .SCGroupFeedTemplate-feed': {
|
|
6
|
-
marginTop: any;
|
|
7
|
-
};
|
|
8
|
-
'& .SCGroupFeedTemplate-tabs': {
|
|
9
|
-
'& .MuiTabs-flexContainer': {
|
|
10
|
-
borderBottom: string;
|
|
11
|
-
};
|
|
12
|
-
'& .MuiTabs-indicator': {
|
|
13
|
-
display: string;
|
|
14
|
-
justifyContent: string;
|
|
15
|
-
backgroundColor: string;
|
|
16
|
-
};
|
|
17
|
-
'& .MuiTabs-indicatorSpan': {
|
|
18
|
-
maxWidth: string;
|
|
19
|
-
width: string;
|
|
20
|
-
backgroundColor: any;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
'& .SCGroupFeedTemplate-tab-content': {
|
|
24
|
-
'& .SCGroupFeedTemplate-members': {
|
|
25
|
-
display: string;
|
|
26
|
-
flexDirection: string;
|
|
27
|
-
gap: any;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
tabRoot: ({ theme }: any) => {
|
|
32
|
-
textTransform: string;
|
|
33
|
-
fontWeight: any;
|
|
34
5
|
};
|
|
35
6
|
skeletonRoot: ({ theme }: any) => {
|
|
36
7
|
[x: number]: {
|
|
@@ -1,36 +1,7 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
|
-
marginTop: 0
|
|
5
|
-
'& .SCGroupFeedTemplate-feed': {
|
|
6
|
-
marginTop: theme.spacing(2)
|
|
7
|
-
},
|
|
8
|
-
'& .SCGroupFeedTemplate-tabs': {
|
|
9
|
-
'& .MuiTabs-flexContainer': {
|
|
10
|
-
borderBottom: `2px solid ${theme.palette.grey[300]}`
|
|
11
|
-
},
|
|
12
|
-
'& .MuiTabs-indicator': {
|
|
13
|
-
display: 'flex',
|
|
14
|
-
justifyContent: 'center',
|
|
15
|
-
backgroundColor: 'transparent'
|
|
16
|
-
},
|
|
17
|
-
'& .MuiTabs-indicatorSpan': {
|
|
18
|
-
maxWidth: '40%',
|
|
19
|
-
width: '100%',
|
|
20
|
-
backgroundColor: theme.palette.secondary.main
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
'& .SCGroupFeedTemplate-tab-content': {
|
|
24
|
-
'& .SCGroupFeedTemplate-members': {
|
|
25
|
-
display: 'flex',
|
|
26
|
-
flexDirection: 'column',
|
|
27
|
-
gap: theme.spacing(2)
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}),
|
|
31
|
-
tabRoot: ({ theme }) => ({
|
|
32
|
-
textTransform: 'none',
|
|
33
|
-
fontWeight: theme.typography.fontWeightBold
|
|
4
|
+
marginTop: 0
|
|
34
5
|
}),
|
|
35
6
|
skeletonRoot: ({ theme }) => ({
|
|
36
7
|
marginTop: 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
-
'& .
|
|
4
|
+
'& .SCGroupForm-cover': {
|
|
5
5
|
position: string;
|
|
6
6
|
height: number;
|
|
7
7
|
minHeight: number;
|
|
8
|
-
'& .
|
|
8
|
+
'& .SCGroupForm-avatar': {
|
|
9
9
|
top: number;
|
|
10
10
|
display: string;
|
|
11
11
|
position: string;
|
|
@@ -36,11 +36,14 @@ declare const Component: {
|
|
|
36
36
|
bottom: any;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
'& .
|
|
39
|
+
'& .SCGroupForm-header': {
|
|
40
40
|
marginTop: any;
|
|
41
41
|
color: any;
|
|
42
42
|
};
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupForm-error': {
|
|
44
|
+
color: any;
|
|
45
|
+
};
|
|
46
|
+
'& .SCGroupForm-switch': {
|
|
44
47
|
'& .MuiButtonBase-root': {
|
|
45
48
|
'&.Mui-checked': {
|
|
46
49
|
color: any;
|
|
@@ -50,30 +53,30 @@ declare const Component: {
|
|
|
50
53
|
};
|
|
51
54
|
};
|
|
52
55
|
};
|
|
53
|
-
'& .
|
|
56
|
+
'& .SCGroupForm-switch-label': {
|
|
54
57
|
fontWeight: any;
|
|
55
58
|
display: string;
|
|
56
59
|
alignItems: string;
|
|
57
60
|
justifyContent: string;
|
|
58
61
|
gap: any;
|
|
59
62
|
};
|
|
60
|
-
'& .
|
|
63
|
+
'& .SCGroupForm-active': {
|
|
61
64
|
color: any;
|
|
62
65
|
};
|
|
63
|
-
'& .
|
|
66
|
+
'& .SCGroupForm-privacy-section': {
|
|
64
67
|
marginTop: any;
|
|
65
|
-
'& .
|
|
68
|
+
'& .SCGroupForm-privacy-section-info': {
|
|
66
69
|
marginBottom: any;
|
|
67
70
|
};
|
|
68
71
|
};
|
|
69
|
-
'& .
|
|
72
|
+
'& .SCGroupForm-visibility-section-info': {
|
|
70
73
|
marginTop: any;
|
|
71
74
|
};
|
|
72
75
|
'& .MuiDivider-root': {
|
|
73
76
|
marginTop: any;
|
|
74
77
|
border: string;
|
|
75
78
|
};
|
|
76
|
-
'& .
|
|
79
|
+
'& .SCGroupForm-invite-section': {
|
|
77
80
|
marginTop: any;
|
|
78
81
|
display: string;
|
|
79
82
|
justifyContent: string;
|
|
@@ -2,11 +2,11 @@ import { alpha } from '@mui/system';
|
|
|
2
2
|
const Component = {
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
root: ({ theme }) => ({
|
|
5
|
-
'& .
|
|
5
|
+
'& .SCGroupForm-cover': {
|
|
6
6
|
position: 'relative',
|
|
7
7
|
height: 120,
|
|
8
8
|
minHeight: 120,
|
|
9
|
-
'& .
|
|
9
|
+
'& .SCGroupForm-avatar': {
|
|
10
10
|
top: 120,
|
|
11
11
|
display: 'block',
|
|
12
12
|
position: 'absolute',
|
|
@@ -37,11 +37,14 @@ const Component = {
|
|
|
37
37
|
bottom: theme.spacing(2)
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
'& .
|
|
40
|
+
'& .SCGroupForm-header': {
|
|
41
41
|
marginTop: theme.spacing(4.5),
|
|
42
42
|
color: theme.palette.text.secondary
|
|
43
43
|
},
|
|
44
|
-
'& .
|
|
44
|
+
'& .SCGroupForm-error': {
|
|
45
|
+
color: theme.palette.error.main
|
|
46
|
+
},
|
|
47
|
+
'& .SCGroupForm-switch': {
|
|
45
48
|
'& .MuiButtonBase-root': {
|
|
46
49
|
'&.Mui-checked': {
|
|
47
50
|
color: theme.palette.secondary.main,
|
|
@@ -51,30 +54,30 @@ const Component = {
|
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
},
|
|
54
|
-
'& .
|
|
57
|
+
'& .SCGroupForm-switch-label': {
|
|
55
58
|
fontWeight: theme.typography.fontWeightMedium,
|
|
56
59
|
display: 'flex',
|
|
57
60
|
alignItems: 'center',
|
|
58
61
|
justifyContent: 'center',
|
|
59
62
|
gap: theme.spacing(0.5)
|
|
60
63
|
},
|
|
61
|
-
'& .
|
|
64
|
+
'& .SCGroupForm-active': {
|
|
62
65
|
color: theme.palette.secondary.main
|
|
63
66
|
},
|
|
64
|
-
'& .
|
|
67
|
+
'& .SCGroupForm-privacy-section': {
|
|
65
68
|
marginTop: theme.spacing(2),
|
|
66
|
-
'& .
|
|
69
|
+
'& .SCGroupForm-privacy-section-info': {
|
|
67
70
|
marginBottom: theme.spacing(2)
|
|
68
71
|
}
|
|
69
72
|
},
|
|
70
|
-
'& .
|
|
73
|
+
'& .SCGroupForm-visibility-section-info': {
|
|
71
74
|
marginTop: theme.spacing(1)
|
|
72
75
|
},
|
|
73
76
|
'& .MuiDivider-root': {
|
|
74
77
|
marginTop: theme.spacing(2),
|
|
75
78
|
border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
|
|
76
79
|
},
|
|
77
|
-
'& .
|
|
80
|
+
'& .SCGroupForm-invite-section': {
|
|
78
81
|
marginTop: theme.spacing(2),
|
|
79
82
|
display: 'flex',
|
|
80
83
|
justifyContent: 'center',
|
|
@@ -43,6 +43,10 @@ declare const Component: {
|
|
|
43
43
|
gap: any;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
+
'& .SCEditGroupButton-root': {
|
|
47
|
+
marginLeft: string;
|
|
48
|
+
marginTop: any;
|
|
49
|
+
};
|
|
46
50
|
};
|
|
47
51
|
'& .SCGroupHeader-avatar': {
|
|
48
52
|
top: number;
|
|
@@ -66,7 +70,6 @@ declare const Component: {
|
|
|
66
70
|
display: string;
|
|
67
71
|
};
|
|
68
72
|
'& .SCGroupHeader-name': {
|
|
69
|
-
marginTop: number;
|
|
70
73
|
marginBottom: any;
|
|
71
74
|
fontWeight: any;
|
|
72
75
|
fontSize: string;
|
|
@@ -41,6 +41,10 @@ const Component = {
|
|
|
41
41
|
alignItems: 'center',
|
|
42
42
|
gap: theme.spacing(0.5)
|
|
43
43
|
}
|
|
44
|
+
},
|
|
45
|
+
'& .SCEditGroupButton-root': {
|
|
46
|
+
marginLeft: 'auto',
|
|
47
|
+
marginTop: theme.spacing(2)
|
|
44
48
|
}
|
|
45
49
|
},
|
|
46
50
|
'& .SCGroupHeader-avatar': {
|
|
@@ -65,7 +69,6 @@ const Component = {
|
|
|
65
69
|
display: 'flex'
|
|
66
70
|
},
|
|
67
71
|
'& .SCGroupHeader-name': {
|
|
68
|
-
marginTop: 0.5 * theme.selfcommunity.group.avatar.sizeLarge + 8,
|
|
69
72
|
marginBottom: theme.spacing(2),
|
|
70
73
|
fontWeight: theme.typography.fontWeightBold,
|
|
71
74
|
fontSize: '1.429rem',
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
-
'& .
|
|
5
|
-
|
|
4
|
+
'& .MuiButton-startIcon': {
|
|
5
|
+
marginRight: any;
|
|
6
|
+
'& .MuiIcon-root': {
|
|
7
|
+
fontSize: string;
|
|
8
|
+
};
|
|
6
9
|
};
|
|
7
10
|
};
|
|
8
11
|
dialogRoot: ({ theme }: any) => {
|
|
@@ -2,8 +2,11 @@ import { alpha } from '@mui/system';
|
|
|
2
2
|
const Component = {
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
root: ({ theme }) => ({
|
|
5
|
-
'& .
|
|
6
|
-
|
|
5
|
+
'& .MuiButton-startIcon': {
|
|
6
|
+
marginRight: theme.spacing(0.5),
|
|
7
|
+
'& .MuiIcon-root': {
|
|
8
|
+
fontSize: '0.75rem !important'
|
|
9
|
+
}
|
|
7
10
|
}
|
|
8
11
|
}),
|
|
9
12
|
dialogRoot: ({ theme }) => ({
|