@selfcommunity/react-theme-default 0.5.0-alpha.12 → 0.5.0-alpha.14
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 +0 -3
- package/lib/cjs/components/SCComposer.js +3 -3
- package/lib/cjs/components/SCFeedObject.d.ts +8 -13
- package/lib/cjs/components/SCFeedObject.js +8 -13
- package/lib/cjs/index.d.ts +8 -16
- package/lib/esm/components/SCComposer.d.ts +0 -3
- package/lib/esm/components/SCComposer.js +3 -3
- package/lib/esm/components/SCFeedObject.d.ts +8 -13
- package/lib/esm/components/SCFeedObject.js +8 -13
- package/lib/esm/index.d.ts +8 -16
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -37,9 +37,9 @@ 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
|
-
|
|
42
|
-
},
|
|
40
|
+
// [theme.breakpoints.up('md')]: {
|
|
41
|
+
// overflowY: 'hidden'
|
|
42
|
+
// },
|
|
43
43
|
'& .SCEditor-root': {
|
|
44
44
|
padding: theme.spacing(1, 0),
|
|
45
45
|
marginBottom: theme.spacing(3),
|
|
@@ -143,19 +143,14 @@ declare const Component: {
|
|
|
143
143
|
opacity: number;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
'& .SCFeedObject-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
backgroundColor: any;
|
|
155
|
-
border: string;
|
|
156
|
-
borderRadius: string;
|
|
157
|
-
filter: string;
|
|
158
|
-
};
|
|
146
|
+
'& .SCFeedObject-new': {
|
|
147
|
+
color: any;
|
|
148
|
+
backgroundColor: string;
|
|
149
|
+
padding: string;
|
|
150
|
+
borderRadius: string;
|
|
151
|
+
marginRight: string;
|
|
152
|
+
fontSize: string;
|
|
153
|
+
fontWeight: number;
|
|
159
154
|
};
|
|
160
155
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
161
156
|
[x: number]: {
|
|
@@ -146,19 +146,14 @@ const Component = {
|
|
|
146
146
|
opacity: 1
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
|
-
'& .SCFeedObject-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
backgroundColor: theme.palette.secondary.main,
|
|
158
|
-
border: `1px solid ${theme.palette.common.white}`,
|
|
159
|
-
borderRadius: '9999px',
|
|
160
|
-
filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
|
|
161
|
-
}
|
|
149
|
+
'& .SCFeedObject-new': {
|
|
150
|
+
color: theme.palette.common.white,
|
|
151
|
+
backgroundColor: '#fa0501',
|
|
152
|
+
padding: '0 3px',
|
|
153
|
+
borderRadius: '3px',
|
|
154
|
+
marginRight: '3px',
|
|
155
|
+
fontSize: '10px',
|
|
156
|
+
fontWeight: 600
|
|
162
157
|
},
|
|
163
158
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
164
159
|
border: `0 none`,
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1370,9 +1370,6 @@ declare const theme: {
|
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
1372
|
'& .MuiDialogContent-root': {
|
|
1373
|
-
[x: number]: {
|
|
1374
|
-
overflowY: string;
|
|
1375
|
-
};
|
|
1376
1373
|
margin: string;
|
|
1377
1374
|
padding: any;
|
|
1378
1375
|
height: string;
|
|
@@ -4086,19 +4083,14 @@ declare const theme: {
|
|
|
4086
4083
|
opacity: number;
|
|
4087
4084
|
};
|
|
4088
4085
|
};
|
|
4089
|
-
'& .SCFeedObject-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
backgroundColor: any;
|
|
4098
|
-
border: string;
|
|
4099
|
-
borderRadius: string;
|
|
4100
|
-
filter: string;
|
|
4101
|
-
};
|
|
4086
|
+
'& .SCFeedObject-new': {
|
|
4087
|
+
color: any;
|
|
4088
|
+
backgroundColor: string;
|
|
4089
|
+
padding: string;
|
|
4090
|
+
borderRadius: string;
|
|
4091
|
+
marginRight: string;
|
|
4092
|
+
fontSize: string;
|
|
4093
|
+
fontWeight: number;
|
|
4102
4094
|
};
|
|
4103
4095
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
4104
4096
|
[x: number]: {
|
|
@@ -35,9 +35,9 @@ const Component = {
|
|
|
35
35
|
margin: '45px 0',
|
|
36
36
|
padding: theme.spacing(1, 2),
|
|
37
37
|
height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
|
|
38
|
-
[theme.breakpoints.up('md')]: {
|
|
39
|
-
|
|
40
|
-
},
|
|
38
|
+
// [theme.breakpoints.up('md')]: {
|
|
39
|
+
// overflowY: 'hidden'
|
|
40
|
+
// },
|
|
41
41
|
'& .SCEditor-root': {
|
|
42
42
|
padding: theme.spacing(1, 0),
|
|
43
43
|
marginBottom: theme.spacing(3),
|
|
@@ -143,19 +143,14 @@ declare const Component: {
|
|
|
143
143
|
opacity: number;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
'& .SCFeedObject-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
backgroundColor: any;
|
|
155
|
-
border: string;
|
|
156
|
-
borderRadius: string;
|
|
157
|
-
filter: string;
|
|
158
|
-
};
|
|
146
|
+
'& .SCFeedObject-new': {
|
|
147
|
+
color: any;
|
|
148
|
+
backgroundColor: string;
|
|
149
|
+
padding: string;
|
|
150
|
+
borderRadius: string;
|
|
151
|
+
marginRight: string;
|
|
152
|
+
fontSize: string;
|
|
153
|
+
fontWeight: number;
|
|
159
154
|
};
|
|
160
155
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
161
156
|
[x: number]: {
|
|
@@ -144,19 +144,14 @@ const Component = {
|
|
|
144
144
|
opacity: 1
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
-
'& .SCFeedObject-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
backgroundColor: theme.palette.secondary.main,
|
|
156
|
-
border: `1px solid ${theme.palette.common.white}`,
|
|
157
|
-
borderRadius: '9999px',
|
|
158
|
-
filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
|
|
159
|
-
}
|
|
147
|
+
'& .SCFeedObject-new': {
|
|
148
|
+
color: theme.palette.common.white,
|
|
149
|
+
backgroundColor: '#fa0501',
|
|
150
|
+
padding: '0 3px',
|
|
151
|
+
borderRadius: '3px',
|
|
152
|
+
marginRight: '3px',
|
|
153
|
+
fontSize: '10px',
|
|
154
|
+
fontWeight: 600
|
|
160
155
|
},
|
|
161
156
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
162
157
|
border: `0 none`,
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1370,9 +1370,6 @@ declare const theme: {
|
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
1372
|
'& .MuiDialogContent-root': {
|
|
1373
|
-
[x: number]: {
|
|
1374
|
-
overflowY: string;
|
|
1375
|
-
};
|
|
1376
1373
|
margin: string;
|
|
1377
1374
|
padding: any;
|
|
1378
1375
|
height: string;
|
|
@@ -4086,19 +4083,14 @@ declare const theme: {
|
|
|
4086
4083
|
opacity: number;
|
|
4087
4084
|
};
|
|
4088
4085
|
};
|
|
4089
|
-
'& .SCFeedObject-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
backgroundColor: any;
|
|
4098
|
-
border: string;
|
|
4099
|
-
borderRadius: string;
|
|
4100
|
-
filter: string;
|
|
4101
|
-
};
|
|
4086
|
+
'& .SCFeedObject-new': {
|
|
4087
|
+
color: any;
|
|
4088
|
+
backgroundColor: string;
|
|
4089
|
+
padding: string;
|
|
4090
|
+
borderRadius: string;
|
|
4091
|
+
marginRight: string;
|
|
4092
|
+
fontSize: string;
|
|
4093
|
+
fontWeight: number;
|
|
4102
4094
|
};
|
|
4103
4095
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
4104
4096
|
[x: number]: {
|