@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
|
@@ -63,6 +63,7 @@ const Component = {
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
66
|
+
height: 20,
|
|
66
67
|
[theme.breakpoints.up('sm')]: {
|
|
67
68
|
marginRight: `${theme.spacing(1)} !important`
|
|
68
69
|
}
|
|
@@ -70,12 +71,11 @@ const Component = {
|
|
|
70
71
|
},
|
|
71
72
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
72
73
|
justifyContent: 'flex-start',
|
|
73
|
-
padding: theme.spacing(0.2, 0.5),
|
|
74
|
-
height: 20,
|
|
75
74
|
'& a': {
|
|
76
75
|
padding: theme.spacing(0.5),
|
|
77
|
-
|
|
76
|
+
margin: theme.spacing(0.5),
|
|
78
77
|
color: theme.palette.common.white,
|
|
78
|
+
maxHeight: 20,
|
|
79
79
|
'&:hover': {
|
|
80
80
|
backgroundColor: theme.palette.common.black
|
|
81
81
|
},
|
|
@@ -85,7 +85,7 @@ const Component = {
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
88
|
-
margin: theme.spacing(
|
|
88
|
+
margin: theme.spacing(0.5, 2, 0, 2)
|
|
89
89
|
},
|
|
90
90
|
'& .SCFeedObject-content': {
|
|
91
91
|
padding: theme.spacing(1, 0, 0, 0),
|
|
@@ -307,19 +307,24 @@ const Component = {
|
|
|
307
307
|
'& li': {
|
|
308
308
|
margin: '0 32px'
|
|
309
309
|
},
|
|
310
|
-
'& span
|
|
311
|
-
display: 'inline-block'
|
|
312
|
-
},
|
|
313
|
-
'& span span:not(:has(+ a))': {
|
|
314
|
-
width: '100%'
|
|
315
|
-
},
|
|
316
|
-
'& span a': {
|
|
317
|
-
display: 'inline-block',
|
|
318
|
-
margin: theme.spacing(0, 0.3)
|
|
319
|
-
},
|
|
320
|
-
'& span a:hover': {
|
|
310
|
+
'& span': {
|
|
321
311
|
'& span': {
|
|
322
|
-
|
|
312
|
+
display: 'inline'
|
|
313
|
+
},
|
|
314
|
+
'& span:not(:has(+ a))': {
|
|
315
|
+
width: '100%'
|
|
316
|
+
},
|
|
317
|
+
'& a': {
|
|
318
|
+
display: 'inline-block',
|
|
319
|
+
margin: theme.spacing(0, 0.3)
|
|
320
|
+
},
|
|
321
|
+
'& a:hover': {
|
|
322
|
+
'& span': {
|
|
323
|
+
textDecoration: 'underline'
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
'& :last-child': {
|
|
327
|
+
display: 'inline'
|
|
323
328
|
}
|
|
324
329
|
}
|
|
325
330
|
},
|
|
@@ -332,6 +337,7 @@ const Component = {
|
|
|
332
337
|
fontSize: theme.typography.fontSize,
|
|
333
338
|
fontWeight: theme.typography.fontWeightBold,
|
|
334
339
|
padding: theme.spacing(0.25),
|
|
340
|
+
marginTop: -2,
|
|
335
341
|
justifyContent: 'start',
|
|
336
342
|
'&:hover': { backgroundColor: 'transparent' }
|
|
337
343
|
}
|
|
@@ -12,8 +12,19 @@ declare const Component: {
|
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
14
|
display: string;
|
|
15
|
+
};
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: string;
|
|
16
18
|
};
|
|
19
|
+
'& a': {
|
|
20
|
+
display: string;
|
|
21
|
+
margin: any;
|
|
22
|
+
};
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
};
|
|
@@ -11,8 +11,19 @@ const Component = {
|
|
|
11
11
|
'& .SCFeedObject-content': {
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
|
-
display: 'inline
|
|
14
|
+
display: 'inline'
|
|
15
|
+
},
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: '100%'
|
|
18
|
+
},
|
|
19
|
+
'& a': {
|
|
20
|
+
display: 'inline-block',
|
|
21
|
+
margin: theme.spacing(0, 0.3)
|
|
22
|
+
},
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: 'underline'
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
}
|
|
18
29
|
}
|
|
@@ -13,6 +13,14 @@ declare const Component: {
|
|
|
13
13
|
marginTop: any;
|
|
14
14
|
marginBottom: any;
|
|
15
15
|
};
|
|
16
|
+
'& .SCGroups-search': {
|
|
17
|
+
'& .MuiButtonBase-root': {
|
|
18
|
+
minWidth: string;
|
|
19
|
+
'& .MuiButton-endIcon': {
|
|
20
|
+
margin: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
16
24
|
'& .SCGroups-groups': {
|
|
17
25
|
marginTop: any;
|
|
18
26
|
'& .SCGroups-item': {
|
|
@@ -13,6 +13,14 @@ const Component = {
|
|
|
13
13
|
marginTop: theme.spacing(),
|
|
14
14
|
marginBottom: theme.spacing(2)
|
|
15
15
|
},
|
|
16
|
+
'& .SCGroups-search': {
|
|
17
|
+
'& .MuiButtonBase-root': {
|
|
18
|
+
minWidth: '30px',
|
|
19
|
+
'& .MuiButton-endIcon': {
|
|
20
|
+
margin: 0
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
16
24
|
'& .SCGroups-groups': {
|
|
17
25
|
marginTop: theme.spacing(2),
|
|
18
26
|
'& .SCGroups-item': {
|
|
@@ -13,6 +13,15 @@ declare const Component: {
|
|
|
13
13
|
minWidth: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
'& .SCLiveStreamForm-warning': {
|
|
17
|
+
margin: any;
|
|
18
|
+
"& a": {
|
|
19
|
+
color: any;
|
|
20
|
+
fontWeight: string;
|
|
21
|
+
textDecoration: string;
|
|
22
|
+
whiteSpace: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
16
25
|
"& .SCLiveStreamForm-access-view": {
|
|
17
26
|
margin: any;
|
|
18
27
|
};
|
|
@@ -13,8 +13,17 @@ const Component = {
|
|
|
13
13
|
minWidth: 'auto'
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
'& .SCLiveStreamForm-warning': {
|
|
17
17
|
margin: theme.spacing(2, 0),
|
|
18
|
+
[`& a`]: {
|
|
19
|
+
color: theme.palette.common.white,
|
|
20
|
+
fontWeight: 'bold',
|
|
21
|
+
textDecoration: 'underline',
|
|
22
|
+
whiteSpace: 'nowrap'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
[`& .SCLiveStreamForm-access-view`]: {
|
|
26
|
+
margin: theme.spacing(2, 0)
|
|
18
27
|
},
|
|
19
28
|
[`& .SCLiveStreamForm-actions`]: {
|
|
20
29
|
display: 'flex',
|
|
@@ -95,6 +95,25 @@ declare const Component: {
|
|
|
95
95
|
backgroundColor: any;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
+
'& .lk-settings-menu-modal': {
|
|
99
|
+
minWidth: number;
|
|
100
|
+
paddingTop: any;
|
|
101
|
+
'& .lk-settings-menu-modal-icon-close': {
|
|
102
|
+
color: any;
|
|
103
|
+
position: string;
|
|
104
|
+
top: number;
|
|
105
|
+
right: number;
|
|
106
|
+
};
|
|
107
|
+
'& .MuiFormControlLabel-root': {
|
|
108
|
+
marginLeft: number;
|
|
109
|
+
};
|
|
110
|
+
'& .MuiTypography-body1': {
|
|
111
|
+
color: string;
|
|
112
|
+
};
|
|
113
|
+
'& .MuiSwitch-track': {
|
|
114
|
+
backgroundColor: any;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
98
117
|
};
|
|
99
118
|
dialogRoot: ({ theme }: any) => {
|
|
100
119
|
"& .SCLiveStreamRoom-end-conference-wrap": {
|
|
@@ -103,7 +122,14 @@ declare const Component: {
|
|
|
103
122
|
alignItems: string;
|
|
104
123
|
alignContent: string;
|
|
105
124
|
flexDirection: string;
|
|
106
|
-
"& .
|
|
125
|
+
"& .SCLiveStreamRoom-logo": {
|
|
126
|
+
img: {
|
|
127
|
+
maxHeight: number;
|
|
128
|
+
maxWidth: number;
|
|
129
|
+
};
|
|
130
|
+
marginBottom: any;
|
|
131
|
+
};
|
|
132
|
+
"& .SCLiveStreamRoom-btn-back-home": {
|
|
107
133
|
marginTop: any;
|
|
108
134
|
};
|
|
109
135
|
};
|
|
@@ -94,6 +94,25 @@ const Component = {
|
|
|
94
94
|
'&:hover': {
|
|
95
95
|
backgroundColor: theme.palette.primary.dark
|
|
96
96
|
}
|
|
97
|
+
},
|
|
98
|
+
'& .lk-settings-menu-modal': {
|
|
99
|
+
minWidth: 290,
|
|
100
|
+
paddingTop: theme.spacing(3),
|
|
101
|
+
'& .lk-settings-menu-modal-icon-close': {
|
|
102
|
+
color: theme.palette.common.white,
|
|
103
|
+
position: 'absolute',
|
|
104
|
+
top: 3,
|
|
105
|
+
right: 2
|
|
106
|
+
},
|
|
107
|
+
'& .MuiFormControlLabel-root': {
|
|
108
|
+
marginLeft: 0
|
|
109
|
+
},
|
|
110
|
+
'& .MuiTypography-body1': {
|
|
111
|
+
color: '#FFF !important'
|
|
112
|
+
},
|
|
113
|
+
'& .MuiSwitch-track': {
|
|
114
|
+
backgroundColor: theme.palette.grey['300']
|
|
115
|
+
}
|
|
97
116
|
}
|
|
98
117
|
}),
|
|
99
118
|
dialogRoot: ({ theme }) => ({
|
|
@@ -103,7 +122,14 @@ const Component = {
|
|
|
103
122
|
alignItems: 'center',
|
|
104
123
|
alignContent: 'center',
|
|
105
124
|
flexDirection: 'column',
|
|
106
|
-
[`& .
|
|
125
|
+
[`& .SCLiveStreamRoom-logo`]: {
|
|
126
|
+
img: {
|
|
127
|
+
maxHeight: 60,
|
|
128
|
+
maxWidth: 300
|
|
129
|
+
},
|
|
130
|
+
marginBottom: theme.spacing(2)
|
|
131
|
+
},
|
|
132
|
+
[`& .SCLiveStreamRoom-btn-back-home`]: {
|
|
107
133
|
marginTop: theme.spacing(2)
|
|
108
134
|
}
|
|
109
135
|
}
|
|
@@ -5,7 +5,9 @@ const Component = {
|
|
|
5
5
|
margin: theme.spacing(2, 5, 2, 5),
|
|
6
6
|
[`& a`]: {
|
|
7
7
|
color: theme.palette.common.white,
|
|
8
|
-
fontWeight: 'bold'
|
|
8
|
+
fontWeight: 'bold',
|
|
9
|
+
textDecoration: 'underline',
|
|
10
|
+
whiteSpace: 'nowrap'
|
|
9
11
|
}
|
|
10
12
|
},
|
|
11
13
|
'& .SCLiveStreamSelector-options': {
|
|
@@ -33,7 +35,7 @@ const Component = {
|
|
|
33
35
|
optionCardRoot: ({ theme, selected }) => ({
|
|
34
36
|
maxWidth: 300,
|
|
35
37
|
height: 'auto',
|
|
36
|
-
minHeight:
|
|
38
|
+
minHeight: 440,
|
|
37
39
|
padding: theme.spacing(3),
|
|
38
40
|
margin: theme.spacing(0, 3),
|
|
39
41
|
cursor: 'pointer',
|
|
@@ -12,10 +12,13 @@ declare const Component: {
|
|
|
12
12
|
alignItems: string;
|
|
13
13
|
alignContent: string;
|
|
14
14
|
flexDirection: string;
|
|
15
|
+
textAlign: string;
|
|
15
16
|
"& .SCLiveStreamVideoConference-logo": {
|
|
16
17
|
img: {
|
|
17
|
-
maxHeight:
|
|
18
|
+
maxHeight: number;
|
|
19
|
+
maxWidth: number;
|
|
18
20
|
};
|
|
21
|
+
marginBottom: any;
|
|
19
22
|
};
|
|
20
23
|
"& .SCLiveStreamVideoConference-btn-back-home": {
|
|
21
24
|
marginTop: any;
|
|
@@ -12,10 +12,13 @@ const Component = {
|
|
|
12
12
|
alignItems: 'center',
|
|
13
13
|
alignContent: 'center',
|
|
14
14
|
flexDirection: 'column',
|
|
15
|
+
textAlign: 'center',
|
|
15
16
|
[`& .SCLiveStreamVideoConference-logo`]: {
|
|
16
17
|
img: {
|
|
17
|
-
maxHeight:
|
|
18
|
-
|
|
18
|
+
maxHeight: 70,
|
|
19
|
+
maxWidth: 300
|
|
20
|
+
},
|
|
21
|
+
marginBottom: theme.spacing(2)
|
|
19
22
|
},
|
|
20
23
|
[`& .SCLiveStreamVideoConference-btn-back-home`]: {
|
|
21
24
|
marginTop: theme.spacing(2)
|
|
@@ -39,8 +39,9 @@ declare const Component: {
|
|
|
39
39
|
'& .SCBaseItemButton-text ': {
|
|
40
40
|
maxWidth: string;
|
|
41
41
|
};
|
|
42
|
-
'& .SCNavigationMenuDrawer-drawer-footer': {
|
|
43
|
-
|
|
42
|
+
'& .SCNavigationMenuDrawer-drawer-footer-live-button': {
|
|
43
|
+
margin: any;
|
|
44
|
+
maxWidth: number;
|
|
44
45
|
};
|
|
45
46
|
};
|
|
46
47
|
};
|
|
@@ -40,8 +40,9 @@ const Component = {
|
|
|
40
40
|
'& .SCBaseItemButton-text ': {
|
|
41
41
|
maxWidth: '80%'
|
|
42
42
|
},
|
|
43
|
-
'& .SCNavigationMenuDrawer-drawer-footer': {
|
|
44
|
-
|
|
43
|
+
'& .SCNavigationMenuDrawer-drawer-footer-live-button': {
|
|
44
|
+
margin: theme.spacing(3),
|
|
45
|
+
maxWidth: 270
|
|
45
46
|
}
|
|
46
47
|
})
|
|
47
48
|
}
|
|
@@ -82,12 +82,14 @@ declare const Component: {
|
|
|
82
82
|
[x: number]: {
|
|
83
83
|
width: any;
|
|
84
84
|
};
|
|
85
|
+
position: string;
|
|
85
86
|
'& img': {
|
|
86
87
|
height: string;
|
|
87
88
|
width: string;
|
|
88
89
|
};
|
|
89
90
|
'& .MuiButtonBase-root': {
|
|
90
91
|
flexWrap: string;
|
|
92
|
+
width: string;
|
|
91
93
|
position: string;
|
|
92
94
|
bottom: any;
|
|
93
95
|
backgroundColor: string;
|
|
@@ -79,6 +79,7 @@ const Component = {
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
'& .SCPrivateMessageThreadItem-document': {
|
|
82
|
+
position: 'relative',
|
|
82
83
|
[theme.breakpoints.up('sm')]: {
|
|
83
84
|
width: theme.spacing(32.5)
|
|
84
85
|
},
|
|
@@ -88,7 +89,7 @@ const Component = {
|
|
|
88
89
|
},
|
|
89
90
|
'& .MuiButtonBase-root': {
|
|
90
91
|
flexWrap: 'wrap',
|
|
91
|
-
|
|
92
|
+
width: '100%',
|
|
92
93
|
position: 'absolute',
|
|
93
94
|
bottom: theme.spacing(4),
|
|
94
95
|
backgroundColor: 'rgba(0,0,0,0.5)',
|