@selfcommunity/react-theme-default 0.4.2-alpha.2 → 0.4.2-alpha.21
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/assets/social/contained/facebook.d.ts +2 -0
- package/lib/cjs/assets/social/contained/facebook.js +3 -0
- package/lib/cjs/assets/social/contained/google.d.ts +2 -0
- package/lib/cjs/assets/social/contained/google.js +3 -0
- package/lib/cjs/assets/social/contained/linkedin.d.ts +2 -0
- package/lib/cjs/assets/social/contained/linkedin.js +3 -0
- package/lib/cjs/assets/social/contained/twitter.d.ts +2 -0
- package/lib/cjs/assets/social/contained/twitter.js +3 -0
- package/lib/cjs/assets/social/outlined/facebook.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/facebook.js +3 -0
- package/lib/cjs/assets/social/outlined/google.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/google.js +3 -0
- package/lib/cjs/assets/social/outlined/linkedin.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/linkedin.js +3 -0
- package/lib/cjs/assets/social/outlined/twitter.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/twitter.js +3 -0
- package/lib/cjs/components/SCCommentObject.d.ts +12 -0
- package/lib/cjs/components/SCCommentObject.js +12 -0
- package/lib/cjs/components/SCEventHeader.d.ts +2 -0
- package/lib/cjs/components/SCEventHeader.js +3 -1
- package/lib/cjs/components/SCEventMembersWidget.d.ts +1 -10
- package/lib/cjs/components/SCEventMembersWidget.js +1 -8
- package/lib/cjs/components/SCEvents.d.ts +6 -0
- package/lib/cjs/components/SCEvents.js +7 -1
- package/lib/cjs/components/SCFeedObject.d.ts +13 -8
- package/lib/cjs/components/SCFeedObject.js +14 -9
- package/lib/cjs/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/cjs/components/SCUserProfileEdit.js +17 -0
- package/lib/cjs/components/SCVoteButton.d.ts +1 -0
- package/lib/cjs/components/SCVoteButton.js +1 -0
- package/lib/cjs/index.d.ts +76 -21
- package/lib/cjs/index.js +26 -0
- package/lib/esm/assets/social/contained/facebook.d.ts +2 -0
- package/lib/esm/assets/social/contained/facebook.js +1 -0
- package/lib/esm/assets/social/contained/google.d.ts +2 -0
- package/lib/esm/assets/social/contained/google.js +1 -0
- package/lib/esm/assets/social/contained/linkedin.d.ts +2 -0
- package/lib/esm/assets/social/contained/linkedin.js +1 -0
- package/lib/esm/assets/social/contained/twitter.d.ts +2 -0
- package/lib/esm/assets/social/contained/twitter.js +1 -0
- package/lib/esm/assets/social/outlined/facebook.d.ts +2 -0
- package/lib/esm/assets/social/outlined/facebook.js +1 -0
- package/lib/esm/assets/social/outlined/google.d.ts +2 -0
- package/lib/esm/assets/social/outlined/google.js +1 -0
- package/lib/esm/assets/social/outlined/linkedin.d.ts +2 -0
- package/lib/esm/assets/social/outlined/linkedin.js +1 -0
- package/lib/esm/assets/social/outlined/twitter.d.ts +2 -0
- package/lib/esm/assets/social/outlined/twitter.js +1 -0
- package/lib/esm/components/SCCommentObject.d.ts +12 -0
- package/lib/esm/components/SCCommentObject.js +12 -0
- package/lib/esm/components/SCEventHeader.d.ts +2 -0
- package/lib/esm/components/SCEventHeader.js +3 -1
- package/lib/esm/components/SCEventMembersWidget.d.ts +1 -10
- package/lib/esm/components/SCEventMembersWidget.js +1 -8
- package/lib/esm/components/SCEvents.d.ts +6 -0
- package/lib/esm/components/SCEvents.js +7 -1
- package/lib/esm/components/SCFeedObject.d.ts +13 -8
- package/lib/esm/components/SCFeedObject.js +14 -9
- package/lib/esm/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/esm/components/SCUserProfileEdit.js +17 -0
- package/lib/esm/components/SCVoteButton.d.ts +1 -0
- package/lib/esm/components/SCVoteButton.js +1 -0
- package/lib/esm/index.d.ts +76 -21
- package/lib/esm/index.js +21 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -35,6 +35,23 @@ declare const Component: {
|
|
|
35
35
|
marginBottom: any;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
border: string;
|
|
41
|
+
'& th,td': {
|
|
42
|
+
padding: number;
|
|
43
|
+
fontWeight: string;
|
|
44
|
+
};
|
|
45
|
+
'& td': {
|
|
46
|
+
padding: number;
|
|
47
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
48
|
+
textTransform: string;
|
|
49
|
+
position: string;
|
|
50
|
+
top: any;
|
|
51
|
+
left: any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
38
55
|
'& .SCUserProfileEdit-language-switcher': {
|
|
39
56
|
margin: any;
|
|
40
57
|
};
|
|
@@ -35,6 +35,23 @@ const Component = {
|
|
|
35
35
|
marginBottom: theme.spacing(2)
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
39
|
+
backgroundColor: 'transparent',
|
|
40
|
+
border: '1px solid #3b3b3b',
|
|
41
|
+
'& th,td': {
|
|
42
|
+
padding: 12,
|
|
43
|
+
fontWeight: 'bold'
|
|
44
|
+
},
|
|
45
|
+
'& td': {
|
|
46
|
+
padding: 12,
|
|
47
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
48
|
+
textTransform: 'capitalize',
|
|
49
|
+
position: 'relative',
|
|
50
|
+
top: theme.spacing(-1),
|
|
51
|
+
left: theme.spacing()
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
38
55
|
'& .SCUserProfileEdit-language-switcher': {
|
|
39
56
|
margin: theme.spacing(1, 0, 1, 0)
|
|
40
57
|
},
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -4,6 +4,20 @@ import './styles/reset.css';
|
|
|
4
4
|
/**
|
|
5
5
|
* Style fragments - Imports - End
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Style assets - Imports - Start
|
|
9
|
+
*/
|
|
10
|
+
import GoogleIconContained from './assets/social/contained/google';
|
|
11
|
+
import FacebookIconContained from './assets/social/contained/facebook';
|
|
12
|
+
import TwitterIconContained from './assets/social/contained/twitter';
|
|
13
|
+
import LinkedinIconContained from './assets/social/contained/linkedin';
|
|
14
|
+
import GoogleIconOutlined from './assets/social/outlined/google';
|
|
15
|
+
import FacebookIconOutlined from './assets/social/outlined/facebook';
|
|
16
|
+
import TwitterIconOutlined from './assets/social/outlined/twitter';
|
|
17
|
+
import LinkedinIconOutlined from './assets/social/outlined/linkedin';
|
|
18
|
+
/**
|
|
19
|
+
* Style assets - Imports - End
|
|
20
|
+
*/
|
|
7
21
|
/**
|
|
8
22
|
* Export default theme
|
|
9
23
|
*/
|
|
@@ -973,6 +987,18 @@ declare const theme: {
|
|
|
973
987
|
maxWidth: string;
|
|
974
988
|
};
|
|
975
989
|
};
|
|
990
|
+
'& .SCCommentObject-flag-chip': {
|
|
991
|
+
borderRadius: number;
|
|
992
|
+
display: string;
|
|
993
|
+
width: string;
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
'& .SCCommentObject-collapsed': {
|
|
997
|
+
justifyContent: string;
|
|
998
|
+
alignItems: string;
|
|
999
|
+
'& .MuiCardContent-root': {
|
|
1000
|
+
marginLeft: any;
|
|
1001
|
+
};
|
|
976
1002
|
};
|
|
977
1003
|
'& .SCCommentObject-show-more-content': {
|
|
978
1004
|
color: any;
|
|
@@ -2134,9 +2160,11 @@ declare const theme: {
|
|
|
2134
2160
|
'& a:not(.MuiChip-clickable)': {
|
|
2135
2161
|
color: string;
|
|
2136
2162
|
textDecoration: string;
|
|
2163
|
+
display: string;
|
|
2137
2164
|
'&::after': {
|
|
2138
2165
|
content: string;
|
|
2139
2166
|
padding: any;
|
|
2167
|
+
alignSelf: string;
|
|
2140
2168
|
};
|
|
2141
2169
|
'&:last-child::after': {
|
|
2142
2170
|
display: string;
|
|
@@ -2150,7 +2178,9 @@ declare const theme: {
|
|
|
2150
2178
|
};
|
|
2151
2179
|
};
|
|
2152
2180
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2153
|
-
|
|
2181
|
+
[x: number]: {
|
|
2182
|
+
marginRight: string;
|
|
2183
|
+
};
|
|
2154
2184
|
};
|
|
2155
2185
|
};
|
|
2156
2186
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
@@ -2227,21 +2257,22 @@ declare const theme: {
|
|
|
2227
2257
|
boxShadow: string;
|
|
2228
2258
|
borderRadius: number;
|
|
2229
2259
|
'& .SCFeedObject-category': {
|
|
2260
|
+
[x: number]: {
|
|
2261
|
+
justifyContent: string;
|
|
2262
|
+
};
|
|
2230
2263
|
borderBottom: string;
|
|
2231
2264
|
margin: any;
|
|
2232
2265
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
2233
2266
|
borderBottom: string;
|
|
2234
|
-
|
|
2267
|
+
marginTop: any;
|
|
2235
2268
|
'& .MuiChip-icon': {
|
|
2236
|
-
marginLeft: any;
|
|
2237
|
-
marginRight: any;
|
|
2238
2269
|
fontWeight: any;
|
|
2239
2270
|
};
|
|
2240
2271
|
};
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2272
|
+
'& .SCFeedObject-group .MuiChip-icon': {
|
|
2273
|
+
marginLeft: any;
|
|
2274
|
+
marginRight: any;
|
|
2275
|
+
};
|
|
2245
2276
|
};
|
|
2246
2277
|
'& .SCFeedObject-header': {
|
|
2247
2278
|
'& .MuiCardHeader-avatar': {
|
|
@@ -2424,6 +2455,9 @@ declare const theme: {
|
|
|
2424
2455
|
color: string;
|
|
2425
2456
|
};
|
|
2426
2457
|
};
|
|
2458
|
+
/**
|
|
2459
|
+
* Style assets - Imports - Start
|
|
2460
|
+
*/
|
|
2427
2461
|
'& .MuiDivider-root': {
|
|
2428
2462
|
borderColor: any;
|
|
2429
2463
|
};
|
|
@@ -6658,6 +6692,23 @@ declare const theme: {
|
|
|
6658
6692
|
marginBottom: any;
|
|
6659
6693
|
};
|
|
6660
6694
|
};
|
|
6695
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
6696
|
+
backgroundColor: string;
|
|
6697
|
+
border: string;
|
|
6698
|
+
'& th,td': {
|
|
6699
|
+
padding: number;
|
|
6700
|
+
fontWeight: string;
|
|
6701
|
+
};
|
|
6702
|
+
'& td': {
|
|
6703
|
+
padding: number;
|
|
6704
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
6705
|
+
textTransform: string;
|
|
6706
|
+
position: string;
|
|
6707
|
+
top: any;
|
|
6708
|
+
left: any;
|
|
6709
|
+
};
|
|
6710
|
+
};
|
|
6711
|
+
};
|
|
6661
6712
|
'& .SCUserProfileEdit-language-switcher': {
|
|
6662
6713
|
margin: any;
|
|
6663
6714
|
};
|
|
@@ -7290,6 +7341,9 @@ declare const theme: {
|
|
|
7290
7341
|
};
|
|
7291
7342
|
};
|
|
7292
7343
|
'& .SCEvents-events': {
|
|
7344
|
+
[x: number]: {
|
|
7345
|
+
marginBottom: any;
|
|
7346
|
+
};
|
|
7293
7347
|
marginTop: any;
|
|
7294
7348
|
'& .SCEvents-item': {
|
|
7295
7349
|
paddingTop: any;
|
|
@@ -7315,6 +7369,9 @@ declare const theme: {
|
|
|
7315
7369
|
flexDirection: string;
|
|
7316
7370
|
alignItems: string;
|
|
7317
7371
|
'& .SCEvent-skeleton-root': {
|
|
7372
|
+
[x: number]: {
|
|
7373
|
+
width: string;
|
|
7374
|
+
};
|
|
7318
7375
|
marginBottom: any;
|
|
7319
7376
|
minWidth: string;
|
|
7320
7377
|
};
|
|
@@ -7451,6 +7508,8 @@ declare const theme: {
|
|
|
7451
7508
|
marginLeft: any;
|
|
7452
7509
|
marginBottom: any;
|
|
7453
7510
|
backgroundColor: any;
|
|
7511
|
+
color: any;
|
|
7512
|
+
border: string;
|
|
7454
7513
|
'& .SCEventHeader-chip-icon': {
|
|
7455
7514
|
marginLeft: any;
|
|
7456
7515
|
};
|
|
@@ -7998,9 +8057,6 @@ declare const theme: {
|
|
|
7998
8057
|
root: ({ theme }: {
|
|
7999
8058
|
theme: any;
|
|
8000
8059
|
}) => {
|
|
8001
|
-
/**
|
|
8002
|
-
* Style fragments - Imports - Start
|
|
8003
|
-
*/
|
|
8004
8060
|
'& .SCEventMembersWidget-content': {
|
|
8005
8061
|
padding: string;
|
|
8006
8062
|
'& .SCEventMembersWidget-title': {
|
|
@@ -8051,16 +8107,7 @@ declare const theme: {
|
|
|
8051
8107
|
};
|
|
8052
8108
|
};
|
|
8053
8109
|
};
|
|
8054
|
-
dialogRoot: (
|
|
8055
|
-
theme: any;
|
|
8056
|
-
}) => {
|
|
8057
|
-
'& .SCEventMembersWidget-infinite-scroll': {
|
|
8058
|
-
[x: number]: {
|
|
8059
|
-
height: string;
|
|
8060
|
-
};
|
|
8061
|
-
height: string;
|
|
8062
|
-
};
|
|
8063
|
-
};
|
|
8110
|
+
dialogRoot: () => {};
|
|
8064
8111
|
};
|
|
8065
8112
|
};
|
|
8066
8113
|
SCRelatedEventsWidget: {
|
|
@@ -8222,6 +8269,7 @@ declare const theme: {
|
|
|
8222
8269
|
};
|
|
8223
8270
|
};
|
|
8224
8271
|
popperRoot: ({ theme }: any) => {
|
|
8272
|
+
zIndex: number;
|
|
8225
8273
|
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
8226
8274
|
fontSize: string;
|
|
8227
8275
|
};
|
|
@@ -8446,3 +8494,10 @@ declare const theme: {
|
|
|
8446
8494
|
};
|
|
8447
8495
|
};
|
|
8448
8496
|
export default theme;
|
|
8497
|
+
/**
|
|
8498
|
+
* Style assets - Exports - Start
|
|
8499
|
+
*/
|
|
8500
|
+
export { GoogleIconContained, FacebookIconContained, LinkedinIconContained, TwitterIconContained, GoogleIconOutlined, FacebookIconOutlined, LinkedinIconOutlined, TwitterIconOutlined };
|
|
8501
|
+
/**
|
|
8502
|
+
* Style assets - Exports - End
|
|
8503
|
+
*/
|
package/lib/esm/index.js
CHANGED
|
@@ -165,6 +165,20 @@ import SCWidget from './components/SCWidget';
|
|
|
165
165
|
/**
|
|
166
166
|
* Style fragments - Imports - End
|
|
167
167
|
*/
|
|
168
|
+
/**
|
|
169
|
+
* Style assets - Imports - Start
|
|
170
|
+
*/
|
|
171
|
+
import GoogleIconContained from './assets/social/contained/google';
|
|
172
|
+
import FacebookIconContained from './assets/social/contained/facebook';
|
|
173
|
+
import TwitterIconContained from './assets/social/contained/twitter';
|
|
174
|
+
import LinkedinIconContained from './assets/social/contained/linkedin';
|
|
175
|
+
import GoogleIconOutlined from './assets/social/outlined/google';
|
|
176
|
+
import FacebookIconOutlined from './assets/social/outlined/facebook';
|
|
177
|
+
import TwitterIconOutlined from './assets/social/outlined/twitter';
|
|
178
|
+
import LinkedinIconOutlined from './assets/social/outlined/linkedin';
|
|
179
|
+
/**
|
|
180
|
+
* Style assets - Imports - End
|
|
181
|
+
*/
|
|
168
182
|
/**
|
|
169
183
|
* Export default theme
|
|
170
184
|
*/
|
|
@@ -417,3 +431,10 @@ const theme = {
|
|
|
417
431
|
}
|
|
418
432
|
};
|
|
419
433
|
export default theme;
|
|
434
|
+
/**
|
|
435
|
+
* Style assets - Exports - Start
|
|
436
|
+
*/
|
|
437
|
+
export { GoogleIconContained, FacebookIconContained, LinkedinIconContained, TwitterIconContained, GoogleIconOutlined, FacebookIconOutlined, LinkedinIconOutlined, TwitterIconOutlined };
|
|
438
|
+
/**
|
|
439
|
+
* Style assets - Exports - End
|
|
440
|
+
*/
|