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