@selfcommunity/react-theme-default 0.4.5-payments.193 → 0.4.5-payments.196
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/SCCategory.d.ts +8 -0
- package/lib/cjs/components/SCCategory.js +8 -0
- package/lib/cjs/components/SCCourse.d.ts +8 -1
- package/lib/cjs/components/SCCourse.js +8 -1
- package/lib/cjs/components/SCGroup.d.ts +6 -2
- package/lib/cjs/components/SCGroup.js +6 -2
- package/lib/cjs/index.d.ts +22 -3
- package/lib/esm/components/SCCategory.d.ts +8 -0
- package/lib/esm/components/SCCategory.js +8 -0
- package/lib/esm/components/SCCourse.d.ts +8 -1
- package/lib/esm/components/SCCourse.js +8 -1
- package/lib/esm/components/SCGroup.d.ts +6 -2
- package/lib/esm/components/SCGroup.js +6 -2
- package/lib/esm/index.d.ts +22 -3
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -32,6 +32,10 @@ declare const Component: {
|
|
|
32
32
|
textOverflow: string;
|
|
33
33
|
display: string;
|
|
34
34
|
};
|
|
35
|
+
'&.MuiPaper-outlined': {
|
|
36
|
+
paddingLeft: any;
|
|
37
|
+
paddingRight: any;
|
|
38
|
+
};
|
|
35
39
|
};
|
|
36
40
|
skeletonRoot: ({ theme }: any) => {
|
|
37
41
|
'& .SCCategory-image': {
|
|
@@ -46,6 +50,10 @@ declare const Component: {
|
|
|
46
50
|
'& .SCCategory-action': {
|
|
47
51
|
margin: any;
|
|
48
52
|
};
|
|
53
|
+
'&.MuiPaper-outlined': {
|
|
54
|
+
paddingLeft: any;
|
|
55
|
+
paddingRight: any;
|
|
56
|
+
};
|
|
49
57
|
};
|
|
50
58
|
};
|
|
51
59
|
};
|
|
@@ -33,6 +33,10 @@ const Component = {
|
|
|
33
33
|
overflow: 'hidden',
|
|
34
34
|
textOverflow: 'ellipsis',
|
|
35
35
|
display: 'block'
|
|
36
|
+
},
|
|
37
|
+
'&.MuiPaper-outlined': {
|
|
38
|
+
paddingLeft: theme.spacing(1),
|
|
39
|
+
paddingRight: theme.spacing(1)
|
|
36
40
|
}
|
|
37
41
|
}),
|
|
38
42
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -47,6 +51,10 @@ const Component = {
|
|
|
47
51
|
},
|
|
48
52
|
'& .SCCategory-action': {
|
|
49
53
|
margin: theme.spacing(0.5)
|
|
54
|
+
},
|
|
55
|
+
'&.MuiPaper-outlined': {
|
|
56
|
+
paddingLeft: theme.spacing(1),
|
|
57
|
+
paddingRight: theme.spacing(1)
|
|
50
58
|
}
|
|
51
59
|
})
|
|
52
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
4
|
width: string;
|
|
5
5
|
};
|
|
6
6
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -81,6 +81,9 @@ declare const Component: {
|
|
|
81
81
|
padding: any;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: any;
|
|
86
|
+
};
|
|
84
87
|
};
|
|
85
88
|
previewRoot: ({ theme }: any) => {
|
|
86
89
|
[x: number]: {
|
|
@@ -274,6 +277,10 @@ declare const Component: {
|
|
|
274
277
|
};
|
|
275
278
|
};
|
|
276
279
|
};
|
|
280
|
+
'&.MuiPaper-outlined': {
|
|
281
|
+
paddingLeft: any;
|
|
282
|
+
paddingRight: any;
|
|
283
|
+
};
|
|
277
284
|
};
|
|
278
285
|
};
|
|
279
286
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: () => ({
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
6
|
width: '100%'
|
|
7
7
|
}),
|
|
8
8
|
snippetRoot: ({ theme }) => ({
|
|
@@ -82,6 +82,9 @@ const Component = {
|
|
|
82
82
|
fontWeight: 700,
|
|
83
83
|
padding: theme.spacing(0.5)
|
|
84
84
|
}
|
|
85
|
+
},
|
|
86
|
+
'& .SCBaseItemButton-actions': {
|
|
87
|
+
marginRight: theme.spacing()
|
|
85
88
|
}
|
|
86
89
|
}),
|
|
87
90
|
previewRoot: ({ theme }) => ({
|
|
@@ -275,6 +278,10 @@ const Component = {
|
|
|
275
278
|
transform: 'translate(-50%, -50%)'
|
|
276
279
|
}
|
|
277
280
|
}
|
|
281
|
+
},
|
|
282
|
+
'&.MuiPaper-outlined': {
|
|
283
|
+
paddingLeft: theme.spacing(),
|
|
284
|
+
paddingRight: theme.spacing()
|
|
278
285
|
}
|
|
279
286
|
})
|
|
280
287
|
}
|
|
@@ -6,9 +6,10 @@ declare const Component: {
|
|
|
6
6
|
};
|
|
7
7
|
borderRadius: number;
|
|
8
8
|
paddingBottom: number;
|
|
9
|
+
paddingLeft: any;
|
|
10
|
+
paddingRight: any;
|
|
9
11
|
overflow: string;
|
|
10
12
|
'& .SCBaseItemButton-image': {
|
|
11
|
-
marginRight: any;
|
|
12
13
|
'& .MuiAvatar-root': {
|
|
13
14
|
width: any;
|
|
14
15
|
height: any;
|
|
@@ -38,7 +39,10 @@ declare const Component: {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
skeletonRoot: ({ theme }: any) => {
|
|
42
|
+
skeletonRoot: ({ theme }: any) => {
|
|
43
|
+
paddingLeft: any;
|
|
44
|
+
paddingRight: any;
|
|
45
|
+
};
|
|
42
46
|
};
|
|
43
47
|
};
|
|
44
48
|
export default Component;
|
|
@@ -5,12 +5,13 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
borderRadius: 0,
|
|
7
7
|
paddingBottom: 0,
|
|
8
|
+
paddingLeft: theme.spacing(),
|
|
9
|
+
paddingRight: theme.spacing(),
|
|
8
10
|
overflow: 'visible',
|
|
9
11
|
[theme.breakpoints.up('sm')]: {
|
|
10
12
|
borderRadius: theme.shape.borderRadiusSm
|
|
11
13
|
},
|
|
12
14
|
'& .SCBaseItemButton-image': {
|
|
13
|
-
marginRight: theme.spacing(1.25),
|
|
14
15
|
'& .MuiAvatar-root': {
|
|
15
16
|
width: theme.selfcommunity.group.avatar.sizeSmall,
|
|
16
17
|
height: theme.selfcommunity.group.avatar.sizeSmall,
|
|
@@ -40,7 +41,10 @@ const Component = {
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
}),
|
|
43
|
-
skeletonRoot: ({ theme }) => ({
|
|
44
|
+
skeletonRoot: ({ theme }) => ({
|
|
45
|
+
paddingLeft: theme.spacing(),
|
|
46
|
+
paddingRight: theme.spacing(),
|
|
47
|
+
})
|
|
44
48
|
}
|
|
45
49
|
};
|
|
46
50
|
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -773,6 +773,10 @@ declare const theme: {
|
|
|
773
773
|
textOverflow: string;
|
|
774
774
|
display: string;
|
|
775
775
|
};
|
|
776
|
+
'&.MuiPaper-outlined': {
|
|
777
|
+
paddingLeft: any;
|
|
778
|
+
paddingRight: any;
|
|
779
|
+
};
|
|
776
780
|
};
|
|
777
781
|
skeletonRoot: ({ theme }: any) => {
|
|
778
782
|
'& .SCCategory-image': {
|
|
@@ -787,6 +791,10 @@ declare const theme: {
|
|
|
787
791
|
'& .SCCategory-action': {
|
|
788
792
|
margin: any;
|
|
789
793
|
};
|
|
794
|
+
'&.MuiPaper-outlined': {
|
|
795
|
+
paddingLeft: any;
|
|
796
|
+
paddingRight: any;
|
|
797
|
+
};
|
|
790
798
|
};
|
|
791
799
|
};
|
|
792
800
|
};
|
|
@@ -1767,7 +1775,7 @@ declare const theme: {
|
|
|
1767
1775
|
};
|
|
1768
1776
|
SCCourse: {
|
|
1769
1777
|
styleOverrides: {
|
|
1770
|
-
root: () => {
|
|
1778
|
+
root: ({ theme }: any) => {
|
|
1771
1779
|
width: string;
|
|
1772
1780
|
};
|
|
1773
1781
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -1848,6 +1856,9 @@ declare const theme: {
|
|
|
1848
1856
|
padding: any;
|
|
1849
1857
|
};
|
|
1850
1858
|
};
|
|
1859
|
+
'& .SCBaseItemButton-actions': {
|
|
1860
|
+
marginRight: any;
|
|
1861
|
+
};
|
|
1851
1862
|
};
|
|
1852
1863
|
previewRoot: ({ theme }: any) => {
|
|
1853
1864
|
[x: number]: {
|
|
@@ -2041,6 +2052,10 @@ declare const theme: {
|
|
|
2041
2052
|
};
|
|
2042
2053
|
};
|
|
2043
2054
|
};
|
|
2055
|
+
'&.MuiPaper-outlined': {
|
|
2056
|
+
paddingLeft: any;
|
|
2057
|
+
paddingRight: any;
|
|
2058
|
+
};
|
|
2044
2059
|
};
|
|
2045
2060
|
};
|
|
2046
2061
|
};
|
|
@@ -4721,9 +4736,10 @@ declare const theme: {
|
|
|
4721
4736
|
};
|
|
4722
4737
|
borderRadius: number;
|
|
4723
4738
|
paddingBottom: number;
|
|
4739
|
+
paddingLeft: any;
|
|
4740
|
+
paddingRight: any;
|
|
4724
4741
|
overflow: string;
|
|
4725
4742
|
'& .SCBaseItemButton-image': {
|
|
4726
|
-
marginRight: any;
|
|
4727
4743
|
'& .MuiAvatar-root': {
|
|
4728
4744
|
width: any;
|
|
4729
4745
|
height: any;
|
|
@@ -4753,7 +4769,10 @@ declare const theme: {
|
|
|
4753
4769
|
};
|
|
4754
4770
|
};
|
|
4755
4771
|
};
|
|
4756
|
-
skeletonRoot: ({ theme }: any) => {
|
|
4772
|
+
skeletonRoot: ({ theme }: any) => {
|
|
4773
|
+
paddingLeft: any;
|
|
4774
|
+
paddingRight: any;
|
|
4775
|
+
};
|
|
4757
4776
|
};
|
|
4758
4777
|
};
|
|
4759
4778
|
SCGroupActionsMenu: {
|
|
@@ -32,6 +32,10 @@ declare const Component: {
|
|
|
32
32
|
textOverflow: string;
|
|
33
33
|
display: string;
|
|
34
34
|
};
|
|
35
|
+
'&.MuiPaper-outlined': {
|
|
36
|
+
paddingLeft: any;
|
|
37
|
+
paddingRight: any;
|
|
38
|
+
};
|
|
35
39
|
};
|
|
36
40
|
skeletonRoot: ({ theme }: any) => {
|
|
37
41
|
'& .SCCategory-image': {
|
|
@@ -46,6 +50,10 @@ declare const Component: {
|
|
|
46
50
|
'& .SCCategory-action': {
|
|
47
51
|
margin: any;
|
|
48
52
|
};
|
|
53
|
+
'&.MuiPaper-outlined': {
|
|
54
|
+
paddingLeft: any;
|
|
55
|
+
paddingRight: any;
|
|
56
|
+
};
|
|
49
57
|
};
|
|
50
58
|
};
|
|
51
59
|
};
|
|
@@ -31,6 +31,10 @@ const Component = {
|
|
|
31
31
|
overflow: 'hidden',
|
|
32
32
|
textOverflow: 'ellipsis',
|
|
33
33
|
display: 'block'
|
|
34
|
+
},
|
|
35
|
+
'&.MuiPaper-outlined': {
|
|
36
|
+
paddingLeft: theme.spacing(1),
|
|
37
|
+
paddingRight: theme.spacing(1)
|
|
34
38
|
}
|
|
35
39
|
}),
|
|
36
40
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -45,6 +49,10 @@ const Component = {
|
|
|
45
49
|
},
|
|
46
50
|
'& .SCCategory-action': {
|
|
47
51
|
margin: theme.spacing(0.5)
|
|
52
|
+
},
|
|
53
|
+
'&.MuiPaper-outlined': {
|
|
54
|
+
paddingLeft: theme.spacing(1),
|
|
55
|
+
paddingRight: theme.spacing(1)
|
|
48
56
|
}
|
|
49
57
|
})
|
|
50
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
4
|
width: string;
|
|
5
5
|
};
|
|
6
6
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -81,6 +81,9 @@ declare const Component: {
|
|
|
81
81
|
padding: any;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: any;
|
|
86
|
+
};
|
|
84
87
|
};
|
|
85
88
|
previewRoot: ({ theme }: any) => {
|
|
86
89
|
[x: number]: {
|
|
@@ -274,6 +277,10 @@ declare const Component: {
|
|
|
274
277
|
};
|
|
275
278
|
};
|
|
276
279
|
};
|
|
280
|
+
'&.MuiPaper-outlined': {
|
|
281
|
+
paddingLeft: any;
|
|
282
|
+
paddingRight: any;
|
|
283
|
+
};
|
|
277
284
|
};
|
|
278
285
|
};
|
|
279
286
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => ({
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
4
|
width: '100%'
|
|
5
5
|
}),
|
|
6
6
|
snippetRoot: ({ theme }) => ({
|
|
@@ -80,6 +80,9 @@ const Component = {
|
|
|
80
80
|
fontWeight: 700,
|
|
81
81
|
padding: theme.spacing(0.5)
|
|
82
82
|
}
|
|
83
|
+
},
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: theme.spacing()
|
|
83
86
|
}
|
|
84
87
|
}),
|
|
85
88
|
previewRoot: ({ theme }) => ({
|
|
@@ -273,6 +276,10 @@ const Component = {
|
|
|
273
276
|
transform: 'translate(-50%, -50%)'
|
|
274
277
|
}
|
|
275
278
|
}
|
|
279
|
+
},
|
|
280
|
+
'&.MuiPaper-outlined': {
|
|
281
|
+
paddingLeft: theme.spacing(),
|
|
282
|
+
paddingRight: theme.spacing()
|
|
276
283
|
}
|
|
277
284
|
})
|
|
278
285
|
}
|
|
@@ -6,9 +6,10 @@ declare const Component: {
|
|
|
6
6
|
};
|
|
7
7
|
borderRadius: number;
|
|
8
8
|
paddingBottom: number;
|
|
9
|
+
paddingLeft: any;
|
|
10
|
+
paddingRight: any;
|
|
9
11
|
overflow: string;
|
|
10
12
|
'& .SCBaseItemButton-image': {
|
|
11
|
-
marginRight: any;
|
|
12
13
|
'& .MuiAvatar-root': {
|
|
13
14
|
width: any;
|
|
14
15
|
height: any;
|
|
@@ -38,7 +39,10 @@ declare const Component: {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
skeletonRoot: ({ theme }: any) => {
|
|
42
|
+
skeletonRoot: ({ theme }: any) => {
|
|
43
|
+
paddingLeft: any;
|
|
44
|
+
paddingRight: any;
|
|
45
|
+
};
|
|
42
46
|
};
|
|
43
47
|
};
|
|
44
48
|
export default Component;
|
|
@@ -3,12 +3,13 @@ const Component = {
|
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
4
|
borderRadius: 0,
|
|
5
5
|
paddingBottom: 0,
|
|
6
|
+
paddingLeft: theme.spacing(),
|
|
7
|
+
paddingRight: theme.spacing(),
|
|
6
8
|
overflow: 'visible',
|
|
7
9
|
[theme.breakpoints.up('sm')]: {
|
|
8
10
|
borderRadius: theme.shape.borderRadiusSm
|
|
9
11
|
},
|
|
10
12
|
'& .SCBaseItemButton-image': {
|
|
11
|
-
marginRight: theme.spacing(1.25),
|
|
12
13
|
'& .MuiAvatar-root': {
|
|
13
14
|
width: theme.selfcommunity.group.avatar.sizeSmall,
|
|
14
15
|
height: theme.selfcommunity.group.avatar.sizeSmall,
|
|
@@ -38,7 +39,10 @@ const Component = {
|
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
}),
|
|
41
|
-
skeletonRoot: ({ theme }) => ({
|
|
42
|
+
skeletonRoot: ({ theme }) => ({
|
|
43
|
+
paddingLeft: theme.spacing(),
|
|
44
|
+
paddingRight: theme.spacing(),
|
|
45
|
+
})
|
|
42
46
|
}
|
|
43
47
|
};
|
|
44
48
|
export default Component;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -773,6 +773,10 @@ declare const theme: {
|
|
|
773
773
|
textOverflow: string;
|
|
774
774
|
display: string;
|
|
775
775
|
};
|
|
776
|
+
'&.MuiPaper-outlined': {
|
|
777
|
+
paddingLeft: any;
|
|
778
|
+
paddingRight: any;
|
|
779
|
+
};
|
|
776
780
|
};
|
|
777
781
|
skeletonRoot: ({ theme }: any) => {
|
|
778
782
|
'& .SCCategory-image': {
|
|
@@ -787,6 +791,10 @@ declare const theme: {
|
|
|
787
791
|
'& .SCCategory-action': {
|
|
788
792
|
margin: any;
|
|
789
793
|
};
|
|
794
|
+
'&.MuiPaper-outlined': {
|
|
795
|
+
paddingLeft: any;
|
|
796
|
+
paddingRight: any;
|
|
797
|
+
};
|
|
790
798
|
};
|
|
791
799
|
};
|
|
792
800
|
};
|
|
@@ -1767,7 +1775,7 @@ declare const theme: {
|
|
|
1767
1775
|
};
|
|
1768
1776
|
SCCourse: {
|
|
1769
1777
|
styleOverrides: {
|
|
1770
|
-
root: () => {
|
|
1778
|
+
root: ({ theme }: any) => {
|
|
1771
1779
|
width: string;
|
|
1772
1780
|
};
|
|
1773
1781
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -1848,6 +1856,9 @@ declare const theme: {
|
|
|
1848
1856
|
padding: any;
|
|
1849
1857
|
};
|
|
1850
1858
|
};
|
|
1859
|
+
'& .SCBaseItemButton-actions': {
|
|
1860
|
+
marginRight: any;
|
|
1861
|
+
};
|
|
1851
1862
|
};
|
|
1852
1863
|
previewRoot: ({ theme }: any) => {
|
|
1853
1864
|
[x: number]: {
|
|
@@ -2041,6 +2052,10 @@ declare const theme: {
|
|
|
2041
2052
|
};
|
|
2042
2053
|
};
|
|
2043
2054
|
};
|
|
2055
|
+
'&.MuiPaper-outlined': {
|
|
2056
|
+
paddingLeft: any;
|
|
2057
|
+
paddingRight: any;
|
|
2058
|
+
};
|
|
2044
2059
|
};
|
|
2045
2060
|
};
|
|
2046
2061
|
};
|
|
@@ -4721,9 +4736,10 @@ declare const theme: {
|
|
|
4721
4736
|
};
|
|
4722
4737
|
borderRadius: number;
|
|
4723
4738
|
paddingBottom: number;
|
|
4739
|
+
paddingLeft: any;
|
|
4740
|
+
paddingRight: any;
|
|
4724
4741
|
overflow: string;
|
|
4725
4742
|
'& .SCBaseItemButton-image': {
|
|
4726
|
-
marginRight: any;
|
|
4727
4743
|
'& .MuiAvatar-root': {
|
|
4728
4744
|
width: any;
|
|
4729
4745
|
height: any;
|
|
@@ -4753,7 +4769,10 @@ declare const theme: {
|
|
|
4753
4769
|
};
|
|
4754
4770
|
};
|
|
4755
4771
|
};
|
|
4756
|
-
skeletonRoot: ({ theme }: any) => {
|
|
4772
|
+
skeletonRoot: ({ theme }: any) => {
|
|
4773
|
+
paddingLeft: any;
|
|
4774
|
+
paddingRight: any;
|
|
4775
|
+
};
|
|
4757
4776
|
};
|
|
4758
4777
|
};
|
|
4759
4778
|
SCGroupActionsMenu: {
|