@selfcommunity/react-theme-default 0.1.0-alpha.320 → 0.1.0-alpha.322
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/SCCategoryTemplate.d.ts +0 -3
- package/lib/cjs/components/SCCategoryTemplate.js +0 -3
- package/lib/cjs/components/SCPrivateMessageSettingsIconButton.d.ts +8 -0
- package/lib/cjs/components/SCPrivateMessageSettingsIconButton.js +8 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +10 -3
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +11 -4
- package/lib/cjs/components/SCUserProfileHeader.d.ts +22 -6
- package/lib/cjs/components/SCUserProfileHeader.js +22 -6
- package/lib/cjs/components/SCUserProfileTemplate.d.ts +1 -3
- package/lib/cjs/components/SCUserProfileTemplate.js +1 -3
- package/lib/cjs/index.d.ts +54 -15
- package/lib/cjs/index.js +3 -1
- package/lib/esm/components/SCCategoryTemplate.d.ts +0 -3
- package/lib/esm/components/SCCategoryTemplate.js +0 -3
- package/lib/esm/components/SCPrivateMessageSettingsIconButton.d.ts +8 -0
- package/lib/esm/components/SCPrivateMessageSettingsIconButton.js +8 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +10 -3
- package/lib/esm/components/SCPrivateMessageThreadItem.js +11 -4
- package/lib/esm/components/SCUserProfileHeader.d.ts +22 -6
- package/lib/esm/components/SCUserProfileHeader.js +22 -6
- package/lib/esm/components/SCUserProfileTemplate.d.ts +1 -3
- package/lib/esm/components/SCUserProfileTemplate.js +1 -3
- package/lib/esm/index.d.ts +54 -15
- package/lib/esm/index.js +3 -1
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +3 -3
package/lib/esm/index.d.ts
CHANGED
|
@@ -728,9 +728,6 @@ declare const theme: {
|
|
|
728
728
|
SCCategoryTemplate: {
|
|
729
729
|
styleOverrides: {
|
|
730
730
|
root: ({ theme }: any) => {
|
|
731
|
-
[x: number]: {
|
|
732
|
-
marginTop: any;
|
|
733
|
-
};
|
|
734
731
|
marginTop: number;
|
|
735
732
|
'& .SCCategoryTemplate-feed': {
|
|
736
733
|
marginTop: any;
|
|
@@ -1592,6 +1589,9 @@ declare const theme: {
|
|
|
1592
1589
|
'& .MuiButtonBase-root': {
|
|
1593
1590
|
margin: any;
|
|
1594
1591
|
padding: any;
|
|
1592
|
+
/**
|
|
1593
|
+
* Style fragments - Imports - End
|
|
1594
|
+
*/
|
|
1595
1595
|
fontSize: string;
|
|
1596
1596
|
border: number;
|
|
1597
1597
|
borderRadius: number;
|
|
@@ -4170,6 +4170,11 @@ declare const theme: {
|
|
|
4170
4170
|
};
|
|
4171
4171
|
skeletonRoot: ({ theme }: any) => {
|
|
4172
4172
|
position: string;
|
|
4173
|
+
'& .SCUserProfileHeader-cover': {
|
|
4174
|
+
[x: number]: {
|
|
4175
|
+
margin: any;
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4173
4178
|
'& .SCUserProfileHeader-avatar': {
|
|
4174
4179
|
display: string;
|
|
4175
4180
|
position: string;
|
|
@@ -4179,12 +4184,23 @@ declare const theme: {
|
|
|
4179
4184
|
border: string;
|
|
4180
4185
|
};
|
|
4181
4186
|
};
|
|
4182
|
-
'& .SCUserProfileHeader-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4187
|
+
'& .SCUserProfileHeader-section': {
|
|
4188
|
+
display: string;
|
|
4189
|
+
justifyContent: string;
|
|
4190
|
+
'& .SCUserProfileHeader-username': {
|
|
4191
|
+
marginTop: number;
|
|
4192
|
+
textAlign: string;
|
|
4193
|
+
"& .MuiSkeleton-root": {
|
|
4194
|
+
position: string;
|
|
4195
|
+
marginLeft: any;
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
'& .SCUserProfileHeader-actions': {
|
|
4199
|
+
[x: number]: {
|
|
4200
|
+
margin: any;
|
|
4201
|
+
};
|
|
4202
|
+
height: string;
|
|
4203
|
+
marginTop: any;
|
|
4188
4204
|
};
|
|
4189
4205
|
};
|
|
4190
4206
|
};
|
|
@@ -4291,9 +4307,7 @@ declare const theme: {
|
|
|
4291
4307
|
marginTop: any;
|
|
4292
4308
|
};
|
|
4293
4309
|
};
|
|
4294
|
-
skeletonRoot: ({ theme }: any) => {
|
|
4295
|
-
marginTop: any;
|
|
4296
|
-
};
|
|
4310
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
4297
4311
|
};
|
|
4298
4312
|
};
|
|
4299
4313
|
SCVoteButton: {
|
|
@@ -4784,9 +4798,10 @@ declare const theme: {
|
|
|
4784
4798
|
width: string;
|
|
4785
4799
|
};
|
|
4786
4800
|
'& .MuiButtonBase-root': {
|
|
4801
|
+
flexWrap: string;
|
|
4787
4802
|
width: string;
|
|
4788
4803
|
position: string;
|
|
4789
|
-
bottom:
|
|
4804
|
+
bottom: any;
|
|
4790
4805
|
backgroundColor: string;
|
|
4791
4806
|
color: string;
|
|
4792
4807
|
display: string;
|
|
@@ -4802,11 +4817,17 @@ declare const theme: {
|
|
|
4802
4817
|
'& .SCPrivateMessageThreadItem-other': {
|
|
4803
4818
|
marginTop: any;
|
|
4804
4819
|
'& .MuiButtonBase-root': {
|
|
4820
|
+
padding: any;
|
|
4821
|
+
flexWrap: string;
|
|
4805
4822
|
'& .MuiTypography-root': {
|
|
4806
|
-
|
|
4823
|
+
[x: number]: {
|
|
4824
|
+
fontSize: any;
|
|
4825
|
+
};
|
|
4826
|
+
marginRight: any;
|
|
4807
4827
|
overflow: string;
|
|
4828
|
+
whiteSpace: string;
|
|
4808
4829
|
textOverflow: string;
|
|
4809
|
-
|
|
4830
|
+
maxWidth: string;
|
|
4810
4831
|
};
|
|
4811
4832
|
};
|
|
4812
4833
|
};
|
|
@@ -5449,6 +5470,24 @@ declare const theme: {
|
|
|
5449
5470
|
};
|
|
5450
5471
|
};
|
|
5451
5472
|
};
|
|
5473
|
+
SCPrivateMessageSettingsIconButton: {
|
|
5474
|
+
styleOverrides: {
|
|
5475
|
+
root: ({ theme }: any) => {};
|
|
5476
|
+
menuRoot: ({ theme }: any) => {
|
|
5477
|
+
'& .SCNavigationSettingsIconButton-paper': {
|
|
5478
|
+
maxWidth: number;
|
|
5479
|
+
padding: any;
|
|
5480
|
+
};
|
|
5481
|
+
};
|
|
5482
|
+
drawerRoot: ({ theme }: any) => {
|
|
5483
|
+
'& .MuiList-root': {
|
|
5484
|
+
'& a': {
|
|
5485
|
+
color: string;
|
|
5486
|
+
};
|
|
5487
|
+
};
|
|
5488
|
+
};
|
|
5489
|
+
};
|
|
5490
|
+
};
|
|
5452
5491
|
};
|
|
5453
5492
|
selfcommunity: {
|
|
5454
5493
|
user: {
|
package/lib/esm/index.js
CHANGED
|
@@ -114,6 +114,7 @@ import SCMainFeedTemplate from './components/SCMainFeedTemplate';
|
|
|
114
114
|
import SCNotificationFeedTemplate from './components/SCNotificationFeedTemplate';
|
|
115
115
|
import SCUserFeedTemplate from './components/SCUserFeedTemplate';
|
|
116
116
|
import SCChangeCoverButton from './components/SCChangeCoverButton';
|
|
117
|
+
import SCPrivateMessageSettingsIconButton from './components/SCPrivateMessageSettingsIconButton';
|
|
117
118
|
/**
|
|
118
119
|
* Style fragments - Imports - End
|
|
119
120
|
*/
|
|
@@ -272,7 +273,8 @@ const theme = {
|
|
|
272
273
|
SCMainFeedTemplate,
|
|
273
274
|
SCNotificationFeedTemplate,
|
|
274
275
|
SCUserFeedTemplate,
|
|
275
|
-
SCChangeCoverButton
|
|
276
|
+
SCChangeCoverButton,
|
|
277
|
+
SCPrivateMessageSettingsIconButton
|
|
276
278
|
},
|
|
277
279
|
selfcommunity: {
|
|
278
280
|
user: {
|