@selfcommunity/react-theme-default 0.5.0-alpha.10 → 0.5.0-alpha.11
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/SCFeedObject.d.ts +14 -0
- package/lib/cjs/components/SCFeedObject.js +14 -0
- package/lib/cjs/components/SCMediaFile.d.ts +13 -1
- package/lib/cjs/components/SCMediaFile.js +14 -2
- package/lib/cjs/index.d.ts +28 -4
- package/lib/esm/components/SCFeedObject.d.ts +14 -0
- package/lib/esm/components/SCFeedObject.js +14 -0
- package/lib/esm/components/SCMediaFile.d.ts +13 -1
- package/lib/esm/components/SCMediaFile.js +14 -2
- package/lib/esm/index.d.ts +28 -4
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -143,6 +143,20 @@ declare const Component: {
|
|
|
143
143
|
opacity: number;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
+
'& .SCFeedObject-obj-element': {
|
|
147
|
+
position: string;
|
|
148
|
+
'& .SCFeedObject-new': {
|
|
149
|
+
position: string;
|
|
150
|
+
top: string;
|
|
151
|
+
left: string;
|
|
152
|
+
width: string;
|
|
153
|
+
height: string;
|
|
154
|
+
backgroundColor: any;
|
|
155
|
+
border: string;
|
|
156
|
+
borderRadius: string;
|
|
157
|
+
filter: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
146
160
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
147
161
|
[x: number]: {
|
|
148
162
|
borderRadius: any;
|
|
@@ -146,6 +146,20 @@ const Component = {
|
|
|
146
146
|
opacity: 1
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
|
+
'& .SCFeedObject-obj-element': {
|
|
150
|
+
position: 'relative',
|
|
151
|
+
'& .SCFeedObject-new': {
|
|
152
|
+
position: 'absolute',
|
|
153
|
+
top: '10px',
|
|
154
|
+
left: '10px',
|
|
155
|
+
width: '9px',
|
|
156
|
+
height: '9px',
|
|
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
|
+
}
|
|
162
|
+
},
|
|
149
163
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
150
164
|
border: `0 none`,
|
|
151
165
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
@@ -176,8 +176,20 @@ declare const Component: {
|
|
|
176
176
|
height: string;
|
|
177
177
|
'& .SCMediaFile-badge-pdf': {
|
|
178
178
|
position: string;
|
|
179
|
-
bottom:
|
|
179
|
+
bottom: any;
|
|
180
180
|
left: number;
|
|
181
|
+
width: any;
|
|
182
|
+
height: any;
|
|
183
|
+
border: string;
|
|
184
|
+
borderLeft: number;
|
|
185
|
+
borderTopRightRadius: string;
|
|
186
|
+
borderBottomRightRadius: string;
|
|
187
|
+
'& .SCMediaFile-pdf': {
|
|
188
|
+
height: string;
|
|
189
|
+
fontWeight: number;
|
|
190
|
+
lineHeight: number;
|
|
191
|
+
padding: string;
|
|
192
|
+
};
|
|
181
193
|
};
|
|
182
194
|
};
|
|
183
195
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -176,8 +176,20 @@ const Component = {
|
|
|
176
176
|
height: '50px',
|
|
177
177
|
'& .SCMediaFile-badge-pdf': {
|
|
178
178
|
position: 'absolute',
|
|
179
|
-
bottom:
|
|
180
|
-
left: 0
|
|
179
|
+
bottom: theme.spacing(1),
|
|
180
|
+
left: 0,
|
|
181
|
+
width: theme.spacing(4),
|
|
182
|
+
height: theme.spacing(2),
|
|
183
|
+
border: '1px solid #DDD',
|
|
184
|
+
borderLeft: 0,
|
|
185
|
+
borderTopRightRadius: '3px',
|
|
186
|
+
borderBottomRightRadius: '3px',
|
|
187
|
+
'& .SCMediaFile-pdf': {
|
|
188
|
+
height: '100%',
|
|
189
|
+
fontWeight: 600,
|
|
190
|
+
lineHeight: 1,
|
|
191
|
+
padding: '1px'
|
|
192
|
+
}
|
|
181
193
|
}
|
|
182
194
|
},
|
|
183
195
|
'& .SCMediaFile-text-wrapper': {
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -4086,6 +4086,20 @@ declare const theme: {
|
|
|
4086
4086
|
opacity: number;
|
|
4087
4087
|
};
|
|
4088
4088
|
};
|
|
4089
|
+
'& .SCFeedObject-obj-element': {
|
|
4090
|
+
position: string;
|
|
4091
|
+
'& .SCFeedObject-new': {
|
|
4092
|
+
position: string;
|
|
4093
|
+
top: string;
|
|
4094
|
+
left: string;
|
|
4095
|
+
width: string;
|
|
4096
|
+
height: string;
|
|
4097
|
+
backgroundColor: any;
|
|
4098
|
+
border: string;
|
|
4099
|
+
borderRadius: string;
|
|
4100
|
+
filter: string;
|
|
4101
|
+
};
|
|
4102
|
+
};
|
|
4089
4103
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
4090
4104
|
[x: number]: {
|
|
4091
4105
|
borderRadius: any;
|
|
@@ -4406,9 +4420,7 @@ declare const theme: {
|
|
|
4406
4420
|
};
|
|
4407
4421
|
};
|
|
4408
4422
|
};
|
|
4409
|
-
};
|
|
4410
|
-
* Export default theme
|
|
4411
|
-
*/
|
|
4423
|
+
};
|
|
4412
4424
|
};
|
|
4413
4425
|
};
|
|
4414
4426
|
'&.SCFeedObject-snippet': {
|
|
@@ -6671,8 +6683,20 @@ declare const theme: {
|
|
|
6671
6683
|
height: string;
|
|
6672
6684
|
'& .SCMediaFile-badge-pdf': {
|
|
6673
6685
|
position: string;
|
|
6674
|
-
bottom:
|
|
6686
|
+
bottom: any;
|
|
6675
6687
|
left: number;
|
|
6688
|
+
width: any;
|
|
6689
|
+
height: any;
|
|
6690
|
+
border: string;
|
|
6691
|
+
borderLeft: number;
|
|
6692
|
+
borderTopRightRadius: string;
|
|
6693
|
+
borderBottomRightRadius: string;
|
|
6694
|
+
'& .SCMediaFile-pdf': {
|
|
6695
|
+
height: string;
|
|
6696
|
+
fontWeight: number;
|
|
6697
|
+
lineHeight: number;
|
|
6698
|
+
padding: string;
|
|
6699
|
+
};
|
|
6676
6700
|
};
|
|
6677
6701
|
};
|
|
6678
6702
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -143,6 +143,20 @@ declare const Component: {
|
|
|
143
143
|
opacity: number;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
+
'& .SCFeedObject-obj-element': {
|
|
147
|
+
position: string;
|
|
148
|
+
'& .SCFeedObject-new': {
|
|
149
|
+
position: string;
|
|
150
|
+
top: string;
|
|
151
|
+
left: string;
|
|
152
|
+
width: string;
|
|
153
|
+
height: string;
|
|
154
|
+
backgroundColor: any;
|
|
155
|
+
border: string;
|
|
156
|
+
borderRadius: string;
|
|
157
|
+
filter: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
146
160
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
147
161
|
[x: number]: {
|
|
148
162
|
borderRadius: any;
|
|
@@ -144,6 +144,20 @@ const Component = {
|
|
|
144
144
|
opacity: 1
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
+
'& .SCFeedObject-obj-element': {
|
|
148
|
+
position: 'relative',
|
|
149
|
+
'& .SCFeedObject-new': {
|
|
150
|
+
position: 'absolute',
|
|
151
|
+
top: '10px',
|
|
152
|
+
left: '10px',
|
|
153
|
+
width: '9px',
|
|
154
|
+
height: '9px',
|
|
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
|
+
}
|
|
160
|
+
},
|
|
147
161
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
148
162
|
border: `0 none`,
|
|
149
163
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
@@ -176,8 +176,20 @@ declare const Component: {
|
|
|
176
176
|
height: string;
|
|
177
177
|
'& .SCMediaFile-badge-pdf': {
|
|
178
178
|
position: string;
|
|
179
|
-
bottom:
|
|
179
|
+
bottom: any;
|
|
180
180
|
left: number;
|
|
181
|
+
width: any;
|
|
182
|
+
height: any;
|
|
183
|
+
border: string;
|
|
184
|
+
borderLeft: number;
|
|
185
|
+
borderTopRightRadius: string;
|
|
186
|
+
borderBottomRightRadius: string;
|
|
187
|
+
'& .SCMediaFile-pdf': {
|
|
188
|
+
height: string;
|
|
189
|
+
fontWeight: number;
|
|
190
|
+
lineHeight: number;
|
|
191
|
+
padding: string;
|
|
192
|
+
};
|
|
181
193
|
};
|
|
182
194
|
};
|
|
183
195
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -174,8 +174,20 @@ const Component = {
|
|
|
174
174
|
height: '50px',
|
|
175
175
|
'& .SCMediaFile-badge-pdf': {
|
|
176
176
|
position: 'absolute',
|
|
177
|
-
bottom:
|
|
178
|
-
left: 0
|
|
177
|
+
bottom: theme.spacing(1),
|
|
178
|
+
left: 0,
|
|
179
|
+
width: theme.spacing(4),
|
|
180
|
+
height: theme.spacing(2),
|
|
181
|
+
border: '1px solid #DDD',
|
|
182
|
+
borderLeft: 0,
|
|
183
|
+
borderTopRightRadius: '3px',
|
|
184
|
+
borderBottomRightRadius: '3px',
|
|
185
|
+
'& .SCMediaFile-pdf': {
|
|
186
|
+
height: '100%',
|
|
187
|
+
fontWeight: 600,
|
|
188
|
+
lineHeight: 1,
|
|
189
|
+
padding: '1px'
|
|
190
|
+
}
|
|
179
191
|
}
|
|
180
192
|
},
|
|
181
193
|
'& .SCMediaFile-text-wrapper': {
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -4086,6 +4086,20 @@ declare const theme: {
|
|
|
4086
4086
|
opacity: number;
|
|
4087
4087
|
};
|
|
4088
4088
|
};
|
|
4089
|
+
'& .SCFeedObject-obj-element': {
|
|
4090
|
+
position: string;
|
|
4091
|
+
'& .SCFeedObject-new': {
|
|
4092
|
+
position: string;
|
|
4093
|
+
top: string;
|
|
4094
|
+
left: string;
|
|
4095
|
+
width: string;
|
|
4096
|
+
height: string;
|
|
4097
|
+
backgroundColor: any;
|
|
4098
|
+
border: string;
|
|
4099
|
+
borderRadius: string;
|
|
4100
|
+
filter: string;
|
|
4101
|
+
};
|
|
4102
|
+
};
|
|
4089
4103
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
4090
4104
|
[x: number]: {
|
|
4091
4105
|
borderRadius: any;
|
|
@@ -4406,9 +4420,7 @@ declare const theme: {
|
|
|
4406
4420
|
};
|
|
4407
4421
|
};
|
|
4408
4422
|
};
|
|
4409
|
-
};
|
|
4410
|
-
* Export default theme
|
|
4411
|
-
*/
|
|
4423
|
+
};
|
|
4412
4424
|
};
|
|
4413
4425
|
};
|
|
4414
4426
|
'&.SCFeedObject-snippet': {
|
|
@@ -6671,8 +6683,20 @@ declare const theme: {
|
|
|
6671
6683
|
height: string;
|
|
6672
6684
|
'& .SCMediaFile-badge-pdf': {
|
|
6673
6685
|
position: string;
|
|
6674
|
-
bottom:
|
|
6686
|
+
bottom: any;
|
|
6675
6687
|
left: number;
|
|
6688
|
+
width: any;
|
|
6689
|
+
height: any;
|
|
6690
|
+
border: string;
|
|
6691
|
+
borderLeft: number;
|
|
6692
|
+
borderTopRightRadius: string;
|
|
6693
|
+
borderBottomRightRadius: string;
|
|
6694
|
+
'& .SCMediaFile-pdf': {
|
|
6695
|
+
height: string;
|
|
6696
|
+
fontWeight: number;
|
|
6697
|
+
lineHeight: number;
|
|
6698
|
+
padding: string;
|
|
6699
|
+
};
|
|
6676
6700
|
};
|
|
6677
6701
|
};
|
|
6678
6702
|
'& .SCMediaFile-text-wrapper': {
|