@selfcommunity/react-theme-default 0.2.0-live.94 → 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/index.d.ts +10 -5
- 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/index.d.ts +10 -5
- 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': {
|
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
|
};
|
|
@@ -2517,9 +2523,6 @@ declare const theme: {
|
|
|
2517
2523
|
background: string;
|
|
2518
2524
|
border: string;
|
|
2519
2525
|
'& .SCEditor-root': {
|
|
2520
|
-
/**
|
|
2521
|
-
* Export default theme
|
|
2522
|
-
*/
|
|
2523
2526
|
'& .SCEditor-placeholder': {
|
|
2524
2527
|
fontWeight: any;
|
|
2525
2528
|
};
|
|
@@ -2703,7 +2706,9 @@ declare const theme: {
|
|
|
2703
2706
|
display: string;
|
|
2704
2707
|
alignItems: string;
|
|
2705
2708
|
textAlign: string;
|
|
2706
|
-
justifyContent: string;
|
|
2709
|
+
justifyContent: string; /**
|
|
2710
|
+
* Style assets - Exports - Start
|
|
2711
|
+
*/
|
|
2707
2712
|
};
|
|
2708
2713
|
'& .SCFeedObject-activities-menu-selector .MuiButton-root': {
|
|
2709
2714
|
textTransform: string;
|
|
@@ -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': {
|
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
|
};
|
|
@@ -2517,9 +2523,6 @@ declare const theme: {
|
|
|
2517
2523
|
background: string;
|
|
2518
2524
|
border: string;
|
|
2519
2525
|
'& .SCEditor-root': {
|
|
2520
|
-
/**
|
|
2521
|
-
* Export default theme
|
|
2522
|
-
*/
|
|
2523
2526
|
'& .SCEditor-placeholder': {
|
|
2524
2527
|
fontWeight: any;
|
|
2525
2528
|
};
|
|
@@ -2703,7 +2706,9 @@ declare const theme: {
|
|
|
2703
2706
|
display: string;
|
|
2704
2707
|
alignItems: string;
|
|
2705
2708
|
textAlign: string;
|
|
2706
|
-
justifyContent: string;
|
|
2709
|
+
justifyContent: string; /**
|
|
2710
|
+
* Style assets - Exports - Start
|
|
2711
|
+
*/
|
|
2707
2712
|
};
|
|
2708
2713
|
'& .SCFeedObject-activities-menu-selector .MuiButton-root': {
|
|
2709
2714
|
textTransform: string;
|