@selfcommunity/react-theme-default 0.1.9-alpha.2 → 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 -22
- package/lib/cjs/components/SCGroupFeedTemplate.js +1 -23
- 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 +5 -1
- package/lib/cjs/components/SCGroupMembersWidget.js +5 -1
- package/lib/cjs/components/SCGroups.d.ts +27 -0
- package/lib/cjs/components/SCGroups.js +29 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
- package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
- package/lib/cjs/index.d.ts +78 -43
- package/lib/cjs/index.js +9 -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 -22
- package/lib/esm/components/SCGroupFeedTemplate.js +1 -23
- 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 +5 -1
- package/lib/esm/components/SCGroupMembersWidget.js +5 -1
- package/lib/esm/components/SCGroups.d.ts +27 -0
- package/lib/esm/components/SCGroups.js +27 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
- package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
- package/lib/esm/index.d.ts +78 -43
- package/lib/esm/index.js +9 -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': {
|
|
@@ -3254,7 +3255,7 @@ declare const theme: {
|
|
|
3254
3255
|
flexGrow: number;
|
|
3255
3256
|
textAlign: string;
|
|
3256
3257
|
alignSelf: string;
|
|
3257
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
3258
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
|
|
3258
3259
|
paddingTop: number;
|
|
3259
3260
|
paddingLeft: any;
|
|
3260
3261
|
paddingRight: any;
|
|
@@ -4886,9 +4887,6 @@ declare const theme: {
|
|
|
4886
4887
|
styleOverrides: {
|
|
4887
4888
|
root: ({ theme }: any) => {
|
|
4888
4889
|
backgroundColor: string;
|
|
4889
|
-
'& .MuiIcon-root': {
|
|
4890
|
-
fontSize: string;
|
|
4891
|
-
};
|
|
4892
4890
|
'& .SCPrivateMessageEditor-message-input': {
|
|
4893
4891
|
width: string;
|
|
4894
4892
|
};
|
|
@@ -5582,6 +5580,10 @@ declare const theme: {
|
|
|
5582
5580
|
gap: any;
|
|
5583
5581
|
};
|
|
5584
5582
|
};
|
|
5583
|
+
'& .SCEditGroupButton-root': {
|
|
5584
|
+
marginLeft: string;
|
|
5585
|
+
marginTop: any;
|
|
5586
|
+
};
|
|
5585
5587
|
};
|
|
5586
5588
|
'& .SCGroupHeader-avatar': {
|
|
5587
5589
|
top: number;
|
|
@@ -5605,7 +5607,6 @@ declare const theme: {
|
|
|
5605
5607
|
display: string;
|
|
5606
5608
|
};
|
|
5607
5609
|
'& .SCGroupHeader-name': {
|
|
5608
|
-
marginTop: number;
|
|
5609
5610
|
marginBottom: any;
|
|
5610
5611
|
fontWeight: any;
|
|
5611
5612
|
fontSize: string;
|
|
@@ -5696,20 +5697,23 @@ declare const theme: {
|
|
|
5696
5697
|
SCCreateGroupButton: {
|
|
5697
5698
|
styleOverrides: {
|
|
5698
5699
|
root: ({ theme }: any) => {
|
|
5699
|
-
'& .
|
|
5700
|
-
|
|
5700
|
+
'& .MuiButton-startIcon': {
|
|
5701
|
+
marginRight: any;
|
|
5702
|
+
'& .MuiIcon-root': {
|
|
5703
|
+
fontSize: string;
|
|
5704
|
+
};
|
|
5701
5705
|
};
|
|
5702
5706
|
};
|
|
5703
5707
|
};
|
|
5704
5708
|
};
|
|
5705
|
-
|
|
5709
|
+
SCGroupForm: {
|
|
5706
5710
|
styleOverrides: {
|
|
5707
5711
|
root: ({ theme }: any) => {
|
|
5708
|
-
'& .
|
|
5712
|
+
'& .SCGroupForm-cover': {
|
|
5709
5713
|
position: string;
|
|
5710
5714
|
height: number;
|
|
5711
5715
|
minHeight: number;
|
|
5712
|
-
'& .
|
|
5716
|
+
'& .SCGroupForm-avatar': {
|
|
5713
5717
|
top: number;
|
|
5714
5718
|
display: string;
|
|
5715
5719
|
position: string;
|
|
@@ -5740,11 +5744,14 @@ declare const theme: {
|
|
|
5740
5744
|
bottom: any;
|
|
5741
5745
|
};
|
|
5742
5746
|
};
|
|
5743
|
-
'& .
|
|
5747
|
+
'& .SCGroupForm-header': {
|
|
5744
5748
|
marginTop: any;
|
|
5745
5749
|
color: any;
|
|
5746
5750
|
};
|
|
5747
|
-
'& .
|
|
5751
|
+
'& .SCGroupForm-error': {
|
|
5752
|
+
color: any;
|
|
5753
|
+
};
|
|
5754
|
+
'& .SCGroupForm-switch': {
|
|
5748
5755
|
'& .MuiButtonBase-root': {
|
|
5749
5756
|
'&.Mui-checked': {
|
|
5750
5757
|
color: any;
|
|
@@ -5754,30 +5761,30 @@ declare const theme: {
|
|
|
5754
5761
|
};
|
|
5755
5762
|
};
|
|
5756
5763
|
};
|
|
5757
|
-
'& .
|
|
5764
|
+
'& .SCGroupForm-switch-label': {
|
|
5758
5765
|
fontWeight: any;
|
|
5759
5766
|
display: string;
|
|
5760
5767
|
alignItems: string;
|
|
5761
5768
|
justifyContent: string;
|
|
5762
5769
|
gap: any;
|
|
5763
5770
|
};
|
|
5764
|
-
'& .
|
|
5771
|
+
'& .SCGroupForm-active': {
|
|
5765
5772
|
color: any;
|
|
5766
5773
|
};
|
|
5767
|
-
'& .
|
|
5774
|
+
'& .SCGroupForm-privacy-section': {
|
|
5768
5775
|
marginTop: any;
|
|
5769
|
-
'& .
|
|
5776
|
+
'& .SCGroupForm-privacy-section-info': {
|
|
5770
5777
|
marginBottom: any;
|
|
5771
5778
|
};
|
|
5772
5779
|
};
|
|
5773
|
-
'& .
|
|
5780
|
+
'& .SCGroupForm-visibility-section-info': {
|
|
5774
5781
|
marginTop: any;
|
|
5775
5782
|
};
|
|
5776
5783
|
'& .MuiDivider-root': {
|
|
5777
5784
|
marginTop: any;
|
|
5778
5785
|
border: string;
|
|
5779
5786
|
};
|
|
5780
|
-
'& .
|
|
5787
|
+
'& .SCGroupForm-invite-section': {
|
|
5781
5788
|
marginTop: any;
|
|
5782
5789
|
display: string;
|
|
5783
5790
|
justifyContent: string;
|
|
@@ -5789,8 +5796,11 @@ declare const theme: {
|
|
|
5789
5796
|
SCGroupInviteButton: {
|
|
5790
5797
|
styleOverrides: {
|
|
5791
5798
|
root: ({ theme }: any) => {
|
|
5792
|
-
'& .
|
|
5793
|
-
|
|
5799
|
+
'& .MuiButton-startIcon': {
|
|
5800
|
+
marginRight: any;
|
|
5801
|
+
'& .MuiIcon-root': {
|
|
5802
|
+
fontSize: string;
|
|
5803
|
+
};
|
|
5794
5804
|
};
|
|
5795
5805
|
};
|
|
5796
5806
|
dialogRoot: ({ theme }: any) => {
|
|
@@ -5919,28 +5929,6 @@ declare const theme: {
|
|
|
5919
5929
|
styleOverrides: {
|
|
5920
5930
|
root: ({ theme }: any) => {
|
|
5921
5931
|
marginTop: number;
|
|
5922
|
-
'& .SCGroupFeedTemplate-feed': {
|
|
5923
|
-
marginTop: any;
|
|
5924
|
-
};
|
|
5925
|
-
'& .SCGroupFeedTemplate-tabs': {
|
|
5926
|
-
'& .MuiTabs-flexContainer': {
|
|
5927
|
-
borderBottom: string;
|
|
5928
|
-
};
|
|
5929
|
-
'& .MuiTabs-indicator': {
|
|
5930
|
-
display: string;
|
|
5931
|
-
justifyContent: string;
|
|
5932
|
-
backgroundColor: string;
|
|
5933
|
-
};
|
|
5934
|
-
'& .MuiTabs-indicatorSpan': {
|
|
5935
|
-
maxWidth: string;
|
|
5936
|
-
width: string;
|
|
5937
|
-
backgroundColor: any;
|
|
5938
|
-
};
|
|
5939
|
-
};
|
|
5940
|
-
};
|
|
5941
|
-
tabRoot: ({ theme }: any) => {
|
|
5942
|
-
textTransform: string;
|
|
5943
|
-
fontWeight: any;
|
|
5944
5932
|
};
|
|
5945
5933
|
skeletonRoot: ({ theme }: any) => {
|
|
5946
5934
|
[x: number]: {
|
|
@@ -5952,7 +5940,11 @@ declare const theme: {
|
|
|
5952
5940
|
};
|
|
5953
5941
|
SCGroupMembersWidget: {
|
|
5954
5942
|
styleOverrides: {
|
|
5955
|
-
root: ({ theme }: any) => {
|
|
5943
|
+
root: ({ theme }: any) => {
|
|
5944
|
+
'& .SCGroupMembersWidget-actions': {
|
|
5945
|
+
margin: any;
|
|
5946
|
+
};
|
|
5947
|
+
};
|
|
5956
5948
|
skeletonRoot: ({ theme }: any) => {};
|
|
5957
5949
|
dialogRoot: ({ theme }: any) => {};
|
|
5958
5950
|
};
|
|
@@ -5964,6 +5956,49 @@ declare const theme: {
|
|
|
5964
5956
|
dialogRoot: ({ theme }: any) => {};
|
|
5965
5957
|
};
|
|
5966
5958
|
};
|
|
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: {
|
|
5998
|
+
styleOverrides: {
|
|
5999
|
+
root: ({ theme }: any) => {};
|
|
6000
|
+
};
|
|
6001
|
+
};
|
|
5967
6002
|
};
|
|
5968
6003
|
selfcommunity: {
|
|
5969
6004
|
user: {
|
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"));
|
|
@@ -132,6 +132,9 @@ const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupT
|
|
|
132
132
|
const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
|
|
133
133
|
const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCGroupMembersWidget"));
|
|
134
134
|
const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
|
|
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"));
|
|
135
138
|
/**
|
|
136
139
|
* Style fragments - Imports - End
|
|
137
140
|
*/
|
|
@@ -317,14 +320,17 @@ const theme = {
|
|
|
317
320
|
SCChangeGroupPictureButton: SCChangeGroupPictureButton_1.default,
|
|
318
321
|
SCGroupMembersButton: SCGroupMembersButton_1.default,
|
|
319
322
|
SCCreateGroupButton: SCCreateGroupButton_1.default,
|
|
320
|
-
|
|
323
|
+
SCGroupForm: SCGroupForm_1.default,
|
|
321
324
|
SCGroupInviteButton: SCGroupInviteButton_1.default,
|
|
322
325
|
SCGroupInfoWidget: SCGroupInfoWidget_1.default,
|
|
323
326
|
SCGroup: SCGroup_1.default,
|
|
324
327
|
SCGroupTemplate: SCGroupTemplate_1.default,
|
|
325
328
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
326
329
|
SCGroupMembersWidget: SCGroupMembersWidget_1.default,
|
|
327
|
-
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default
|
|
330
|
+
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
|
|
331
|
+
SCGroups: SCGroups_1.default,
|
|
332
|
+
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
333
|
+
SCGroupAutocomplete: SCGroupAutocomplete_1.default
|
|
328
334
|
},
|
|
329
335
|
selfcommunity: {
|
|
330
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,28 +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
|
-
};
|
|
24
|
-
tabRoot: ({ theme }: any) => {
|
|
25
|
-
textTransform: string;
|
|
26
|
-
fontWeight: any;
|
|
27
5
|
};
|
|
28
6
|
skeletonRoot: ({ theme }: any) => {
|
|
29
7
|
[x: number]: {
|
|
@@ -1,29 +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: '30%',
|
|
19
|
-
width: '100%',
|
|
20
|
-
backgroundColor: theme.palette.secondary.main
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}),
|
|
24
|
-
tabRoot: ({ theme }) => ({
|
|
25
|
-
textTransform: 'none',
|
|
26
|
-
fontWeight: theme.typography.fontWeightBold
|
|
4
|
+
marginTop: 0
|
|
27
5
|
}),
|
|
28
6
|
skeletonRoot: ({ theme }) => ({
|
|
29
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 }) => ({
|