@selfcommunity/react-theme-default 0.4.2-alpha.2 → 0.4.2-alpha.20

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.
Files changed (62) hide show
  1. package/lib/cjs/assets/social/contained/facebook.d.ts +2 -0
  2. package/lib/cjs/assets/social/contained/facebook.js +3 -0
  3. package/lib/cjs/assets/social/contained/google.d.ts +2 -0
  4. package/lib/cjs/assets/social/contained/google.js +3 -0
  5. package/lib/cjs/assets/social/contained/linkedin.d.ts +2 -0
  6. package/lib/cjs/assets/social/contained/linkedin.js +3 -0
  7. package/lib/cjs/assets/social/contained/twitter.d.ts +2 -0
  8. package/lib/cjs/assets/social/contained/twitter.js +3 -0
  9. package/lib/cjs/assets/social/outlined/facebook.d.ts +2 -0
  10. package/lib/cjs/assets/social/outlined/facebook.js +3 -0
  11. package/lib/cjs/assets/social/outlined/google.d.ts +2 -0
  12. package/lib/cjs/assets/social/outlined/google.js +3 -0
  13. package/lib/cjs/assets/social/outlined/linkedin.d.ts +2 -0
  14. package/lib/cjs/assets/social/outlined/linkedin.js +3 -0
  15. package/lib/cjs/assets/social/outlined/twitter.d.ts +2 -0
  16. package/lib/cjs/assets/social/outlined/twitter.js +3 -0
  17. package/lib/cjs/components/SCCommentObject.d.ts +12 -0
  18. package/lib/cjs/components/SCCommentObject.js +12 -0
  19. package/lib/cjs/components/SCEventMembersWidget.d.ts +1 -10
  20. package/lib/cjs/components/SCEventMembersWidget.js +1 -8
  21. package/lib/cjs/components/SCEvents.d.ts +6 -0
  22. package/lib/cjs/components/SCEvents.js +7 -1
  23. package/lib/cjs/components/SCFeedObject.d.ts +13 -8
  24. package/lib/cjs/components/SCFeedObject.js +14 -9
  25. package/lib/cjs/components/SCUserProfileEdit.d.ts +17 -0
  26. package/lib/cjs/components/SCUserProfileEdit.js +17 -0
  27. package/lib/cjs/components/SCVoteButton.d.ts +1 -0
  28. package/lib/cjs/components/SCVoteButton.js +1 -0
  29. package/lib/cjs/index.d.ts +74 -21
  30. package/lib/cjs/index.js +26 -0
  31. package/lib/esm/assets/social/contained/facebook.d.ts +2 -0
  32. package/lib/esm/assets/social/contained/facebook.js +1 -0
  33. package/lib/esm/assets/social/contained/google.d.ts +2 -0
  34. package/lib/esm/assets/social/contained/google.js +1 -0
  35. package/lib/esm/assets/social/contained/linkedin.d.ts +2 -0
  36. package/lib/esm/assets/social/contained/linkedin.js +1 -0
  37. package/lib/esm/assets/social/contained/twitter.d.ts +2 -0
  38. package/lib/esm/assets/social/contained/twitter.js +1 -0
  39. package/lib/esm/assets/social/outlined/facebook.d.ts +2 -0
  40. package/lib/esm/assets/social/outlined/facebook.js +1 -0
  41. package/lib/esm/assets/social/outlined/google.d.ts +2 -0
  42. package/lib/esm/assets/social/outlined/google.js +1 -0
  43. package/lib/esm/assets/social/outlined/linkedin.d.ts +2 -0
  44. package/lib/esm/assets/social/outlined/linkedin.js +1 -0
  45. package/lib/esm/assets/social/outlined/twitter.d.ts +2 -0
  46. package/lib/esm/assets/social/outlined/twitter.js +1 -0
  47. package/lib/esm/components/SCCommentObject.d.ts +12 -0
  48. package/lib/esm/components/SCCommentObject.js +12 -0
  49. package/lib/esm/components/SCEventMembersWidget.d.ts +1 -10
  50. package/lib/esm/components/SCEventMembersWidget.js +1 -8
  51. package/lib/esm/components/SCEvents.d.ts +6 -0
  52. package/lib/esm/components/SCEvents.js +7 -1
  53. package/lib/esm/components/SCFeedObject.d.ts +13 -8
  54. package/lib/esm/components/SCFeedObject.js +14 -9
  55. package/lib/esm/components/SCUserProfileEdit.d.ts +17 -0
  56. package/lib/esm/components/SCUserProfileEdit.js +17 -0
  57. package/lib/esm/components/SCVoteButton.d.ts +1 -0
  58. package/lib/esm/components/SCVoteButton.js +1 -0
  59. package/lib/esm/index.d.ts +74 -21
  60. package/lib/esm/index.js +21 -0
  61. package/lib/umd/react-theme-default.js +2 -2
  62. package/package.json +4 -4
@@ -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
- marginRight: string;
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
- margin: any;
2267
+ marginTop: any;
2235
2268
  '& .MuiChip-icon': {
2236
- marginLeft: any;
2237
- marginRight: any;
2238
2269
  fontWeight: any;
2239
2270
  };
2240
2271
  };
2241
- };
2242
- '& .SCFeedObject-group, & .SCFeedObject-event': {
2243
- borderBottom: string;
2244
- margin: any;
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
  };
@@ -7998,9 +8055,6 @@ declare const theme: {
7998
8055
  root: ({ theme }: {
7999
8056
  theme: any;
8000
8057
  }) => {
8001
- /**
8002
- * Style fragments - Imports - Start
8003
- */
8004
8058
  '& .SCEventMembersWidget-content': {
8005
8059
  padding: string;
8006
8060
  '& .SCEventMembersWidget-title': {
@@ -8051,16 +8105,7 @@ declare const theme: {
8051
8105
  };
8052
8106
  };
8053
8107
  };
8054
- dialogRoot: ({ theme }: {
8055
- theme: any;
8056
- }) => {
8057
- '& .SCEventMembersWidget-infinite-scroll': {
8058
- [x: number]: {
8059
- height: string;
8060
- };
8061
- height: string;
8062
- };
8063
- };
8108
+ dialogRoot: () => {};
8064
8109
  };
8065
8110
  };
8066
8111
  SCRelatedEventsWidget: {
@@ -8222,6 +8267,7 @@ declare const theme: {
8222
8267
  };
8223
8268
  };
8224
8269
  popperRoot: ({ theme }: any) => {
8270
+ zIndex: number;
8225
8271
  '& .SCVoteButton-reaction .MuiIcon-root': {
8226
8272
  fontSize: string;
8227
8273
  };
@@ -8446,3 +8492,10 @@ declare const theme: {
8446
8492
  };
8447
8493
  };
8448
8494
  export default theme;
8495
+ /**
8496
+ * Style assets - Exports - Start
8497
+ */
8498
+ export { GoogleIconContained, FacebookIconContained, LinkedinIconContained, TwitterIconContained, GoogleIconOutlined, FacebookIconOutlined, LinkedinIconOutlined, TwitterIconOutlined };
8499
+ /**
8500
+ * Style assets - Exports - End
8501
+ */
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
+ */