@selfcommunity/react-theme-default 0.1.0-alpha.276 → 0.1.0-alpha.278

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 (33) hide show
  1. package/lib/cjs/components/SCCommentObjectReply.d.ts +8 -2
  2. package/lib/cjs/components/SCCommentObjectReply.js +8 -2
  3. package/lib/cjs/components/SCEditor.d.ts +1 -1
  4. package/lib/cjs/components/SCEditor.js +1 -1
  5. package/lib/cjs/components/SCFeedObject.d.ts +15 -10
  6. package/lib/cjs/components/SCFeedObject.js +17 -12
  7. package/lib/cjs/fonts/community/icons.eot +0 -0
  8. package/lib/cjs/fonts/community/icons.svg +64 -65
  9. package/lib/cjs/fonts/community/icons.ttf +0 -0
  10. package/lib/cjs/fonts/community/icons.woff +0 -0
  11. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  12. package/lib/cjs/fonts/community-icons.css +95 -95
  13. package/lib/cjs/index.d.ts +27 -13
  14. package/lib/esm/components/SCCommentObjectReply.d.ts +8 -2
  15. package/lib/esm/components/SCCommentObjectReply.js +8 -2
  16. package/lib/esm/components/SCEditor.d.ts +1 -1
  17. package/lib/esm/components/SCEditor.js +1 -1
  18. package/lib/esm/components/SCFeedObject.d.ts +15 -10
  19. package/lib/esm/components/SCFeedObject.js +17 -12
  20. package/lib/esm/fonts/community/icons.eot +0 -0
  21. package/lib/esm/fonts/community/icons.svg +64 -65
  22. package/lib/esm/fonts/community/icons.ttf +0 -0
  23. package/lib/esm/fonts/community/icons.woff +0 -0
  24. package/lib/esm/fonts/community/icons.woff2 +0 -0
  25. package/lib/esm/fonts/community-icons.css +95 -95
  26. package/lib/esm/index.d.ts +27 -13
  27. package/lib/umd/community/icons.eot +0 -0
  28. package/lib/umd/community/icons.svg +64 -65
  29. package/lib/umd/community/icons.ttf +0 -0
  30. package/lib/umd/community/icons.woff +0 -0
  31. package/lib/umd/community/icons.woff2 +0 -0
  32. package/lib/umd/react-theme-default.js +2 -2
  33. package/package.json +3 -3
@@ -12,8 +12,14 @@ declare const Component: {
12
12
  overflow: string;
13
13
  };
14
14
  };
15
- '& .SCBaseItem-image .MuiBadge-badge': {
16
- top: any;
15
+ '& .SCBaseItem-image': {
16
+ '& .MuiBadge-badge': {
17
+ top: any;
18
+ };
19
+ '& .SCCommentObjectReply-avatar': {
20
+ width: any;
21
+ height: any;
22
+ };
17
23
  };
18
24
  };
19
25
  '& .SCCommentObjectReply-comment': {
@@ -14,8 +14,14 @@ const Component = {
14
14
  overflow: 'visible'
15
15
  }
16
16
  },
17
- '& .SCBaseItem-image .MuiBadge-badge': {
18
- top: theme.spacing(1.25)
17
+ '& .SCBaseItem-image': {
18
+ '& .MuiBadge-badge': {
19
+ top: theme.spacing(1.25)
20
+ },
21
+ '& .SCCommentObjectReply-avatar': {
22
+ width: theme.selfcommunity.user.avatar.sizeMedium,
23
+ height: theme.selfcommunity.user.avatar.sizeMedium
24
+ },
19
25
  }
20
26
  },
21
27
  '& .SCCommentObjectReply-comment': {
@@ -42,7 +42,7 @@ declare const Component: {
42
42
  '& .SCEditor-image': {
43
43
  position: string;
44
44
  display: string;
45
- '& .focused': {
45
+ '& .selected': {
46
46
  border: string;
47
47
  };
48
48
  };
@@ -45,7 +45,7 @@ const Component = {
45
45
  '& .SCEditor-image': {
46
46
  position: 'relative',
47
47
  display: 'block',
48
- '& .focused': {
48
+ '& .selected': {
49
49
  border: `2px solid ${theme.palette.secondary.main}`
50
50
  }
51
51
  },
@@ -29,19 +29,24 @@ declare const Component: {
29
29
  color: any;
30
30
  textAlign: string;
31
31
  borderBottom: string;
32
+ maxHeight: number;
32
33
  '& a': {
33
34
  color: string;
34
35
  textDecoration: string;
35
- };
36
- '& a::after': {
37
- content: string;
38
- padding: any;
39
- };
40
- '& a:last-child::after': {
41
- display: string;
42
- };
43
- '& span': {
44
- textTransform: string;
36
+ '&::after': {
37
+ content: string;
38
+ padding: any;
39
+ };
40
+ '&:last-child::after': {
41
+ display: string;
42
+ };
43
+ '&:hover': {
44
+ color: any;
45
+ };
46
+ '& span': {
47
+ textTransform: string;
48
+ fontWeight: any;
49
+ };
45
50
  };
46
51
  };
47
52
  '& .SCFeedObject-content': {
@@ -32,19 +32,24 @@ const Component = {
32
32
  color: theme.palette.primary.main,
33
33
  textAlign: 'center',
34
34
  borderBottom: '1px solid rgba(0, 0, 0, 0.12)',
35
+ maxHeight: 30,
35
36
  '& a': {
36
37
  color: 'inherit',
37
- textDecoration: 'none'
38
- },
39
- '& a::after': {
40
- content: '"\\2022"',
41
- padding: theme.spacing()
42
- },
43
- '& a:last-child::after': {
44
- display: 'none'
45
- },
46
- '& span': {
47
- textTransform: 'initial'
38
+ textDecoration: 'none',
39
+ '&::after': {
40
+ content: '"\\2022"',
41
+ padding: theme.spacing()
42
+ },
43
+ '&:last-child::after': {
44
+ display: 'none'
45
+ },
46
+ '&:hover': {
47
+ color: theme.palette.secondary.main
48
+ },
49
+ '& span': {
50
+ textTransform: 'initial',
51
+ fontWeight: theme.typography.fontWeightBold
52
+ }
48
53
  }
49
54
  },
50
55
  '& .SCFeedObject-content': {
@@ -81,7 +86,7 @@ const Component = {
81
86
  width: '100%',
82
87
  boxSizing: 'border-box',
83
88
  margin: 0,
84
- padding: theme.spacing(1, 2)
89
+ padding: theme.spacing(0.5, 2)
85
90
  },
86
91
  '& .SCFeedObject-info-section': {
87
92
  padding: theme.spacing(0, 2)
Binary file