@selfcommunity/react-theme-default 0.1.55 → 0.2.0-alpha.0
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/MuiAutocomplete.js +3 -4
- package/lib/cjs/components/MuiSelect.js +2 -3
- package/lib/cjs/components/SCCalendar.d.ts +24 -0
- package/lib/cjs/components/SCCalendar.js +24 -0
- package/lib/cjs/components/SCCreateEventButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateEventButton.js +14 -0
- package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
- package/lib/cjs/components/SCCreateEventWidget.js +54 -0
- package/lib/cjs/components/SCEvent.d.ts +217 -0
- package/lib/cjs/components/SCEvent.js +219 -0
- package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
- package/lib/cjs/components/SCEventActionsMenu.js +28 -0
- package/lib/cjs/components/SCEventForm.d.ts +103 -0
- package/lib/cjs/components/SCEventForm.js +106 -0
- package/lib/cjs/components/SCEventHeader.d.ts +147 -0
- package/lib/cjs/components/SCEventHeader.js +150 -0
- package/lib/cjs/components/SCEventInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCEventInfoDetails.js +43 -0
- package/lib/cjs/components/SCEventInfoWidget.d.ts +37 -0
- package/lib/cjs/components/SCEventInfoWidget.js +35 -0
- package/lib/cjs/components/SCEventInviteButton.d.ts +54 -0
- package/lib/cjs/components/SCEventInviteButton.js +57 -0
- package/lib/cjs/components/SCEventLocationWidget.d.ts +22 -0
- package/lib/cjs/components/SCEventLocationWidget.js +25 -0
- package/lib/cjs/components/SCEventMembersWidget.d.ts +68 -0
- package/lib/cjs/components/SCEventMembersWidget.js +64 -0
- package/lib/cjs/components/SCEventParticipantsButton.d.ts +33 -0
- package/lib/cjs/components/SCEventParticipantsButton.js +31 -0
- package/lib/cjs/components/SCEventSubscribeButton.d.ts +93 -0
- package/lib/cjs/components/SCEventSubscribeButton.js +87 -0
- package/lib/cjs/components/SCEvents.d.ts +86 -0
- package/lib/cjs/components/SCEvents.js +88 -0
- package/lib/cjs/components/SCFeedObject.d.ts +5 -5
- package/lib/cjs/components/SCFeedObject.js +5 -5
- package/lib/cjs/components/SCFeedUpdatesWidget.js +1 -1
- package/lib/cjs/components/SCMediaShare.d.ts +6 -1
- package/lib/cjs/components/SCMediaShare.js +6 -1
- package/lib/cjs/components/SCMyEventsWidget.d.ts +35 -0
- package/lib/cjs/components/SCMyEventsWidget.js +33 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCNotification.d.ts +27 -0
- package/lib/cjs/components/SCNotification.js +27 -0
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +451 -0
- package/lib/cjs/components/SCOnBoardingWidget.js +449 -0
- package/lib/cjs/components/SCPlatformWidget.d.ts +22 -1
- package/lib/cjs/components/SCPlatformWidget.js +22 -1
- package/lib/cjs/components/SCProgressBar.d.ts +23 -0
- package/lib/cjs/components/SCProgressBar.js +25 -0
- package/lib/cjs/components/SCRelatedEventsWidget.d.ts +101 -0
- package/lib/cjs/components/SCRelatedEventsWidget.js +97 -0
- package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +97 -0
- package/lib/cjs/components/SCSuggestedEventsWidget.js +95 -0
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +17 -1
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +30 -6
- package/lib/cjs/index.d.ts +3706 -1923
- package/lib/cjs/index.js +209 -167
- package/lib/esm/components/MuiAutocomplete.js +3 -3
- package/lib/esm/components/MuiSelect.js +2 -2
- package/lib/esm/components/SCCalendar.d.ts +24 -0
- package/lib/esm/components/SCCalendar.js +22 -0
- package/lib/esm/components/SCCreateEventButton.d.ts +12 -0
- package/lib/esm/components/SCCreateEventButton.js +12 -0
- package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
- package/lib/esm/components/SCCreateEventWidget.js +52 -0
- package/lib/esm/components/SCEvent.d.ts +217 -0
- package/lib/esm/components/SCEvent.js +217 -0
- package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
- package/lib/esm/components/SCEventActionsMenu.js +26 -0
- package/lib/esm/components/SCEventForm.d.ts +103 -0
- package/lib/esm/components/SCEventForm.js +104 -0
- package/lib/esm/components/SCEventHeader.d.ts +147 -0
- package/lib/esm/components/SCEventHeader.js +148 -0
- package/lib/esm/components/SCEventInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCEventInfoDetails.js +41 -0
- package/lib/esm/components/SCEventInfoWidget.d.ts +37 -0
- package/lib/esm/components/SCEventInfoWidget.js +33 -0
- package/lib/esm/components/SCEventInviteButton.d.ts +54 -0
- package/lib/esm/components/SCEventInviteButton.js +55 -0
- package/lib/esm/components/SCEventLocationWidget.d.ts +22 -0
- package/lib/esm/components/SCEventLocationWidget.js +23 -0
- package/lib/esm/components/SCEventMembersWidget.d.ts +68 -0
- package/lib/esm/components/SCEventMembersWidget.js +62 -0
- package/lib/esm/components/SCEventParticipantsButton.d.ts +33 -0
- package/lib/esm/components/SCEventParticipantsButton.js +29 -0
- package/lib/esm/components/SCEventSubscribeButton.d.ts +93 -0
- package/lib/esm/components/SCEventSubscribeButton.js +85 -0
- package/lib/esm/components/SCEvents.d.ts +86 -0
- package/lib/esm/components/SCEvents.js +86 -0
- package/lib/esm/components/SCFeedObject.d.ts +5 -5
- package/lib/esm/components/SCFeedObject.js +5 -5
- package/lib/esm/components/SCFeedUpdatesWidget.js +1 -1
- package/lib/esm/components/SCMediaShare.d.ts +6 -1
- package/lib/esm/components/SCMediaShare.js +6 -1
- package/lib/esm/components/SCMyEventsWidget.d.ts +35 -0
- package/lib/esm/components/SCMyEventsWidget.js +31 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNotification.d.ts +27 -0
- package/lib/esm/components/SCNotification.js +27 -0
- package/lib/esm/components/SCOnBoardingWidget.d.ts +451 -0
- package/lib/esm/components/SCOnBoardingWidget.js +447 -0
- package/lib/esm/components/SCPlatformWidget.d.ts +22 -1
- package/lib/esm/components/SCPlatformWidget.js +22 -1
- package/lib/esm/components/SCProgressBar.d.ts +23 -0
- package/lib/esm/components/SCProgressBar.js +23 -0
- package/lib/esm/components/SCRelatedEventsWidget.d.ts +101 -0
- package/lib/esm/components/SCRelatedEventsWidget.js +95 -0
- package/lib/esm/components/SCSuggestedEventsWidget.d.ts +97 -0
- package/lib/esm/components/SCSuggestedEventsWidget.js +93 -0
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +17 -1
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +30 -6
- package/lib/esm/index.d.ts +3706 -1923
- package/lib/esm/index.js +209 -167
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +17 -1
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +3 -3
- package/package.json +4 -4
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
[theme.breakpoints.up('md')]: {
|
|
7
|
+
borderRadius: theme.shape.borderRadius
|
|
8
|
+
},
|
|
9
|
+
'& .SCOnBoardingWidget-step-content': {
|
|
10
|
+
[theme.breakpoints.up('md')]: {
|
|
11
|
+
width: '70%'
|
|
12
|
+
},
|
|
13
|
+
padding: theme.spacing(1, 2, 2, 2)
|
|
14
|
+
},
|
|
15
|
+
'& .SCOnBoardingWidget-logo': {
|
|
16
|
+
width: 'auto'
|
|
17
|
+
},
|
|
18
|
+
'& .MuiCardContent-root': {
|
|
19
|
+
'& .MuiList-root': {
|
|
20
|
+
paddingTop: 0,
|
|
21
|
+
borderRight: `1px solid ${theme.palette.grey[200]}`,
|
|
22
|
+
'& .MuiListItem-root': {
|
|
23
|
+
paddingBottom: 0
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
[theme.breakpoints.up('md')]: {
|
|
27
|
+
display: 'flex'
|
|
28
|
+
},
|
|
29
|
+
padding: 0,
|
|
30
|
+
'& .SCOnBoardingWidget-steps-mobile': {
|
|
31
|
+
width: '100%',
|
|
32
|
+
display: 'flex',
|
|
33
|
+
overflowX: 'auto',
|
|
34
|
+
overflowY: 'hidden',
|
|
35
|
+
'&::-webkit-scrollbar': {
|
|
36
|
+
display: 'none'
|
|
37
|
+
},
|
|
38
|
+
'-webkit-overflow-scrolling': 'touch',
|
|
39
|
+
'& .MuiButtonBase-root, .MuiListItem-root': {
|
|
40
|
+
marginRight: theme.spacing(0.5),
|
|
41
|
+
padding: 0,
|
|
42
|
+
'& .MuiChip-root': {
|
|
43
|
+
'&.MuiChip-filledDefault': {
|
|
44
|
+
color: theme.palette.common.white,
|
|
45
|
+
backgroundColor: theme.palette.common.black
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
padding: theme.spacing(2, 1, 2, 1)
|
|
50
|
+
},
|
|
51
|
+
'& .SCOnBoardingWidget-steps': {
|
|
52
|
+
width: '30%',
|
|
53
|
+
'& .Mui-selected': {
|
|
54
|
+
backgroundColor: theme.palette.grey['A200']
|
|
55
|
+
},
|
|
56
|
+
'& .MuiButtonBase-root': {
|
|
57
|
+
height: theme.spacing(5),
|
|
58
|
+
'&:hover': {
|
|
59
|
+
backgroundColor: theme.palette.grey['A200']
|
|
60
|
+
},
|
|
61
|
+
'& .MuiListItemIcon-root': {
|
|
62
|
+
minWidth: 0
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}),
|
|
68
|
+
accordionRoot: ({ theme, expanded }) => ({
|
|
69
|
+
boxShadow: 'none',
|
|
70
|
+
'& .MuiAccordionDetails-root ': {
|
|
71
|
+
padding: 0,
|
|
72
|
+
'& .SCOnBoardingWidget-content': {
|
|
73
|
+
'& .MuiCardContent-root': {
|
|
74
|
+
padding: 0,
|
|
75
|
+
'& .MuiList-root': {
|
|
76
|
+
paddingTop: 0,
|
|
77
|
+
paddingBottom: theme.spacing(1)
|
|
78
|
+
},
|
|
79
|
+
[theme.breakpoints.down('md')]: {
|
|
80
|
+
'& .MuiListItem-root:first-of-type': {
|
|
81
|
+
paddingTop: theme.spacing(1)
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
'& .MuiAccordionSummary-root': {
|
|
88
|
+
borderBottom: `1px solid ${theme.palette.grey[200]}`,
|
|
89
|
+
borderRadius: 0,
|
|
90
|
+
[theme.breakpoints.up('md')]: {
|
|
91
|
+
borderRadius: theme.shape.borderRadius,
|
|
92
|
+
borderBottomLeftRadius: expanded ? 0 : theme.shape.borderRadius,
|
|
93
|
+
borderBottomRightRadius: expanded ? 0 : theme.shape.borderRadius
|
|
94
|
+
},
|
|
95
|
+
'& .MuiAccordionSummary-content': {
|
|
96
|
+
'& h4, & h5': {
|
|
97
|
+
fontWeight: theme.typography.fontWeightBold
|
|
98
|
+
},
|
|
99
|
+
'& h4': {
|
|
100
|
+
fontSize: '1.429rem',
|
|
101
|
+
[theme.breakpoints.down('md')]: {
|
|
102
|
+
marginLeft: theme.spacing(2),
|
|
103
|
+
'& .MuiIcon-root': {
|
|
104
|
+
position: 'absolute',
|
|
105
|
+
left: theme.spacing(2)
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
'& h5': {
|
|
110
|
+
fontSize: '1.143rem'
|
|
111
|
+
},
|
|
112
|
+
'p strong': {
|
|
113
|
+
color: expanded ? theme.palette.secondary.main : 'inherit'
|
|
114
|
+
},
|
|
115
|
+
'& .SCOnBoardingWidget-intro': {
|
|
116
|
+
marginLeft: theme.spacing(2),
|
|
117
|
+
'& h5': {
|
|
118
|
+
marginBottom: theme.spacing(0.5)
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
[theme.breakpoints.down('md')]: {
|
|
122
|
+
flexDirection: 'column',
|
|
123
|
+
paddingLeft: expanded ? theme.spacing(2) : 0
|
|
124
|
+
},
|
|
125
|
+
'& .MuiTypography-body1': {
|
|
126
|
+
display: expanded ? 'inherit' : 'flex',
|
|
127
|
+
alignItems: 'center',
|
|
128
|
+
fontSize: expanded ? '14px' : '16px',
|
|
129
|
+
flexWrap: 'wrap',
|
|
130
|
+
strong: {
|
|
131
|
+
marginRight: expanded ? 'inherit' : theme.spacing(1),
|
|
132
|
+
marginLeft: expanded ? 'inherit' : theme.spacing(1)
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
alignItems: 'flex-start',
|
|
137
|
+
'& .MuiAccordionSummary-expandIconWrapper': {
|
|
138
|
+
marginTop: theme.spacing(1.5),
|
|
139
|
+
alignSelf: 'flex-start'
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}),
|
|
143
|
+
skeletonRoot: ({ theme }) => ({
|
|
144
|
+
display: 'flex',
|
|
145
|
+
flexDirection: 'column',
|
|
146
|
+
[theme.breakpoints.up('md')]: {
|
|
147
|
+
flexDirection: 'row'
|
|
148
|
+
},
|
|
149
|
+
'& .SCOnBoardingWidget-skeleton-content': {
|
|
150
|
+
width: '100%',
|
|
151
|
+
marginLeft: theme.spacing(1),
|
|
152
|
+
[theme.breakpoints.down('md')]: {
|
|
153
|
+
padding: theme.spacing(2)
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
'& .SCOnBoardingWidget-skeleton-menu': {
|
|
157
|
+
'& .MuiListItem-root': {
|
|
158
|
+
padding: 0
|
|
159
|
+
},
|
|
160
|
+
[theme.breakpoints.up('md')]: {
|
|
161
|
+
borderRight: `1px solid ${theme.palette.grey[200]}`
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}),
|
|
165
|
+
contentRoot: ({ theme }) => ({
|
|
166
|
+
'& .SCOnBoardingWidget-content-title': {
|
|
167
|
+
fontWeight: theme.typography.fontWeightBold
|
|
168
|
+
},
|
|
169
|
+
'& .SCOnBoardingWidget-content-summary': {
|
|
170
|
+
whiteSpace: 'pre-line',
|
|
171
|
+
marginTop: theme.spacing(1),
|
|
172
|
+
marginBottom: theme.spacing(2)
|
|
173
|
+
},
|
|
174
|
+
'& .SCOnBoardingWidget-content-action': {
|
|
175
|
+
display: 'flex',
|
|
176
|
+
justifyContent: 'center'
|
|
177
|
+
},
|
|
178
|
+
'& .SCProgressBar-message': {
|
|
179
|
+
marginBottom: theme.spacing(0.5)
|
|
180
|
+
},
|
|
181
|
+
[theme.breakpoints.up('sm')]: {
|
|
182
|
+
'& .SCOnBoardingWidget-content-progress': {
|
|
183
|
+
display: 'flex',
|
|
184
|
+
alignItems: 'center',
|
|
185
|
+
'& .SCOnBoardingWidget-content-animation-progress': {
|
|
186
|
+
height: '250px',
|
|
187
|
+
width: '250px'
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}),
|
|
192
|
+
categoryRoot: ({ theme }) => ({
|
|
193
|
+
'& .SCOnBoardingWidget-category-title': {
|
|
194
|
+
fontWeight: theme.typography.fontWeightBold
|
|
195
|
+
},
|
|
196
|
+
'& .SCOnBoardingWidget-category-summary': {
|
|
197
|
+
margin: theme.spacing(1, 0, 0.5, 0)
|
|
198
|
+
},
|
|
199
|
+
'& .SCOnBoardingWidget-category-action': {
|
|
200
|
+
display: 'flex',
|
|
201
|
+
justifyContent: 'center',
|
|
202
|
+
'& .MuiButton-root': {
|
|
203
|
+
marginTop: theme.spacing(3)
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
'& .SCProgressBar-message': {
|
|
207
|
+
marginBottom: theme.spacing(0.5)
|
|
208
|
+
},
|
|
209
|
+
[theme.breakpoints.up('sm')]: {
|
|
210
|
+
'& .SCOnBoardingWidget-category-progress': {
|
|
211
|
+
display: 'flex',
|
|
212
|
+
alignItems: 'center',
|
|
213
|
+
'& .SCOnBoardingWidget-category-animation-progress': {
|
|
214
|
+
height: '250px',
|
|
215
|
+
width: '250px'
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}),
|
|
220
|
+
appearanceRoot: ({ theme }) => ({
|
|
221
|
+
display: 'flex',
|
|
222
|
+
alignItems: 'center',
|
|
223
|
+
flexDirection: 'column',
|
|
224
|
+
'& .MuiButton-root': {
|
|
225
|
+
marginTop: theme.spacing(4)
|
|
226
|
+
},
|
|
227
|
+
'& h4': {
|
|
228
|
+
marginBottom: theme.spacing(1),
|
|
229
|
+
fontWeight: theme.typography.fontWeightBold
|
|
230
|
+
}
|
|
231
|
+
}),
|
|
232
|
+
appearanceDrawerRoot: ({ theme }) => ({
|
|
233
|
+
'& .MuiDrawer-paper': {
|
|
234
|
+
width: '100%',
|
|
235
|
+
[theme.breakpoints.up('sm')]: {
|
|
236
|
+
width: 'fit-content',
|
|
237
|
+
padding: theme.spacing(0, 2, 2, 2)
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
'& .SCOnBoardingWidget-appearance-drawer-header': {
|
|
241
|
+
display: 'flex',
|
|
242
|
+
justifyContent: 'space-between',
|
|
243
|
+
alignItems: 'center',
|
|
244
|
+
'& h4': {
|
|
245
|
+
fontWeight: theme.typography.fontWeightBold
|
|
246
|
+
},
|
|
247
|
+
padding: theme.spacing(1)
|
|
248
|
+
},
|
|
249
|
+
'& .MuiTabs-root': {
|
|
250
|
+
[theme.breakpoints.down('md')]: {
|
|
251
|
+
padding: theme.spacing(1)
|
|
252
|
+
},
|
|
253
|
+
marginBottom: theme.spacing(2),
|
|
254
|
+
'& .MuiTab-root ': {
|
|
255
|
+
textTransform: 'none'
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
'& .SCOnBoardingWidget-appearance-drawer-content': {
|
|
259
|
+
[theme.breakpoints.down('md')]: {
|
|
260
|
+
padding: theme.spacing(1.5)
|
|
261
|
+
},
|
|
262
|
+
display: 'flex',
|
|
263
|
+
flexDirection: 'column'
|
|
264
|
+
},
|
|
265
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
266
|
+
margin: theme.spacing(1, 0, 2, 0)
|
|
267
|
+
},
|
|
268
|
+
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
269
|
+
position: 'relative',
|
|
270
|
+
width: '100%',
|
|
271
|
+
height: 'auto',
|
|
272
|
+
display: 'flex',
|
|
273
|
+
justifyContent: 'center',
|
|
274
|
+
alignItems: 'center',
|
|
275
|
+
'& .SCOnBoardingWidget-appearance-logo': {
|
|
276
|
+
height: 120,
|
|
277
|
+
width: 240,
|
|
278
|
+
marginBottom: theme.spacing(2),
|
|
279
|
+
objectFit: 'contain',
|
|
280
|
+
'& img': {
|
|
281
|
+
width: '100%',
|
|
282
|
+
height: 'auto'
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
'& .SCOnBoardingWidget-appearance-upload-button': {
|
|
286
|
+
'& .MuiIcon-root': {
|
|
287
|
+
fontSize: '1.143rem'
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}),
|
|
292
|
+
profileRoot: ({ theme }) => ({
|
|
293
|
+
display: 'flex',
|
|
294
|
+
alignItems: 'center',
|
|
295
|
+
flexDirection: 'column',
|
|
296
|
+
'& .MuiButton-root': {
|
|
297
|
+
marginTop: theme.spacing(4)
|
|
298
|
+
},
|
|
299
|
+
'& .SCOnBoardingWidget-profile-title': {
|
|
300
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
301
|
+
marginBottom: theme.spacing(1)
|
|
302
|
+
}
|
|
303
|
+
}),
|
|
304
|
+
profileDrawerRoot: ({ theme }) => ({
|
|
305
|
+
'& .MuiDrawer-paper': {
|
|
306
|
+
width: '100%',
|
|
307
|
+
[theme.breakpoints.up('sm')]: {
|
|
308
|
+
width: '30%',
|
|
309
|
+
padding: theme.spacing(0, 2, 2, 2)
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
'& .SCOnBoardingWidget-profile-cover': {
|
|
313
|
+
position: 'relative',
|
|
314
|
+
height: 230,
|
|
315
|
+
minHeight: 150,
|
|
316
|
+
borderRadius: 0,
|
|
317
|
+
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
318
|
+
boxShadow: 'unset',
|
|
319
|
+
[theme.breakpoints.up('md')]: {
|
|
320
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
'& .SCOnBoardingWidget-profile-icon': {
|
|
324
|
+
alignSelf: 'end'
|
|
325
|
+
},
|
|
326
|
+
'& .SCOnBoardingWidget-profile-avatar': {
|
|
327
|
+
top: 100,
|
|
328
|
+
[theme.breakpoints.up('sm')]: { top: 150 },
|
|
329
|
+
display: 'block',
|
|
330
|
+
position: 'absolute',
|
|
331
|
+
marginLeft: theme.spacing(2),
|
|
332
|
+
'& > .MuiBadge-root > img': {
|
|
333
|
+
height: theme.selfcommunity.user.avatar.sizeXLarge,
|
|
334
|
+
width: theme.selfcommunity.user.avatar.sizeXLarge,
|
|
335
|
+
borderRadius: '50%',
|
|
336
|
+
border: `#FFF solid ${theme.spacing(0.5)}`,
|
|
337
|
+
objectFit: 'cover'
|
|
338
|
+
},
|
|
339
|
+
'& .MuiBadge-badge': {
|
|
340
|
+
right: theme.spacing(1),
|
|
341
|
+
top: theme.spacing(3),
|
|
342
|
+
'& .SCUserAvatar-badge-content': {
|
|
343
|
+
width: 32,
|
|
344
|
+
height: 32
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
349
|
+
top: 140,
|
|
350
|
+
[theme.breakpoints.up('sm')]: { top: 190 },
|
|
351
|
+
left: 80,
|
|
352
|
+
position: 'relative',
|
|
353
|
+
display: 'flex',
|
|
354
|
+
marginLeft: theme.spacing(2)
|
|
355
|
+
},
|
|
356
|
+
'& .SCOnBoardingWidget-profile-change-cover': {
|
|
357
|
+
position: 'absolute',
|
|
358
|
+
right: 10,
|
|
359
|
+
bottom: 10
|
|
360
|
+
},
|
|
361
|
+
'& .SCOnBoardingWidget-profile-public-info': {
|
|
362
|
+
marginTop: theme.spacing(6),
|
|
363
|
+
padding: theme.spacing(2),
|
|
364
|
+
'& .SCUserProfileEdit-public-info-root': {
|
|
365
|
+
display: 'flex',
|
|
366
|
+
alignItems: 'center',
|
|
367
|
+
flexDirection: 'column',
|
|
368
|
+
'& .MuiButtonBase-root': {
|
|
369
|
+
width: 'auto'
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}),
|
|
374
|
+
inviteRoot: ({ theme }) => ({
|
|
375
|
+
'& .MuiTypography-subtitle1': {
|
|
376
|
+
marginLeft: theme.spacing(1.5)
|
|
377
|
+
},
|
|
378
|
+
'& .SCOnBoardingWidget-invite-title': {
|
|
379
|
+
fontWeight: theme.typography.fontWeightBold
|
|
380
|
+
},
|
|
381
|
+
'& .SCOnBoardingWidget-invite-social': {
|
|
382
|
+
margin: theme.spacing(2, 0, 2, 0),
|
|
383
|
+
'& .SCOnBoardingWidget-invite-social-icon-container': {
|
|
384
|
+
display: 'flex',
|
|
385
|
+
justifyContent: 'center',
|
|
386
|
+
marginTop: theme.spacing(2)
|
|
387
|
+
},
|
|
388
|
+
'& .SCOnBoardingWidget-invite-social-icon': {
|
|
389
|
+
fontSize: '2rem',
|
|
390
|
+
fontWeight: theme.typography.fontWeightBold
|
|
391
|
+
},
|
|
392
|
+
'& .SCOnBoardingWidget-invite-title': {
|
|
393
|
+
fontSize: '14px'
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
'& .SCOnBoardingWidget-invite-button': {
|
|
397
|
+
marginTop: theme.spacing(8)
|
|
398
|
+
},
|
|
399
|
+
'& .SCOnBoardingWidget-invite-action': {
|
|
400
|
+
display: 'flex',
|
|
401
|
+
justifyContent: 'center',
|
|
402
|
+
marginTop: theme.spacing(5)
|
|
403
|
+
},
|
|
404
|
+
'& .SCOnBoardingWidget-invite-email': {
|
|
405
|
+
'& .SCOnBoardingWidget-invite-title': {
|
|
406
|
+
fontSize: '14px'
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}),
|
|
410
|
+
appRoot: ({ theme }) => ({
|
|
411
|
+
'& .SCOnBoardingWidget-app-title': {
|
|
412
|
+
fontWeight: theme.typography.fontWeightBold
|
|
413
|
+
},
|
|
414
|
+
'& .SCOnBoardingWidget-app-summary': {
|
|
415
|
+
whiteSpace: 'pre-line',
|
|
416
|
+
margin: theme.spacing(2, 0, 2, 0)
|
|
417
|
+
},
|
|
418
|
+
'& .SCOnBoardingWidget-app-tabs': {
|
|
419
|
+
padding: theme.spacing(0, 2, 0, 2),
|
|
420
|
+
'& .MuiTab-root ': {
|
|
421
|
+
textTransform: 'none'
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
'& .SCOnBoardingWidget-app-tab-content': {
|
|
425
|
+
display: 'flex',
|
|
426
|
+
flexDirection: 'column',
|
|
427
|
+
alignItems: 'center',
|
|
428
|
+
'& .SCOnBoardingWidget-app-image': {
|
|
429
|
+
width: 'auto'
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
'& .SCOnBoardingWidget-app-step': {
|
|
433
|
+
marginBottom: theme.spacing(2),
|
|
434
|
+
display: 'flex',
|
|
435
|
+
alignItems: 'center',
|
|
436
|
+
strong: {
|
|
437
|
+
display: 'flex',
|
|
438
|
+
alignItems: 'center',
|
|
439
|
+
marginRight: theme.spacing(0.5),
|
|
440
|
+
'& .MuiIcon-root': {
|
|
441
|
+
margin: theme.spacing(0, 0.5, 0, 0.5)
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
flexWrap: 'wrap'
|
|
445
|
+
}
|
|
446
|
+
})
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
exports.default = Component;
|
|
@@ -3,7 +3,28 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
padding: any;
|
|
5
5
|
};
|
|
6
|
-
skeletonRoot: ({ theme }: any) => {
|
|
6
|
+
skeletonRoot: ({ theme }: any) => {
|
|
7
|
+
'& .SCPlatformWidget-skeleton-content': {
|
|
8
|
+
padding: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCPlatformWidget-skeleton-title': {
|
|
11
|
+
display: string;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
alignItems: string;
|
|
14
|
+
paddingBottom: any;
|
|
15
|
+
};
|
|
16
|
+
'& .SCPlatformWidget-skeleton-actions': {
|
|
17
|
+
display: string;
|
|
18
|
+
justifyContent: string;
|
|
19
|
+
alignItems: string;
|
|
20
|
+
paddingBottom: any;
|
|
21
|
+
};
|
|
22
|
+
'& .SCPlatformWidget-skeleton-tutorial': {
|
|
23
|
+
display: string;
|
|
24
|
+
justifyContent: string;
|
|
25
|
+
alignItems: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
7
28
|
};
|
|
8
29
|
};
|
|
9
30
|
export default Component;
|
|
@@ -5,7 +5,28 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
padding: theme.spacing(2)
|
|
7
7
|
}),
|
|
8
|
-
skeletonRoot: ({ theme }) => ({
|
|
8
|
+
skeletonRoot: ({ theme }) => ({
|
|
9
|
+
'& .SCPlatformWidget-skeleton-content': {
|
|
10
|
+
padding: theme.spacing(2)
|
|
11
|
+
},
|
|
12
|
+
'& .SCPlatformWidget-skeleton-title': {
|
|
13
|
+
display: 'flex',
|
|
14
|
+
justifyContent: 'center',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
paddingBottom: theme.spacing()
|
|
17
|
+
},
|
|
18
|
+
'& .SCPlatformWidget-skeleton-actions': {
|
|
19
|
+
display: 'flex',
|
|
20
|
+
justifyContent: 'space-around',
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
paddingBottom: theme.spacing()
|
|
23
|
+
},
|
|
24
|
+
'& .SCPlatformWidget-skeleton-tutorial': {
|
|
25
|
+
display: 'flex',
|
|
26
|
+
justifyContent: 'center',
|
|
27
|
+
alignItems: 'center'
|
|
28
|
+
}
|
|
29
|
+
})
|
|
9
30
|
}
|
|
10
31
|
};
|
|
11
32
|
exports.default = Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
width: string;
|
|
5
|
+
display: string;
|
|
6
|
+
flexDirection: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
'& .SCProgressBar-bar': {
|
|
9
|
+
width: string;
|
|
10
|
+
height: number;
|
|
11
|
+
borderRadius: number;
|
|
12
|
+
};
|
|
13
|
+
'& .SCProgressBar-progress': {
|
|
14
|
+
marginTop: any;
|
|
15
|
+
h4: {
|
|
16
|
+
fontWeight: any;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
width: '100%',
|
|
7
|
+
display: 'flex',
|
|
8
|
+
flexDirection: 'column',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
'& .SCProgressBar-bar': {
|
|
11
|
+
width: '100%',
|
|
12
|
+
height: 10,
|
|
13
|
+
borderRadius: 5
|
|
14
|
+
},
|
|
15
|
+
'& .SCProgressBar-progress': {
|
|
16
|
+
marginTop: theme.spacing(0.5),
|
|
17
|
+
h4: {
|
|
18
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
19
|
+
fontSize: '18px'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.default = Component;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCRelatedEventsWidget-content': {
|
|
7
|
+
padding: string;
|
|
8
|
+
'& .SCRelatedEventsWidget-header': {
|
|
9
|
+
flexDirection: string;
|
|
10
|
+
justifyContent: string;
|
|
11
|
+
alignItems: string;
|
|
12
|
+
marginBottom: any;
|
|
13
|
+
'& .SCRelatedEventsWidget-avatar-wrapper': {
|
|
14
|
+
flexDirection: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
color: string;
|
|
17
|
+
padding: number;
|
|
18
|
+
minWidth: string;
|
|
19
|
+
'& .SCRelatedEventsWidget-avatar': {
|
|
20
|
+
width: any;
|
|
21
|
+
height: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'& h4': {
|
|
25
|
+
marginLeft: number;
|
|
26
|
+
lineHeight: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .SCRelatedEventsWidget-event-wrapper': {
|
|
30
|
+
gap: any;
|
|
31
|
+
'& .SCRelatedEventsWidget-event': {
|
|
32
|
+
'& > div': {
|
|
33
|
+
padding: string;
|
|
34
|
+
'& > .SCBaseItem-content': {
|
|
35
|
+
'& > .SCBaseItem-text': {
|
|
36
|
+
margin: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'& .SCRelatedEventsWidget-actions': {
|
|
44
|
+
padding: string;
|
|
45
|
+
justifyContent: string;
|
|
46
|
+
'& .SCSuggestedEventsWidget-actionButton': {
|
|
47
|
+
color: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
skeletonRoot: ({ theme }: {
|
|
52
|
+
theme: any;
|
|
53
|
+
}) => {
|
|
54
|
+
'& .SCRelatedEventsWidget-content': {
|
|
55
|
+
padding: string;
|
|
56
|
+
'& .SCRelatedEventsWidget-user': {
|
|
57
|
+
marginBottom: any;
|
|
58
|
+
'& > .SCBaseItem-content': {
|
|
59
|
+
'& > .SCBaseItem-text': {
|
|
60
|
+
margin: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
'& > .SCBaseItem-actions': {
|
|
64
|
+
display: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
'& .SCRelatedEventsWidget-event-wrapper': {
|
|
68
|
+
gap: any;
|
|
69
|
+
'& .SCRelatedEventsWidget-event': {
|
|
70
|
+
'& > div': {
|
|
71
|
+
padding: string;
|
|
72
|
+
'& > .SCBaseItem-content': {
|
|
73
|
+
'& > .SCBaseItem-text': {
|
|
74
|
+
margin: number;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
'& .SCRelatedEventsWidget-actions': {
|
|
82
|
+
padding: string;
|
|
83
|
+
justifyContent: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
dialogRoot: ({ theme }: {
|
|
87
|
+
theme: any;
|
|
88
|
+
}) => {
|
|
89
|
+
'& .SCRelatedEventsWidget-infinite-scroll': {
|
|
90
|
+
[x: number]: {
|
|
91
|
+
height: string;
|
|
92
|
+
};
|
|
93
|
+
height: string;
|
|
94
|
+
'& .SCEvent-root': {
|
|
95
|
+
width: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export default Component;
|