@selfcommunity/react-theme-default 0.4.5-alpha.2 → 0.4.5-alpha.20
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/SCBaseItemButton.d.ts +26 -35
- package/lib/cjs/components/SCBaseItemButton.js +27 -36
- package/lib/cjs/components/SCCommentObject.d.ts +7 -17
- package/lib/cjs/components/SCCommentObject.js +7 -17
- package/lib/cjs/components/SCComposer.d.ts +38 -9
- package/lib/cjs/components/SCComposer.js +40 -11
- package/lib/cjs/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
- package/lib/cjs/components/SCEvent.d.ts +22 -0
- package/lib/cjs/components/SCEvent.js +22 -0
- package/lib/cjs/components/SCEventFormDialog.d.ts +9 -0
- package/lib/cjs/components/SCEventFormDialog.js +9 -0
- package/lib/cjs/components/SCEvents.d.ts +11 -1
- package/lib/cjs/components/SCEvents.js +12 -2
- package/lib/cjs/components/SCFeedObject.d.ts +21 -15
- package/lib/cjs/components/SCFeedObject.js +22 -16
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/cjs/components/SCGroupForm.d.ts +3 -0
- package/lib/cjs/components/SCGroupForm.js +3 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/cjs/components/SCLiveStreamForm.js +10 -1
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +4 -2
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +4 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.js +5 -2
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +3 -2
- package/lib/cjs/components/SCNavigationMenuDrawer.js +3 -2
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/cjs/index.d.ts +206 -84
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
- package/lib/esm/components/SCBaseItemButton.js +27 -36
- package/lib/esm/components/SCCommentObject.d.ts +7 -17
- package/lib/esm/components/SCCommentObject.js +7 -17
- package/lib/esm/components/SCComposer.d.ts +38 -9
- package/lib/esm/components/SCComposer.js +40 -11
- package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
- package/lib/esm/components/SCEvent.d.ts +22 -0
- package/lib/esm/components/SCEvent.js +22 -0
- package/lib/esm/components/SCEventFormDialog.d.ts +9 -0
- package/lib/esm/components/SCEventFormDialog.js +9 -0
- package/lib/esm/components/SCEvents.d.ts +11 -1
- package/lib/esm/components/SCEvents.js +12 -2
- package/lib/esm/components/SCFeedObject.d.ts +21 -15
- package/lib/esm/components/SCFeedObject.js +22 -16
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/esm/components/SCGroupForm.d.ts +3 -0
- package/lib/esm/components/SCGroupForm.js +3 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/esm/components/SCLiveStreamForm.js +10 -1
- package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/esm/components/SCLiveStreamRoom.js +27 -1
- package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/esm/components/SCLiveStreamSelector.js +4 -2
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +4 -1
- package/lib/esm/components/SCLiveStreamVideoConference.js +5 -2
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +3 -2
- package/lib/esm/components/SCNavigationMenuDrawer.js +3 -2
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/esm/index.d.ts +206 -84
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -12,53 +12,44 @@ const Component = {
|
|
|
12
12
|
paddingTop: 0,
|
|
13
13
|
paddingBottom: 0,
|
|
14
14
|
paddingLeft: 0,
|
|
15
|
-
paddingRight: 0
|
|
16
|
-
'& .SCBaseItemButton-actions': {
|
|
17
|
-
right: 0
|
|
18
|
-
}
|
|
15
|
+
paddingRight: 0
|
|
19
16
|
}
|
|
20
17
|
},
|
|
21
18
|
'& .SCBaseItemButton-content': {
|
|
22
19
|
display: 'flex',
|
|
23
|
-
flexDirection: 'row',
|
|
24
20
|
justifyContent: 'flex-start',
|
|
25
21
|
alignItems: 'center',
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
'& .SCBaseItemButton-secondary': {
|
|
42
|
-
color: theme.palette.text.secondary
|
|
43
|
-
},
|
|
44
|
-
'& .SCBaseItemButton-primary, & .SCBaseItemButton-secondary': {
|
|
45
|
-
whiteSpace: 'nowrap',
|
|
46
|
-
overflow: 'hidden',
|
|
47
|
-
textOverflow: 'ellipsis',
|
|
48
|
-
display: 'block'
|
|
22
|
+
gap: theme.spacing(2),
|
|
23
|
+
'& .SCBaseItemButton-image': {
|
|
24
|
+
flexShrink: 0
|
|
25
|
+
},
|
|
26
|
+
'& .SCBaseItemButton-text': {
|
|
27
|
+
marginTop: theme.spacing(),
|
|
28
|
+
marginBottom: theme.spacing(),
|
|
29
|
+
'& .SCBaseItemButton-primary': {
|
|
30
|
+
color: theme.palette.text.primary
|
|
31
|
+
},
|
|
32
|
+
'& .SCBaseItemButton-secondary': {
|
|
33
|
+
color: theme.palette.text.secondary
|
|
34
|
+
}
|
|
35
|
+
}
|
|
49
36
|
},
|
|
50
37
|
'&.SCBaseItemButton-with-actions': {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
38
|
+
display: 'flex',
|
|
39
|
+
alignItems: 'center',
|
|
40
|
+
justifyContent: 'space-between',
|
|
41
|
+
gap: '6px',
|
|
42
|
+
'& .SCBaseItemButton-content': {
|
|
43
|
+
overflow: 'hidden',
|
|
44
|
+
'& .SCBaseItemButton-text': {
|
|
45
|
+
whiteSpace: 'nowrap',
|
|
46
|
+
overflow: 'hidden',
|
|
47
|
+
textOverflow: 'ellipsis',
|
|
48
|
+
flexGrow: 1
|
|
55
49
|
}
|
|
56
50
|
},
|
|
57
51
|
'& .SCBaseItemButton-actions': {
|
|
58
|
-
|
|
59
|
-
right: theme.spacing(2),
|
|
60
|
-
top: '50%',
|
|
61
|
-
transform: 'translateY(-50%)',
|
|
52
|
+
flexShrink: 0,
|
|
62
53
|
maxWidth: theme.spacing(19)
|
|
63
54
|
}
|
|
64
55
|
}
|
|
@@ -113,27 +113,16 @@ declare const Component: {
|
|
|
113
113
|
color: any;
|
|
114
114
|
};
|
|
115
115
|
'& .SCCommentObject-comment-sub-section': {
|
|
116
|
-
[x: number]: {
|
|
117
|
-
'& > *': {
|
|
118
|
-
marginRight: number;
|
|
119
|
-
};
|
|
120
|
-
'& .SCCommentObject-vote-audience': {
|
|
121
|
-
position: string;
|
|
122
|
-
right: number;
|
|
123
|
-
top: number;
|
|
124
|
-
};
|
|
125
|
-
'& .SCBullet-root': {
|
|
126
|
-
display: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
116
|
display: string;
|
|
130
117
|
flexWrap: string;
|
|
131
118
|
alignItems: string;
|
|
132
119
|
color: any;
|
|
133
120
|
marginTop: number;
|
|
134
121
|
position: string;
|
|
135
|
-
'&
|
|
136
|
-
|
|
122
|
+
'& .SCCommentObject-reply': {
|
|
123
|
+
paddingLeft: number;
|
|
124
|
+
paddingRight: number;
|
|
125
|
+
lineHeight: number;
|
|
137
126
|
};
|
|
138
127
|
'& .SCCommentObject-activity-at': {
|
|
139
128
|
color: string;
|
|
@@ -149,8 +138,9 @@ declare const Component: {
|
|
|
149
138
|
padding: any;
|
|
150
139
|
textTransform: string;
|
|
151
140
|
};
|
|
152
|
-
'& .
|
|
153
|
-
|
|
141
|
+
'& .SCCommentObject-vote-audience': {
|
|
142
|
+
position: string;
|
|
143
|
+
right: number;
|
|
154
144
|
};
|
|
155
145
|
};
|
|
156
146
|
};
|
|
@@ -120,8 +120,10 @@ const Component = {
|
|
|
120
120
|
color: theme.palette.primary.main,
|
|
121
121
|
marginTop: 0,
|
|
122
122
|
position: 'relative',
|
|
123
|
-
'&
|
|
124
|
-
|
|
123
|
+
'& .SCCommentObject-reply': {
|
|
124
|
+
paddingLeft: 0,
|
|
125
|
+
paddingRight: 0,
|
|
126
|
+
lineHeight: 1
|
|
125
127
|
},
|
|
126
128
|
'& .SCCommentObject-activity-at': {
|
|
127
129
|
color: 'inherit',
|
|
@@ -137,21 +139,9 @@ const Component = {
|
|
|
137
139
|
padding: theme.spacing(1),
|
|
138
140
|
textTransform: 'capitalize'
|
|
139
141
|
},
|
|
140
|
-
'& .
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
[theme.breakpoints.up('sm')]: {
|
|
144
|
-
'& > *': {
|
|
145
|
-
marginRight: 0
|
|
146
|
-
},
|
|
147
|
-
'& .SCCommentObject-vote-audience': {
|
|
148
|
-
position: 'absolute',
|
|
149
|
-
right: 0,
|
|
150
|
-
top: 0
|
|
151
|
-
},
|
|
152
|
-
'& .SCBullet-root': {
|
|
153
|
-
display: 'inline'
|
|
154
|
-
}
|
|
142
|
+
'& .SCCommentObject-vote-audience': {
|
|
143
|
+
position: 'absolute',
|
|
144
|
+
right: 0
|
|
155
145
|
}
|
|
156
146
|
}
|
|
157
147
|
}),
|
|
@@ -9,7 +9,6 @@ declare const Component: {
|
|
|
9
9
|
'& .MuiDialogContent-root': {
|
|
10
10
|
minHeight: number;
|
|
11
11
|
height: string;
|
|
12
|
-
maxHeight: number;
|
|
13
12
|
};
|
|
14
13
|
'& .MuiDialogActions-root': {
|
|
15
14
|
justifyContent: string;
|
|
@@ -46,22 +45,21 @@ declare const Component: {
|
|
|
46
45
|
};
|
|
47
46
|
};
|
|
48
47
|
'& .MuiDialogContent-root': {
|
|
48
|
+
[x: number]: {
|
|
49
|
+
overflowY: string;
|
|
50
|
+
};
|
|
49
51
|
margin: string;
|
|
50
52
|
padding: any;
|
|
51
53
|
height: string;
|
|
52
54
|
'& .SCEditor-root': {
|
|
53
55
|
padding: any;
|
|
56
|
+
marginBottom: any;
|
|
57
|
+
position: string;
|
|
54
58
|
'& .SCEditor-placeholder': {
|
|
55
59
|
left: number;
|
|
56
|
-
top: any;
|
|
57
60
|
position: string;
|
|
58
61
|
};
|
|
59
62
|
'&.SCEditor-toolbar': {
|
|
60
|
-
position: string;
|
|
61
|
-
'& .SCEditor-placeholder': {
|
|
62
|
-
marginTop: number;
|
|
63
|
-
position: string;
|
|
64
|
-
};
|
|
65
63
|
'& .SCEditorToolbarPlugin-root': {
|
|
66
64
|
zIndex: number;
|
|
67
65
|
position: string;
|
|
@@ -105,8 +103,12 @@ declare const Component: {
|
|
|
105
103
|
attributesRoot: ({ theme }: any) => {};
|
|
106
104
|
contentDiscussionRoot: ({ theme }: any) => {
|
|
107
105
|
'& .SCComposer-content-discussion-title': {
|
|
108
|
-
paddingBottom: any;
|
|
109
106
|
'& .MuiInputBase-root': {
|
|
107
|
+
[x: number]: {
|
|
108
|
+
maxHeight: number;
|
|
109
|
+
};
|
|
110
|
+
maxHeight: number;
|
|
111
|
+
overflowY: string;
|
|
110
112
|
paddingLeft: number;
|
|
111
113
|
paddingRight: number;
|
|
112
114
|
paddingBottom: number;
|
|
@@ -126,6 +128,19 @@ declare const Component: {
|
|
|
126
128
|
marginLeft: number;
|
|
127
129
|
};
|
|
128
130
|
};
|
|
131
|
+
'& .SCEditor-root': {
|
|
132
|
+
'& .SCEditor-placeholder': {
|
|
133
|
+
top: any;
|
|
134
|
+
};
|
|
135
|
+
'& .SCEditor-content': {
|
|
136
|
+
[x: number]: {
|
|
137
|
+
maxHeight: number;
|
|
138
|
+
};
|
|
139
|
+
overflowY: string;
|
|
140
|
+
minHeight: number;
|
|
141
|
+
maxHeight: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
129
144
|
};
|
|
130
145
|
contentPollRoot: ({ theme }: any) => {
|
|
131
146
|
padding: any;
|
|
@@ -139,7 +154,21 @@ declare const Component: {
|
|
|
139
154
|
marginTop: any;
|
|
140
155
|
};
|
|
141
156
|
};
|
|
142
|
-
contentPostRoot: ({ theme }: any) => {
|
|
157
|
+
contentPostRoot: ({ theme }: any) => {
|
|
158
|
+
'& .SCEditor-root': {
|
|
159
|
+
'& .SCEditor-placeholder': {
|
|
160
|
+
top: any;
|
|
161
|
+
};
|
|
162
|
+
'& .SCEditor-content': {
|
|
163
|
+
[x: number]: {
|
|
164
|
+
maxHeight: number;
|
|
165
|
+
};
|
|
166
|
+
overflowY: string;
|
|
167
|
+
minHeight: number;
|
|
168
|
+
maxHeight: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
143
172
|
layerTransitionRoot: ({ theme }: any) => {
|
|
144
173
|
position: string;
|
|
145
174
|
top: number;
|
|
@@ -35,19 +35,18 @@ const Component = {
|
|
|
35
35
|
margin: '45px 0',
|
|
36
36
|
padding: theme.spacing(1, 2),
|
|
37
37
|
height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
|
|
38
|
+
[theme.breakpoints.up('md')]: {
|
|
39
|
+
overflowY: 'hidden'
|
|
40
|
+
},
|
|
38
41
|
'& .SCEditor-root': {
|
|
39
42
|
padding: theme.spacing(1, 0),
|
|
43
|
+
marginBottom: theme.spacing(3),
|
|
44
|
+
position: 'relative',
|
|
40
45
|
'& .SCEditor-placeholder': {
|
|
41
46
|
left: 0,
|
|
42
|
-
top: theme.spacing(1),
|
|
43
47
|
position: 'absolute'
|
|
44
48
|
},
|
|
45
49
|
'&.SCEditor-toolbar': {
|
|
46
|
-
position: 'static',
|
|
47
|
-
'& .SCEditor-placeholder': {
|
|
48
|
-
marginTop: -40,
|
|
49
|
-
position: 'static'
|
|
50
|
-
},
|
|
51
50
|
'& .SCEditorToolbarPlugin-root': {
|
|
52
51
|
zIndex: 1,
|
|
53
52
|
position: 'absolute',
|
|
@@ -94,8 +93,7 @@ const Component = {
|
|
|
94
93
|
},
|
|
95
94
|
'& .MuiDialogContent-root': {
|
|
96
95
|
minHeight: 300,
|
|
97
|
-
height: 'auto'
|
|
98
|
-
maxHeight: 600
|
|
96
|
+
height: 'auto'
|
|
99
97
|
},
|
|
100
98
|
'& .MuiDialogActions-root': {
|
|
101
99
|
justifyContent: 'center'
|
|
@@ -106,13 +104,17 @@ const Component = {
|
|
|
106
104
|
attributesRoot: ({ theme }) => ({}),
|
|
107
105
|
contentDiscussionRoot: ({ theme }) => ({
|
|
108
106
|
'& .SCComposer-content-discussion-title': {
|
|
109
|
-
paddingBottom: theme.spacing(2),
|
|
110
107
|
'& .MuiInputBase-root': {
|
|
108
|
+
maxHeight: 160,
|
|
109
|
+
overflowY: 'auto',
|
|
111
110
|
paddingLeft: 0,
|
|
112
111
|
paddingRight: 0,
|
|
113
112
|
paddingBottom: 0,
|
|
114
|
-
fontSize: '1.
|
|
113
|
+
fontSize: '1.3rem',
|
|
115
114
|
fontWeight: theme.typography.fontWeightBold,
|
|
115
|
+
[theme.breakpoints.up('md')]: {
|
|
116
|
+
maxHeight: 110
|
|
117
|
+
},
|
|
116
118
|
'& fieldset': {
|
|
117
119
|
display: 'none'
|
|
118
120
|
},
|
|
@@ -126,6 +128,19 @@ const Component = {
|
|
|
126
128
|
'& .MuiFormHelperText-root': {
|
|
127
129
|
marginLeft: 0
|
|
128
130
|
}
|
|
131
|
+
},
|
|
132
|
+
'& .SCEditor-root': {
|
|
133
|
+
'& .SCEditor-placeholder': {
|
|
134
|
+
top: theme.spacing(7)
|
|
135
|
+
},
|
|
136
|
+
'& .SCEditor-content': {
|
|
137
|
+
overflowY: 'auto',
|
|
138
|
+
minHeight: 300,
|
|
139
|
+
maxHeight: `calc(100vh - 45px - 45px - 55px - 45px - ${theme.spacing(2)})`,
|
|
140
|
+
[theme.breakpoints.up('md')]: {
|
|
141
|
+
maxHeight: 380
|
|
142
|
+
}
|
|
143
|
+
}
|
|
129
144
|
}
|
|
130
145
|
}),
|
|
131
146
|
contentPollRoot: ({ theme }) => ({
|
|
@@ -140,7 +155,21 @@ const Component = {
|
|
|
140
155
|
marginTop: theme.spacing(3)
|
|
141
156
|
}
|
|
142
157
|
}),
|
|
143
|
-
contentPostRoot: ({ theme }) => ({
|
|
158
|
+
contentPostRoot: ({ theme }) => ({
|
|
159
|
+
'& .SCEditor-root': {
|
|
160
|
+
'& .SCEditor-placeholder': {
|
|
161
|
+
top: theme.spacing()
|
|
162
|
+
},
|
|
163
|
+
'& .SCEditor-content': {
|
|
164
|
+
overflowY: 'auto',
|
|
165
|
+
minHeight: 300,
|
|
166
|
+
maxHeight: `calc(100vh - 45px - 45px - ${theme.spacing(3)})`,
|
|
167
|
+
[theme.breakpoints.up('md')]: {
|
|
168
|
+
maxHeight: 400
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}),
|
|
144
173
|
layerTransitionRoot: ({ theme }) => ({
|
|
145
174
|
position: 'absolute',
|
|
146
175
|
top: 0,
|
|
@@ -61,6 +61,14 @@ declare const Component: {
|
|
|
61
61
|
paddingRight: any;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
'& .SCEvent-finished-chip': {
|
|
65
|
+
backgroundColor: any;
|
|
66
|
+
position: string;
|
|
67
|
+
top: number;
|
|
68
|
+
right: number;
|
|
69
|
+
color: any;
|
|
70
|
+
boxShadow: string;
|
|
71
|
+
};
|
|
64
72
|
};
|
|
65
73
|
'& .SCEvent-preview-content': {
|
|
66
74
|
padding: string;
|
|
@@ -117,6 +125,20 @@ declare const Component: {
|
|
|
117
125
|
paddingRight: any;
|
|
118
126
|
};
|
|
119
127
|
};
|
|
128
|
+
'& .SCEvent-finished-chip': {
|
|
129
|
+
height: number;
|
|
130
|
+
backgroundColor: any;
|
|
131
|
+
position: string;
|
|
132
|
+
top: number;
|
|
133
|
+
right: number;
|
|
134
|
+
color: any;
|
|
135
|
+
boxShadow: string;
|
|
136
|
+
'& span': {
|
|
137
|
+
fontSize: string;
|
|
138
|
+
paddingLeft: any;
|
|
139
|
+
paddingRight: any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
120
142
|
};
|
|
121
143
|
'& .SCBaseItem-text': {
|
|
122
144
|
fontSize: any;
|
|
@@ -60,6 +60,14 @@ const Component = {
|
|
|
60
60
|
paddingLeft: theme.spacing(0.5),
|
|
61
61
|
paddingRight: theme.spacing(0.5)
|
|
62
62
|
}
|
|
63
|
+
},
|
|
64
|
+
'& .SCEvent-finished-chip': {
|
|
65
|
+
backgroundColor: theme.palette.common.black,
|
|
66
|
+
position: 'absolute',
|
|
67
|
+
top: 10,
|
|
68
|
+
right: 10,
|
|
69
|
+
color: theme.palette.common.white,
|
|
70
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px'
|
|
63
71
|
}
|
|
64
72
|
},
|
|
65
73
|
'& .SCEvent-preview-content': {
|
|
@@ -116,6 +124,20 @@ const Component = {
|
|
|
116
124
|
paddingLeft: theme.spacing(0.5),
|
|
117
125
|
paddingRight: theme.spacing(0.5)
|
|
118
126
|
}
|
|
127
|
+
},
|
|
128
|
+
'& .SCEvent-finished-chip': {
|
|
129
|
+
height: 18,
|
|
130
|
+
backgroundColor: theme.palette.common.black,
|
|
131
|
+
position: 'absolute',
|
|
132
|
+
top: 5,
|
|
133
|
+
right: 3,
|
|
134
|
+
color: theme.palette.common.white,
|
|
135
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
136
|
+
'& span': {
|
|
137
|
+
fontSize: '0.8rem',
|
|
138
|
+
paddingLeft: theme.spacing(0.5),
|
|
139
|
+
paddingRight: theme.spacing(0.5)
|
|
140
|
+
}
|
|
119
141
|
}
|
|
120
142
|
},
|
|
121
143
|
'& .SCBaseItem-text': {
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
'& .MuiDialogContent-root': {
|
|
6
|
+
marginLeft: any;
|
|
7
|
+
marginRight: any;
|
|
8
|
+
};
|
|
9
|
+
'& .SCEventForm-actions': {
|
|
10
|
+
marginBottom: any;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
4
13
|
'& .MuiDialogTitle-root': {
|
|
5
14
|
'& span': {
|
|
6
15
|
flexGrow: number;
|
|
@@ -6,6 +6,15 @@ const Component = {
|
|
|
6
6
|
flexGrow: 1,
|
|
7
7
|
textAlign: 'center'
|
|
8
8
|
}
|
|
9
|
+
},
|
|
10
|
+
[theme.breakpoints.down('sm')]: {
|
|
11
|
+
'& .MuiDialogContent-root': {
|
|
12
|
+
marginLeft: theme.spacing(2),
|
|
13
|
+
marginRight: theme.spacing(2)
|
|
14
|
+
},
|
|
15
|
+
'& .SCEventForm-actions': {
|
|
16
|
+
marginBottom: theme.spacing(2)
|
|
17
|
+
}
|
|
9
18
|
}
|
|
10
19
|
})
|
|
11
20
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCEvents-section-title': {
|
|
5
|
+
marginTop: any;
|
|
6
|
+
marginBottom: any;
|
|
7
|
+
color: any;
|
|
8
|
+
fontWeight: number;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
'& .SCEvents-divider': {
|
|
12
|
+
marginBottom: any;
|
|
13
|
+
};
|
|
4
14
|
'& .SCEvents-filters': {
|
|
5
15
|
alignItems: string;
|
|
6
16
|
marginTop: any;
|
|
@@ -78,7 +88,7 @@ declare const Component: {
|
|
|
78
88
|
};
|
|
79
89
|
};
|
|
80
90
|
};
|
|
81
|
-
eventsChipRoot: ({ theme, showFollowed, showPastEvents }: any) => {
|
|
91
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents, showOngoingEvents }: any) => {
|
|
82
92
|
height: any;
|
|
83
93
|
borderRadius: any;
|
|
84
94
|
color: any;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
|
+
'& .SCEvents-section-title': {
|
|
5
|
+
marginTop: theme.spacing(4),
|
|
6
|
+
marginBottom: theme.spacing(1),
|
|
7
|
+
color: theme.palette.primary.main,
|
|
8
|
+
fontWeight: 500,
|
|
9
|
+
fontSize: 18
|
|
10
|
+
},
|
|
11
|
+
'& .SCEvents-divider': {
|
|
12
|
+
marginBottom: theme.spacing(2)
|
|
13
|
+
},
|
|
4
14
|
'& .SCEvents-filters': {
|
|
5
15
|
alignItems: 'center',
|
|
6
16
|
marginTop: theme.spacing(),
|
|
@@ -78,10 +88,10 @@ const Component = {
|
|
|
78
88
|
}
|
|
79
89
|
}
|
|
80
90
|
}),
|
|
81
|
-
eventsChipRoot: ({ theme, showFollowed, showPastEvents }) => ({
|
|
91
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents, showOngoingEvents }) => ({
|
|
82
92
|
height: theme.spacing(4.75),
|
|
83
93
|
borderRadius: theme.spacing(0.5),
|
|
84
|
-
color: showFollowed || showPastEvents ? theme.palette.common.white : theme.palette.text.primary,
|
|
94
|
+
color: showFollowed || showPastEvents || showOngoingEvents ? theme.palette.common.white : theme.palette.text.primary,
|
|
85
95
|
'& .MuiIcon-root': {
|
|
86
96
|
fontSize: '1rem',
|
|
87
97
|
color: theme.palette.common.white
|
|
@@ -65,16 +65,16 @@ declare const Component: {
|
|
|
65
65
|
[x: number]: {
|
|
66
66
|
marginRight: string;
|
|
67
67
|
};
|
|
68
|
+
height: number;
|
|
68
69
|
};
|
|
69
70
|
};
|
|
70
71
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
71
72
|
justifyContent: string;
|
|
72
|
-
padding: any;
|
|
73
|
-
height: number;
|
|
74
73
|
'& a': {
|
|
75
74
|
padding: any;
|
|
76
|
-
|
|
75
|
+
margin: any;
|
|
77
76
|
color: any;
|
|
77
|
+
maxHeight: number;
|
|
78
78
|
'&:hover': {
|
|
79
79
|
backgroundColor: any;
|
|
80
80
|
};
|
|
@@ -306,19 +306,24 @@ declare const Component: {
|
|
|
306
306
|
'& li': {
|
|
307
307
|
margin: string;
|
|
308
308
|
};
|
|
309
|
-
'& span
|
|
310
|
-
display: string;
|
|
311
|
-
};
|
|
312
|
-
'& span span:not(:has(+ a))': {
|
|
313
|
-
width: string;
|
|
314
|
-
};
|
|
315
|
-
'& span a': {
|
|
316
|
-
display: string;
|
|
317
|
-
margin: any;
|
|
318
|
-
};
|
|
319
|
-
'& span a:hover': {
|
|
309
|
+
'& span': {
|
|
320
310
|
'& span': {
|
|
321
|
-
|
|
311
|
+
display: string;
|
|
312
|
+
};
|
|
313
|
+
'& span:not(:has(+ a))': {
|
|
314
|
+
width: string;
|
|
315
|
+
};
|
|
316
|
+
'& a': {
|
|
317
|
+
display: string;
|
|
318
|
+
margin: any;
|
|
319
|
+
};
|
|
320
|
+
'& a:hover': {
|
|
321
|
+
'& span': {
|
|
322
|
+
textDecoration: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
'& :last-child': {
|
|
326
|
+
display: string;
|
|
322
327
|
};
|
|
323
328
|
};
|
|
324
329
|
};
|
|
@@ -331,6 +336,7 @@ declare const Component: {
|
|
|
331
336
|
fontSize: any;
|
|
332
337
|
fontWeight: any;
|
|
333
338
|
padding: any;
|
|
339
|
+
marginTop: number;
|
|
334
340
|
justifyContent: string;
|
|
335
341
|
'&:hover': {
|
|
336
342
|
backgroundColor: string;
|