@selfcommunity/react-theme-default 0.5.0-alpha.17 → 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/SCCategoryHeader.d.ts +4 -0
- package/lib/cjs/components/SCCategoryHeader.js +4 -0
- package/lib/cjs/components/SCMediaFile.d.ts +3 -21
- package/lib/cjs/components/SCMediaFile.js +3 -21
- package/lib/cjs/index.d.ts +7 -21
- package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
- package/lib/esm/components/SCCategoryHeader.js +4 -0
- package/lib/esm/components/SCMediaFile.d.ts +3 -21
- package/lib/esm/components/SCMediaFile.js +3 -21
- package/lib/esm/index.d.ts +7 -21
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -43,6 +43,10 @@ declare const Component: {
|
|
|
43
43
|
fontWeight: any;
|
|
44
44
|
marginBottom: string;
|
|
45
45
|
};
|
|
46
|
+
'& .SCCategoryHeader-tags': {
|
|
47
|
+
display: string;
|
|
48
|
+
justifyContent: string;
|
|
49
|
+
};
|
|
46
50
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
51
|
textAlign: string;
|
|
48
52
|
marginBottom: any;
|
|
@@ -45,6 +45,10 @@ const Component = {
|
|
|
45
45
|
fontWeight: theme.typography.fontWeightMedium,
|
|
46
46
|
marginBottom: `${theme.spacing(0)} !important`
|
|
47
47
|
},
|
|
48
|
+
'& .SCCategoryHeader-tags': {
|
|
49
|
+
display: 'flex',
|
|
50
|
+
justifyContent: 'center'
|
|
51
|
+
},
|
|
48
52
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
49
53
|
textAlign: 'center',
|
|
50
54
|
marginBottom: theme.spacing(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
|
@@ -898,6 +898,10 @@ declare const theme: {
|
|
|
898
898
|
fontWeight: any;
|
|
899
899
|
marginBottom: string;
|
|
900
900
|
};
|
|
901
|
+
'& .SCCategoryHeader-tags': {
|
|
902
|
+
display: string;
|
|
903
|
+
justifyContent: string;
|
|
904
|
+
};
|
|
901
905
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
902
906
|
textAlign: string;
|
|
903
907
|
marginBottom: any;
|
|
@@ -6677,28 +6681,10 @@ declare const theme: {
|
|
|
6677
6681
|
flexDirection: string;
|
|
6678
6682
|
gap: string;
|
|
6679
6683
|
'& .SCMediaFile-image-wrapper': {
|
|
6680
|
-
border: string;
|
|
6681
|
-
borderRadius: string;
|
|
6682
6684
|
flexShrink: number;
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
'& .SCMediaFile-badge-pdf': {
|
|
6687
|
-
position: string;
|
|
6688
|
-
bottom: any;
|
|
6689
|
-
left: number;
|
|
6690
|
-
width: any;
|
|
6691
|
-
height: any;
|
|
6692
|
-
border: string;
|
|
6693
|
-
borderLeft: number;
|
|
6694
|
-
borderTopRightRadius: string;
|
|
6695
|
-
borderBottomRightRadius: string;
|
|
6696
|
-
'& .SCMediaFile-pdf': {
|
|
6697
|
-
height: string;
|
|
6698
|
-
fontWeight: number;
|
|
6699
|
-
lineHeight: number;
|
|
6700
|
-
padding: string;
|
|
6701
|
-
};
|
|
6685
|
+
padding: number;
|
|
6686
|
+
'&:hover': {
|
|
6687
|
+
backgroundColor: string;
|
|
6702
6688
|
};
|
|
6703
6689
|
};
|
|
6704
6690
|
'& .SCMediaFile-text-wrapper': {
|
|
@@ -43,6 +43,10 @@ declare const Component: {
|
|
|
43
43
|
fontWeight: any;
|
|
44
44
|
marginBottom: string;
|
|
45
45
|
};
|
|
46
|
+
'& .SCCategoryHeader-tags': {
|
|
47
|
+
display: string;
|
|
48
|
+
justifyContent: string;
|
|
49
|
+
};
|
|
46
50
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
51
|
textAlign: string;
|
|
48
52
|
marginBottom: any;
|
|
@@ -43,6 +43,10 @@ const Component = {
|
|
|
43
43
|
fontWeight: theme.typography.fontWeightMedium,
|
|
44
44
|
marginBottom: `${theme.spacing(0)} !important`
|
|
45
45
|
},
|
|
46
|
+
'& .SCCategoryHeader-tags': {
|
|
47
|
+
display: 'flex',
|
|
48
|
+
justifyContent: 'center'
|
|
49
|
+
},
|
|
46
50
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
51
|
textAlign: 'center',
|
|
48
52
|
marginBottom: theme.spacing(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': {
|
|
@@ -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
|
@@ -898,6 +898,10 @@ declare const theme: {
|
|
|
898
898
|
fontWeight: any;
|
|
899
899
|
marginBottom: string;
|
|
900
900
|
};
|
|
901
|
+
'& .SCCategoryHeader-tags': {
|
|
902
|
+
display: string;
|
|
903
|
+
justifyContent: string;
|
|
904
|
+
};
|
|
901
905
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
902
906
|
textAlign: string;
|
|
903
907
|
marginBottom: any;
|
|
@@ -6677,28 +6681,10 @@ declare const theme: {
|
|
|
6677
6681
|
flexDirection: string;
|
|
6678
6682
|
gap: string;
|
|
6679
6683
|
'& .SCMediaFile-image-wrapper': {
|
|
6680
|
-
border: string;
|
|
6681
|
-
borderRadius: string;
|
|
6682
6684
|
flexShrink: number;
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
'& .SCMediaFile-badge-pdf': {
|
|
6687
|
-
position: string;
|
|
6688
|
-
bottom: any;
|
|
6689
|
-
left: number;
|
|
6690
|
-
width: any;
|
|
6691
|
-
height: any;
|
|
6692
|
-
border: string;
|
|
6693
|
-
borderLeft: number;
|
|
6694
|
-
borderTopRightRadius: string;
|
|
6695
|
-
borderBottomRightRadius: string;
|
|
6696
|
-
'& .SCMediaFile-pdf': {
|
|
6697
|
-
height: string;
|
|
6698
|
-
fontWeight: number;
|
|
6699
|
-
lineHeight: number;
|
|
6700
|
-
padding: string;
|
|
6701
|
-
};
|
|
6685
|
+
padding: number;
|
|
6686
|
+
'&:hover': {
|
|
6687
|
+
backgroundColor: string;
|
|
6702
6688
|
};
|
|
6703
6689
|
};
|
|
6704
6690
|
'& .SCMediaFile-text-wrapper': {
|