@selfcommunity/react-theme-default 0.5.0-alpha.18 → 0.5.0-alpha.19
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/SCMediaFile.d.ts +3 -21
- package/lib/cjs/components/SCMediaFile.js +3 -21
- package/lib/cjs/index.d.ts +3 -21
- package/lib/esm/components/SCMediaFile.d.ts +3 -21
- package/lib/esm/components/SCMediaFile.js +3 -21
- package/lib/esm/index.d.ts +3 -21
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -168,28 +168,10 @@ declare const Component: {
|
|
|
168
168
|
flexDirection: string;
|
|
169
169
|
gap: string;
|
|
170
170
|
'& .SCMediaFile-image-wrapper': {
|
|
171
|
-
border: string;
|
|
172
|
-
borderRadius: string;
|
|
173
171
|
flexShrink: number;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
'& .SCMediaFile-badge-pdf': {
|
|
178
|
-
position: string;
|
|
179
|
-
bottom: any;
|
|
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
|
-
};
|
|
172
|
+
padding: number;
|
|
173
|
+
'&:hover': {
|
|
174
|
+
backgroundColor: string;
|
|
193
175
|
};
|
|
194
176
|
};
|
|
195
177
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -168,28 +168,10 @@ const Component = {
|
|
|
168
168
|
flexDirection: 'row',
|
|
169
169
|
gap: '8px',
|
|
170
170
|
'& .SCMediaFile-image-wrapper': {
|
|
171
|
-
border: '1px solid #DDD',
|
|
172
|
-
borderRadius: '2px',
|
|
173
171
|
flexShrink: 0,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
'& .SCMediaFile-badge-pdf': {
|
|
178
|
-
position: 'absolute',
|
|
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
|
-
}
|
|
172
|
+
padding: 0,
|
|
173
|
+
'&:hover': {
|
|
174
|
+
backgroundColor: 'unset'
|
|
193
175
|
}
|
|
194
176
|
},
|
|
195
177
|
'& .SCMediaFile-text-wrapper': {
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -6681,28 +6681,10 @@ declare const theme: {
|
|
|
6681
6681
|
flexDirection: string;
|
|
6682
6682
|
gap: string;
|
|
6683
6683
|
'& .SCMediaFile-image-wrapper': {
|
|
6684
|
-
border: string;
|
|
6685
|
-
borderRadius: string;
|
|
6686
6684
|
flexShrink: number;
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
'& .SCMediaFile-badge-pdf': {
|
|
6691
|
-
position: string;
|
|
6692
|
-
bottom: any;
|
|
6693
|
-
left: number;
|
|
6694
|
-
width: any;
|
|
6695
|
-
height: any;
|
|
6696
|
-
border: string;
|
|
6697
|
-
borderLeft: number;
|
|
6698
|
-
borderTopRightRadius: string;
|
|
6699
|
-
borderBottomRightRadius: string;
|
|
6700
|
-
'& .SCMediaFile-pdf': {
|
|
6701
|
-
height: string;
|
|
6702
|
-
fontWeight: number;
|
|
6703
|
-
lineHeight: number;
|
|
6704
|
-
padding: string;
|
|
6705
|
-
};
|
|
6685
|
+
padding: number;
|
|
6686
|
+
'&:hover': {
|
|
6687
|
+
backgroundColor: string;
|
|
6706
6688
|
};
|
|
6707
6689
|
};
|
|
6708
6690
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -168,28 +168,10 @@ declare const Component: {
|
|
|
168
168
|
flexDirection: string;
|
|
169
169
|
gap: string;
|
|
170
170
|
'& .SCMediaFile-image-wrapper': {
|
|
171
|
-
border: string;
|
|
172
|
-
borderRadius: string;
|
|
173
171
|
flexShrink: number;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
'& .SCMediaFile-badge-pdf': {
|
|
178
|
-
position: string;
|
|
179
|
-
bottom: any;
|
|
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
|
-
};
|
|
172
|
+
padding: number;
|
|
173
|
+
'&:hover': {
|
|
174
|
+
backgroundColor: string;
|
|
193
175
|
};
|
|
194
176
|
};
|
|
195
177
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -166,28 +166,10 @@ const Component = {
|
|
|
166
166
|
flexDirection: 'row',
|
|
167
167
|
gap: '8px',
|
|
168
168
|
'& .SCMediaFile-image-wrapper': {
|
|
169
|
-
border: '1px solid #DDD',
|
|
170
|
-
borderRadius: '2px',
|
|
171
169
|
flexShrink: 0,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
'& .SCMediaFile-badge-pdf': {
|
|
176
|
-
position: 'absolute',
|
|
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
|
-
}
|
|
170
|
+
padding: 0,
|
|
171
|
+
'&:hover': {
|
|
172
|
+
backgroundColor: 'unset'
|
|
191
173
|
}
|
|
192
174
|
},
|
|
193
175
|
'& .SCMediaFile-text-wrapper': {
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -6681,28 +6681,10 @@ declare const theme: {
|
|
|
6681
6681
|
flexDirection: string;
|
|
6682
6682
|
gap: string;
|
|
6683
6683
|
'& .SCMediaFile-image-wrapper': {
|
|
6684
|
-
border: string;
|
|
6685
|
-
borderRadius: string;
|
|
6686
6684
|
flexShrink: number;
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
'& .SCMediaFile-badge-pdf': {
|
|
6691
|
-
position: string;
|
|
6692
|
-
bottom: any;
|
|
6693
|
-
left: number;
|
|
6694
|
-
width: any;
|
|
6695
|
-
height: any;
|
|
6696
|
-
border: string;
|
|
6697
|
-
borderLeft: number;
|
|
6698
|
-
borderTopRightRadius: string;
|
|
6699
|
-
borderBottomRightRadius: string;
|
|
6700
|
-
'& .SCMediaFile-pdf': {
|
|
6701
|
-
height: string;
|
|
6702
|
-
fontWeight: number;
|
|
6703
|
-
lineHeight: number;
|
|
6704
|
-
padding: string;
|
|
6705
|
-
};
|
|
6685
|
+
padding: number;
|
|
6686
|
+
'&:hover': {
|
|
6687
|
+
backgroundColor: string;
|
|
6706
6688
|
};
|
|
6707
6689
|
};
|
|
6708
6690
|
'& .SCMediaFile-text-wrapper': {
|