@selfcommunity/react-theme-default 0.2.0-live.93 → 0.2.0-live.96
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 +2 -0
- package/lib/cjs/components/SCComposer.js +4 -2
- package/lib/cjs/components/SCFeedObject.d.ts +5 -1
- package/lib/cjs/components/SCFeedObject.js +7 -3
- package/lib/cjs/components/SCLiveStreamSelector.js +1 -1
- package/lib/cjs/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/cjs/components/SCUpScalingTierBadge.js +15 -0
- package/lib/cjs/index.d.ts +22 -5
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCComposer.d.ts +2 -0
- package/lib/esm/components/SCComposer.js +4 -2
- package/lib/esm/components/SCFeedObject.d.ts +5 -1
- package/lib/esm/components/SCFeedObject.js +7 -3
- package/lib/esm/components/SCLiveStreamSelector.js +1 -1
- package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
- package/lib/esm/index.d.ts +22 -5
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +4 -4
|
@@ -5,10 +5,12 @@ const Component = {
|
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
root: ({ theme }) => ({
|
|
7
7
|
'& .MuiDialog-paper': {
|
|
8
|
+
height: '100%',
|
|
8
9
|
position: 'relative',
|
|
9
10
|
overflowX: 'hidden',
|
|
10
11
|
'& > form': {
|
|
11
|
-
zIndex: 0
|
|
12
|
+
zIndex: 0,
|
|
13
|
+
height: '100%',
|
|
12
14
|
},
|
|
13
15
|
'& .MuiDialogTitle-root': {
|
|
14
16
|
position: 'absolute',
|
|
@@ -32,7 +34,7 @@ const Component = {
|
|
|
32
34
|
'& .MuiDialogContent-root': {
|
|
33
35
|
margin: '45px 0',
|
|
34
36
|
padding: theme.spacing(1, 2),
|
|
35
|
-
height: `calc(
|
|
37
|
+
height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
|
|
36
38
|
'& .SCEditor-root': {
|
|
37
39
|
padding: theme.spacing(1, 0),
|
|
38
40
|
'& .SCEditor-placeholder': {
|
|
@@ -70,6 +70,7 @@ declare const Component: {
|
|
|
70
70
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
71
71
|
justifyContent: string;
|
|
72
72
|
padding: any;
|
|
73
|
+
height: number;
|
|
73
74
|
'& a': {
|
|
74
75
|
padding: any;
|
|
75
76
|
marginBottom: any;
|
|
@@ -145,12 +146,15 @@ declare const Component: {
|
|
|
145
146
|
'& .SCFeedObject-category': {
|
|
146
147
|
[x: number]: {
|
|
147
148
|
justifyContent: string;
|
|
149
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
150
|
+
justifyContent: string;
|
|
151
|
+
};
|
|
148
152
|
};
|
|
149
153
|
borderBottom: string;
|
|
150
154
|
margin: any;
|
|
151
155
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
152
156
|
borderBottom: string;
|
|
153
|
-
marginTop:
|
|
157
|
+
marginTop: number;
|
|
154
158
|
'& .MuiChip-icon': {
|
|
155
159
|
fontWeight: any;
|
|
156
160
|
};
|
|
@@ -72,7 +72,8 @@ const Component = {
|
|
|
72
72
|
},
|
|
73
73
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
74
74
|
justifyContent: 'flex-start',
|
|
75
|
-
padding: theme.spacing(0.5),
|
|
75
|
+
padding: theme.spacing(0.2, 0.5),
|
|
76
|
+
height: 20,
|
|
76
77
|
'& a': {
|
|
77
78
|
padding: theme.spacing(0.5),
|
|
78
79
|
marginBottom: theme.spacing(0.5),
|
|
@@ -150,7 +151,7 @@ const Component = {
|
|
|
150
151
|
margin: theme.spacing(0, 2),
|
|
151
152
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
152
153
|
borderBottom: 'none',
|
|
153
|
-
marginTop:
|
|
154
|
+
marginTop: 5,
|
|
154
155
|
'& .MuiChip-icon': {
|
|
155
156
|
fontWeight: theme.typography.fontWeightRegular
|
|
156
157
|
}
|
|
@@ -160,7 +161,10 @@ const Component = {
|
|
|
160
161
|
marginRight: theme.spacing(-1)
|
|
161
162
|
},
|
|
162
163
|
[theme.breakpoints.down('md')]: {
|
|
163
|
-
justifyContent: 'space-evenly'
|
|
164
|
+
justifyContent: 'space-evenly',
|
|
165
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
166
|
+
justifyContent: 'start !important'
|
|
167
|
+
}
|
|
164
168
|
}
|
|
165
169
|
},
|
|
166
170
|
'& .SCFeedObject-header': {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
badgeRoot: ({ theme }: any) => {
|
|
5
|
+
background: string;
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
padding: string;
|
|
8
|
+
height: string;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({}),
|
|
6
|
+
badgeRoot: ({ theme }) => ({
|
|
7
|
+
background: '#008080',
|
|
8
|
+
borderRadius: 3,
|
|
9
|
+
padding: '1px',
|
|
10
|
+
height: 'auto',
|
|
11
|
+
fontSize: 12
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1239,10 +1239,12 @@ declare const theme: {
|
|
|
1239
1239
|
};
|
|
1240
1240
|
};
|
|
1241
1241
|
'& .MuiDialog-paper': {
|
|
1242
|
+
height: string;
|
|
1242
1243
|
position: string;
|
|
1243
1244
|
overflowX: string;
|
|
1244
1245
|
'& > form': {
|
|
1245
1246
|
zIndex: number;
|
|
1247
|
+
height: string;
|
|
1246
1248
|
};
|
|
1247
1249
|
'& .MuiDialogTitle-root': {
|
|
1248
1250
|
position: string;
|
|
@@ -2216,6 +2218,7 @@ declare const theme: {
|
|
|
2216
2218
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2217
2219
|
justifyContent: string;
|
|
2218
2220
|
padding: any;
|
|
2221
|
+
height: number;
|
|
2219
2222
|
'& a': {
|
|
2220
2223
|
padding: any;
|
|
2221
2224
|
marginBottom: any;
|
|
@@ -2291,12 +2294,15 @@ declare const theme: {
|
|
|
2291
2294
|
'& .SCFeedObject-category': {
|
|
2292
2295
|
[x: number]: {
|
|
2293
2296
|
justifyContent: string;
|
|
2297
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
2298
|
+
justifyContent: string;
|
|
2299
|
+
};
|
|
2294
2300
|
};
|
|
2295
2301
|
borderBottom: string;
|
|
2296
2302
|
margin: any;
|
|
2297
2303
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2298
2304
|
borderBottom: string;
|
|
2299
|
-
marginTop:
|
|
2305
|
+
marginTop: number;
|
|
2300
2306
|
'& .MuiChip-icon': {
|
|
2301
2307
|
fontWeight: any;
|
|
2302
2308
|
};
|
|
@@ -2700,7 +2706,9 @@ declare const theme: {
|
|
|
2700
2706
|
display: string;
|
|
2701
2707
|
alignItems: string;
|
|
2702
2708
|
textAlign: string;
|
|
2703
|
-
justifyContent: string;
|
|
2709
|
+
justifyContent: string; /**
|
|
2710
|
+
* Style assets - Exports - Start
|
|
2711
|
+
*/
|
|
2704
2712
|
};
|
|
2705
2713
|
'& .SCFeedObject-activities-menu-selector .MuiButton-root': {
|
|
2706
2714
|
textTransform: string;
|
|
@@ -5504,9 +5512,6 @@ declare const theme: {
|
|
|
5504
5512
|
};
|
|
5505
5513
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5506
5514
|
[x: number]: {
|
|
5507
|
-
/**
|
|
5508
|
-
* Style assets - Imports - Start
|
|
5509
|
-
*/
|
|
5510
5515
|
top: number;
|
|
5511
5516
|
left: number;
|
|
5512
5517
|
};
|
|
@@ -8793,6 +8798,18 @@ declare const theme: {
|
|
|
8793
8798
|
};
|
|
8794
8799
|
};
|
|
8795
8800
|
};
|
|
8801
|
+
SCUpScalingTierBadge: {
|
|
8802
|
+
styleOverrides: {
|
|
8803
|
+
root: ({ theme }: any) => {};
|
|
8804
|
+
badgeRoot: ({ theme }: any) => {
|
|
8805
|
+
background: string;
|
|
8806
|
+
borderRadius: number;
|
|
8807
|
+
padding: string;
|
|
8808
|
+
height: string;
|
|
8809
|
+
fontSize: number;
|
|
8810
|
+
};
|
|
8811
|
+
};
|
|
8812
|
+
};
|
|
8796
8813
|
SCUserLiveStreamWidget: {
|
|
8797
8814
|
styleOverrides: {
|
|
8798
8815
|
root: ({ theme }: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -152,6 +152,7 @@ const SCLiveStreamFormSettings_1 = tslib_1.__importDefault(require("./components
|
|
|
152
152
|
const SCLiveStreamRoom_1 = tslib_1.__importDefault(require("./components/SCLiveStreamRoom"));
|
|
153
153
|
const SCLiveStreamVideoConference_1 = tslib_1.__importDefault(require("./components/SCLiveStreamVideoConference"));
|
|
154
154
|
const SCLiveStreamInfoDetails_1 = tslib_1.__importDefault(require("./components/SCLiveStreamInfoDetails"));
|
|
155
|
+
const SCUpScalingTierBadge_1 = tslib_1.__importDefault(require("./components/SCUpScalingTierBadge"));
|
|
155
156
|
const SCUserLiveStreamWidget_1 = tslib_1.__importDefault(require("./components/SCUserLiveStreamWidget"));
|
|
156
157
|
const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCToastNotifications"));
|
|
157
158
|
const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
|
|
@@ -428,6 +429,7 @@ const theme = {
|
|
|
428
429
|
SCWidget: SCWidget_1.default,
|
|
429
430
|
SCLiveStream: SCLiveStream_1.default,
|
|
430
431
|
SCLiveStreamInfoDetails: SCLiveStreamInfoDetails_1.default,
|
|
432
|
+
SCUpScalingTierBadge: SCUpScalingTierBadge_1.default,
|
|
431
433
|
SCUserLiveStreamWidget: SCUserLiveStreamWidget_1.default,
|
|
432
434
|
SCCreateLiveStreamDialog: SCLiveStreamDialog_1.default,
|
|
433
435
|
SCLiveStreamSelector: SCLiveStreamSelector_1.default,
|
|
@@ -3,10 +3,12 @@ const Component = {
|
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
root: ({ theme }) => ({
|
|
5
5
|
'& .MuiDialog-paper': {
|
|
6
|
+
height: '100%',
|
|
6
7
|
position: 'relative',
|
|
7
8
|
overflowX: 'hidden',
|
|
8
9
|
'& > form': {
|
|
9
|
-
zIndex: 0
|
|
10
|
+
zIndex: 0,
|
|
11
|
+
height: '100%',
|
|
10
12
|
},
|
|
11
13
|
'& .MuiDialogTitle-root': {
|
|
12
14
|
position: 'absolute',
|
|
@@ -30,7 +32,7 @@ const Component = {
|
|
|
30
32
|
'& .MuiDialogContent-root': {
|
|
31
33
|
margin: '45px 0',
|
|
32
34
|
padding: theme.spacing(1, 2),
|
|
33
|
-
height: `calc(
|
|
35
|
+
height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
|
|
34
36
|
'& .SCEditor-root': {
|
|
35
37
|
padding: theme.spacing(1, 0),
|
|
36
38
|
'& .SCEditor-placeholder': {
|
|
@@ -70,6 +70,7 @@ declare const Component: {
|
|
|
70
70
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
71
71
|
justifyContent: string;
|
|
72
72
|
padding: any;
|
|
73
|
+
height: number;
|
|
73
74
|
'& a': {
|
|
74
75
|
padding: any;
|
|
75
76
|
marginBottom: any;
|
|
@@ -145,12 +146,15 @@ declare const Component: {
|
|
|
145
146
|
'& .SCFeedObject-category': {
|
|
146
147
|
[x: number]: {
|
|
147
148
|
justifyContent: string;
|
|
149
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
150
|
+
justifyContent: string;
|
|
151
|
+
};
|
|
148
152
|
};
|
|
149
153
|
borderBottom: string;
|
|
150
154
|
margin: any;
|
|
151
155
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
152
156
|
borderBottom: string;
|
|
153
|
-
marginTop:
|
|
157
|
+
marginTop: number;
|
|
154
158
|
'& .MuiChip-icon': {
|
|
155
159
|
fontWeight: any;
|
|
156
160
|
};
|
|
@@ -70,7 +70,8 @@ const Component = {
|
|
|
70
70
|
},
|
|
71
71
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
72
72
|
justifyContent: 'flex-start',
|
|
73
|
-
padding: theme.spacing(0.5),
|
|
73
|
+
padding: theme.spacing(0.2, 0.5),
|
|
74
|
+
height: 20,
|
|
74
75
|
'& a': {
|
|
75
76
|
padding: theme.spacing(0.5),
|
|
76
77
|
marginBottom: theme.spacing(0.5),
|
|
@@ -148,7 +149,7 @@ const Component = {
|
|
|
148
149
|
margin: theme.spacing(0, 2),
|
|
149
150
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
150
151
|
borderBottom: 'none',
|
|
151
|
-
marginTop:
|
|
152
|
+
marginTop: 5,
|
|
152
153
|
'& .MuiChip-icon': {
|
|
153
154
|
fontWeight: theme.typography.fontWeightRegular
|
|
154
155
|
}
|
|
@@ -158,7 +159,10 @@ const Component = {
|
|
|
158
159
|
marginRight: theme.spacing(-1)
|
|
159
160
|
},
|
|
160
161
|
[theme.breakpoints.down('md')]: {
|
|
161
|
-
justifyContent: 'space-evenly'
|
|
162
|
+
justifyContent: 'space-evenly',
|
|
163
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
164
|
+
justifyContent: 'start !important'
|
|
165
|
+
}
|
|
162
166
|
}
|
|
163
167
|
},
|
|
164
168
|
'& .SCFeedObject-header': {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
badgeRoot: ({ theme }: any) => {
|
|
5
|
+
background: string;
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
padding: string;
|
|
8
|
+
height: string;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1239,10 +1239,12 @@ declare const theme: {
|
|
|
1239
1239
|
};
|
|
1240
1240
|
};
|
|
1241
1241
|
'& .MuiDialog-paper': {
|
|
1242
|
+
height: string;
|
|
1242
1243
|
position: string;
|
|
1243
1244
|
overflowX: string;
|
|
1244
1245
|
'& > form': {
|
|
1245
1246
|
zIndex: number;
|
|
1247
|
+
height: string;
|
|
1246
1248
|
};
|
|
1247
1249
|
'& .MuiDialogTitle-root': {
|
|
1248
1250
|
position: string;
|
|
@@ -2216,6 +2218,7 @@ declare const theme: {
|
|
|
2216
2218
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2217
2219
|
justifyContent: string;
|
|
2218
2220
|
padding: any;
|
|
2221
|
+
height: number;
|
|
2219
2222
|
'& a': {
|
|
2220
2223
|
padding: any;
|
|
2221
2224
|
marginBottom: any;
|
|
@@ -2291,12 +2294,15 @@ declare const theme: {
|
|
|
2291
2294
|
'& .SCFeedObject-category': {
|
|
2292
2295
|
[x: number]: {
|
|
2293
2296
|
justifyContent: string;
|
|
2297
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
2298
|
+
justifyContent: string;
|
|
2299
|
+
};
|
|
2294
2300
|
};
|
|
2295
2301
|
borderBottom: string;
|
|
2296
2302
|
margin: any;
|
|
2297
2303
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2298
2304
|
borderBottom: string;
|
|
2299
|
-
marginTop:
|
|
2305
|
+
marginTop: number;
|
|
2300
2306
|
'& .MuiChip-icon': {
|
|
2301
2307
|
fontWeight: any;
|
|
2302
2308
|
};
|
|
@@ -2700,7 +2706,9 @@ declare const theme: {
|
|
|
2700
2706
|
display: string;
|
|
2701
2707
|
alignItems: string;
|
|
2702
2708
|
textAlign: string;
|
|
2703
|
-
justifyContent: string;
|
|
2709
|
+
justifyContent: string; /**
|
|
2710
|
+
* Style assets - Exports - Start
|
|
2711
|
+
*/
|
|
2704
2712
|
};
|
|
2705
2713
|
'& .SCFeedObject-activities-menu-selector .MuiButton-root': {
|
|
2706
2714
|
textTransform: string;
|
|
@@ -5504,9 +5512,6 @@ declare const theme: {
|
|
|
5504
5512
|
};
|
|
5505
5513
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5506
5514
|
[x: number]: {
|
|
5507
|
-
/**
|
|
5508
|
-
* Style assets - Imports - Start
|
|
5509
|
-
*/
|
|
5510
5515
|
top: number;
|
|
5511
5516
|
left: number;
|
|
5512
5517
|
};
|
|
@@ -8793,6 +8798,18 @@ declare const theme: {
|
|
|
8793
8798
|
};
|
|
8794
8799
|
};
|
|
8795
8800
|
};
|
|
8801
|
+
SCUpScalingTierBadge: {
|
|
8802
|
+
styleOverrides: {
|
|
8803
|
+
root: ({ theme }: any) => {};
|
|
8804
|
+
badgeRoot: ({ theme }: any) => {
|
|
8805
|
+
background: string;
|
|
8806
|
+
borderRadius: number;
|
|
8807
|
+
padding: string;
|
|
8808
|
+
height: string;
|
|
8809
|
+
fontSize: number;
|
|
8810
|
+
};
|
|
8811
|
+
};
|
|
8812
|
+
};
|
|
8796
8813
|
SCUserLiveStreamWidget: {
|
|
8797
8814
|
styleOverrides: {
|
|
8798
8815
|
root: ({ theme }: {
|
package/lib/esm/index.js
CHANGED
|
@@ -148,6 +148,7 @@ import SCLiveStreamFormSettings from './components/SCLiveStreamFormSettings';
|
|
|
148
148
|
import SCLiveStreamRoom from './components/SCLiveStreamRoom';
|
|
149
149
|
import SCLiveStreamVideoConference from './components/SCLiveStreamVideoConference';
|
|
150
150
|
import SCLiveStreamInfoDetails from './components/SCLiveStreamInfoDetails';
|
|
151
|
+
import SCUpScalingTierBadge from './components/SCUpScalingTierBadge';
|
|
151
152
|
import SCUserLiveStreamWidget from './components/SCUserLiveStreamWidget';
|
|
152
153
|
import SCToastNotifications from './components/SCToastNotifications';
|
|
153
154
|
import SCUser from './components/SCUser';
|
|
@@ -416,6 +417,7 @@ const theme = {
|
|
|
416
417
|
SCWidget,
|
|
417
418
|
SCLiveStream,
|
|
418
419
|
SCLiveStreamInfoDetails,
|
|
420
|
+
SCUpScalingTierBadge,
|
|
419
421
|
SCUserLiveStreamWidget,
|
|
420
422
|
SCCreateLiveStreamDialog,
|
|
421
423
|
SCLiveStreamSelector,
|