@selfcommunity/react-theme-default 0.1.0-alpha.79 → 0.1.0-alpha.80
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/SCBaseItem.d.ts +47 -1
- package/lib/cjs/components/SCBaseItem.d.ts.map +1 -1
- package/lib/cjs/components/SCBaseItem.js +47 -1
- package/lib/cjs/components/SCBaseItem.js.map +1 -1
- package/lib/cjs/components/SCBaseItemButton.d.ts +51 -1
- package/lib/cjs/components/SCBaseItemButton.d.ts.map +1 -1
- package/lib/cjs/components/SCBaseItemButton.js +51 -1
- package/lib/cjs/components/SCBaseItemButton.js.map +1 -1
- package/lib/cjs/components/SCFeedSkeleton.d.ts +7 -1
- package/lib/cjs/components/SCFeedSkeleton.d.ts.map +1 -1
- package/lib/cjs/components/SCFeedSkeleton.js +7 -1
- package/lib/cjs/components/SCFeedSkeleton.js.map +1 -1
- package/lib/cjs/components/SCWidget.d.ts +3 -0
- package/lib/cjs/components/SCWidget.d.ts.map +1 -1
- package/lib/cjs/components/SCWidget.js +3 -0
- package/lib/cjs/components/SCWidget.js.map +1 -1
- package/lib/cjs/index.d.ts +108 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/esm/components/SCBaseItem.d.ts +47 -1
- package/lib/esm/components/SCBaseItem.d.ts.map +1 -1
- package/lib/esm/components/SCBaseItem.js +47 -1
- package/lib/esm/components/SCBaseItem.js.map +1 -1
- package/lib/esm/components/SCBaseItemButton.d.ts +51 -1
- package/lib/esm/components/SCBaseItemButton.d.ts.map +1 -1
- package/lib/esm/components/SCBaseItemButton.js +51 -1
- package/lib/esm/components/SCBaseItemButton.js.map +1 -1
- package/lib/esm/components/SCFeedSkeleton.d.ts +7 -1
- package/lib/esm/components/SCFeedSkeleton.d.ts.map +1 -1
- package/lib/esm/components/SCFeedSkeleton.js +7 -1
- package/lib/esm/components/SCFeedSkeleton.js.map +1 -1
- package/lib/esm/components/SCWidget.d.ts +3 -0
- package/lib/esm/components/SCWidget.d.ts.map +1 -1
- package/lib/esm/components/SCWidget.js +3 -0
- package/lib/esm/components/SCWidget.js.map +1 -1
- package/lib/esm/index.d.ts +108 -3
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/umd/react-theme-default.js +18 -18
- package/lib/umd/react-theme-default.js.LICENSE.txt +1 -1
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }: any) => {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
width: string;
|
|
5
|
+
display: string;
|
|
6
|
+
flexDirection: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
'&.MuiPaper-elevation': {
|
|
9
|
+
paddingTop: any;
|
|
10
|
+
paddingBottom: any;
|
|
11
|
+
paddingLeft: any;
|
|
12
|
+
paddingRight: any;
|
|
13
|
+
'&.MuiPaper-elevation0': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
paddingLeft: number;
|
|
17
|
+
paddingRight: number;
|
|
18
|
+
'& .SCBaseItem-actions': {
|
|
19
|
+
right: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCBaseItem-content': {
|
|
24
|
+
display: string;
|
|
25
|
+
flexDirection: string;
|
|
26
|
+
justifyContent: string;
|
|
27
|
+
alignItems: string;
|
|
28
|
+
width: string;
|
|
29
|
+
};
|
|
30
|
+
'& .SCBaseItem-image': {
|
|
31
|
+
flexShrink: number;
|
|
32
|
+
marginRight: any;
|
|
33
|
+
};
|
|
34
|
+
'& .SCBaseItem-text': {
|
|
35
|
+
flex: string;
|
|
36
|
+
marginTop: any;
|
|
37
|
+
marginBottom: any;
|
|
38
|
+
textAlign: string;
|
|
39
|
+
width: string;
|
|
40
|
+
};
|
|
41
|
+
'& .SCBaseItem-primary': {
|
|
42
|
+
color: any;
|
|
43
|
+
};
|
|
44
|
+
'& .SCBaseItem-secondary': {
|
|
45
|
+
overflow: string;
|
|
46
|
+
textOverflow: string;
|
|
47
|
+
color: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
4
50
|
};
|
|
5
51
|
};
|
|
6
52
|
export default Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCBaseItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -2,7 +2,53 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
width: '100%',
|
|
7
|
+
display: 'flex',
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
'&.MuiPaper-elevation': {
|
|
11
|
+
paddingTop: theme.spacing(),
|
|
12
|
+
paddingBottom: theme.spacing(),
|
|
13
|
+
paddingLeft: theme.spacing(2),
|
|
14
|
+
paddingRight: theme.spacing(2),
|
|
15
|
+
'&.MuiPaper-elevation0': {
|
|
16
|
+
paddingTop: 0,
|
|
17
|
+
paddingBottom: 0,
|
|
18
|
+
paddingLeft: 0,
|
|
19
|
+
paddingRight: 0,
|
|
20
|
+
'& .SCBaseItem-actions': {
|
|
21
|
+
right: 0
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
'& .SCBaseItem-content': {
|
|
26
|
+
display: 'flex',
|
|
27
|
+
flexDirection: 'row',
|
|
28
|
+
justifyContent: 'flex-start',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
width: '100%'
|
|
31
|
+
},
|
|
32
|
+
'& .SCBaseItem-image': {
|
|
33
|
+
flexShrink: 0,
|
|
34
|
+
marginRight: theme.spacing(2)
|
|
35
|
+
},
|
|
36
|
+
'& .SCBaseItem-text': {
|
|
37
|
+
flex: '1 1 auto',
|
|
38
|
+
marginTop: theme.spacing(),
|
|
39
|
+
marginBottom: theme.spacing(),
|
|
40
|
+
textAlign: 'left',
|
|
41
|
+
width: '100%'
|
|
42
|
+
},
|
|
43
|
+
'& .SCBaseItem-primary': {
|
|
44
|
+
color: theme.palette.text.primary
|
|
45
|
+
},
|
|
46
|
+
'& .SCBaseItem-secondary': {
|
|
47
|
+
overflow: 'hidden',
|
|
48
|
+
textOverflow: 'ellipsis',
|
|
49
|
+
color: theme.palette.text.secondary
|
|
50
|
+
}
|
|
51
|
+
})
|
|
6
52
|
}
|
|
7
53
|
};
|
|
8
54
|
exports.default = Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItem.js","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"SCBaseItem.js","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,sBA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+
root: ({ theme }: any) => {
|
|
4
|
+
position: string;
|
|
5
|
+
width: string;
|
|
6
|
+
'&.MuiPaper-elevation': {
|
|
7
|
+
paddingTop: any;
|
|
8
|
+
paddingBottom: any;
|
|
9
|
+
paddingLeft: any;
|
|
10
|
+
paddingRight: any;
|
|
11
|
+
'&.MuiPaper-elevation0': {
|
|
12
|
+
paddingTop: number;
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
paddingLeft: number;
|
|
15
|
+
paddingRight: number;
|
|
16
|
+
'& .SCBaseItemButton-actions': {
|
|
17
|
+
right: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'& .SCBaseItemButton-content': {
|
|
22
|
+
display: string;
|
|
23
|
+
flexDirection: string;
|
|
24
|
+
justifyContent: string;
|
|
25
|
+
alignItems: string;
|
|
26
|
+
width: string;
|
|
27
|
+
};
|
|
28
|
+
'& .SCBaseItemButton-image': {
|
|
29
|
+
flexShrink: number;
|
|
30
|
+
marginRight: any;
|
|
31
|
+
};
|
|
32
|
+
'& .SCBaseItemButton-text': {
|
|
33
|
+
flex: string;
|
|
34
|
+
marginTop: any;
|
|
35
|
+
marginBottom: any;
|
|
36
|
+
textAlign: string;
|
|
37
|
+
};
|
|
38
|
+
'& .SCBaseItemButton-primary': {
|
|
39
|
+
color: any;
|
|
40
|
+
};
|
|
41
|
+
'& .SCBaseItemButton-secondary': {
|
|
42
|
+
whiteSpace: string;
|
|
43
|
+
overflow: string;
|
|
44
|
+
textOverflow: string;
|
|
45
|
+
color: any;
|
|
46
|
+
};
|
|
47
|
+
'& .SCBaseItemButton-actions': {
|
|
48
|
+
position: string;
|
|
49
|
+
right: any;
|
|
50
|
+
top: string;
|
|
51
|
+
transform: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
4
54
|
};
|
|
5
55
|
};
|
|
6
56
|
export default Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItemButton.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItemButton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCBaseItemButton.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItemButton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -2,7 +2,57 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
position: 'relative',
|
|
7
|
+
width: '100%',
|
|
8
|
+
'&.MuiPaper-elevation': {
|
|
9
|
+
paddingTop: theme.spacing(),
|
|
10
|
+
paddingBottom: theme.spacing(),
|
|
11
|
+
paddingLeft: theme.spacing(2),
|
|
12
|
+
paddingRight: theme.spacing(2),
|
|
13
|
+
'&.MuiPaper-elevation0': {
|
|
14
|
+
paddingTop: 0,
|
|
15
|
+
paddingBottom: 0,
|
|
16
|
+
paddingLeft: 0,
|
|
17
|
+
paddingRight: 0,
|
|
18
|
+
'& .SCBaseItemButton-actions': {
|
|
19
|
+
right: 0
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
'& .SCBaseItemButton-content': {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
flexDirection: 'row',
|
|
26
|
+
justifyContent: 'flex-start',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
width: '100%'
|
|
29
|
+
},
|
|
30
|
+
'& .SCBaseItemButton-image': {
|
|
31
|
+
flexShrink: 0,
|
|
32
|
+
marginRight: theme.spacing(2)
|
|
33
|
+
},
|
|
34
|
+
'& .SCBaseItemButton-text': {
|
|
35
|
+
flex: '1 1 auto',
|
|
36
|
+
marginTop: theme.spacing(),
|
|
37
|
+
marginBottom: theme.spacing(),
|
|
38
|
+
textAlign: 'left'
|
|
39
|
+
},
|
|
40
|
+
'& .SCBaseItemButton-primary': {
|
|
41
|
+
color: theme.palette.text.primary
|
|
42
|
+
},
|
|
43
|
+
'& .SCBaseItemButton-secondary': {
|
|
44
|
+
whiteSpace: 'nowrap',
|
|
45
|
+
overflow: 'hidden',
|
|
46
|
+
textOverflow: 'ellipsis',
|
|
47
|
+
color: theme.palette.text.secondary
|
|
48
|
+
},
|
|
49
|
+
'& .SCBaseItemButton-actions': {
|
|
50
|
+
position: 'absolute',
|
|
51
|
+
right: theme.spacing(2),
|
|
52
|
+
top: '50%',
|
|
53
|
+
transform: 'translateY(-50%)'
|
|
54
|
+
}
|
|
55
|
+
})
|
|
6
56
|
}
|
|
7
57
|
};
|
|
8
58
|
exports.default = Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItemButton.js","sourceRoot":"","sources":["../../../src/components/SCBaseItemButton.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"SCBaseItemButton.js","sourceRoot":"","sources":["../../../src/components/SCBaseItemButton.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,MAAM;YACb,sBAAsB,EAAE;gBACtB,UAAU,EAAE,KAAK,CAAC,OAAO,EAAE;gBAC3B,aAAa,EAAE,KAAK,CAAC,OAAO,EAAE;gBAC9B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC7B,YAAY,EAAE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leton-left': {
|
|
6
|
-
|
|
6
|
+
[x: number]: {
|
|
7
|
+
padding: any;
|
|
8
|
+
};
|
|
9
|
+
padding: number;
|
|
7
10
|
'&:last-child': {
|
|
8
11
|
paddingBottom: any;
|
|
9
12
|
};
|
|
13
|
+
'& > .SCWidget-root': {
|
|
14
|
+
marginBottom: any;
|
|
15
|
+
};
|
|
10
16
|
};
|
|
11
17
|
'& .SCFeedSkeleton-right': {
|
|
12
18
|
padding: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeedSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeedSkeleton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCFeedSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeedSkeleton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -5,9 +5,15 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
maxWidth: theme.breakpoints.values['lg'],
|
|
7
7
|
'& .SCFeedSkeleton-left': {
|
|
8
|
-
padding:
|
|
8
|
+
padding: 0,
|
|
9
|
+
[theme.breakpoints.up('sm')]: {
|
|
10
|
+
padding: theme.spacing(1.25)
|
|
11
|
+
},
|
|
9
12
|
'&:last-child': {
|
|
10
13
|
paddingBottom: theme.spacing(4)
|
|
14
|
+
},
|
|
15
|
+
'& > .SCWidget-root': {
|
|
16
|
+
marginBottom: theme.spacing(2)
|
|
11
17
|
}
|
|
12
18
|
},
|
|
13
19
|
'& .SCFeedSkeleton-right': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeedSkeleton.js","sourceRoot":"","sources":["../../../src/components/SCFeedSkeleton.tsx"],"names":[],"mappings":";;AAAA,M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SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCWidget.d.ts","sourceRoot":"","sources":["../../../src/components/SCWidget.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;0BAkBK,GAAG
|
|
1
|
+
{"version":3,"file":"SCWidget.d.ts","sourceRoot":"","sources":["../../../src/components/SCWidget.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;0BAkBK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCWidget.js","sourceRoot":"","sources":["../../../src/components/SCWidget.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,QAAQ,EAAE;QACR;YACE,KAAK,EAAE,EAAC,SAAS,EAAE,CAAC,EAAC;YACrB,KAAK,EAAE;gBACL,MAAM,EAAE,CAAC;gBACT,SAAS,EAAE,MAAM;aAClB;SACF;QACD;YACE,KAAK,EAAE,EAAC,OAAO,EAAE,UAAU,EAAC;YAC5B,KAAK,EAAE;gBACL,MAAM,EAAE,+BAA+B;gBACvC,SAAS,EAAE,MAAM;aAClB;SACF;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,YAAY,EAAE,CAAC;YACf,SAAS,EAAE,iCAAiC;YAC5C,MAAM,EAAE,QAAQ;YAChB,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC5B,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;aACvC;YACD,wBAAwB,EAAE;gBACxB,OAAO,EAAE,KAAK,CAAC,OAAO,CA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AE;oBACzB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC7B;gBACD,2BAA2B,EAAE;oBAC3B,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;oBAC7B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC7B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC9B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI;iBACpC;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -233,12 +233,108 @@ declare const theme: {
|
|
|
233
233
|
};
|
|
234
234
|
SCBaseItem: {
|
|
235
235
|
styleOverrides: {
|
|
236
|
-
root: ({ theme }: any) => {
|
|
236
|
+
root: ({ theme }: any) => {
|
|
237
|
+
width: string;
|
|
238
|
+
display: string;
|
|
239
|
+
flexDirection: string;
|
|
240
|
+
alignItems: string;
|
|
241
|
+
'&.MuiPaper-elevation': {
|
|
242
|
+
paddingTop: any;
|
|
243
|
+
paddingBottom: any;
|
|
244
|
+
paddingLeft: any;
|
|
245
|
+
paddingRight: any;
|
|
246
|
+
'&.MuiPaper-elevation0': {
|
|
247
|
+
paddingTop: number;
|
|
248
|
+
paddingBottom: number;
|
|
249
|
+
paddingLeft: number;
|
|
250
|
+
paddingRight: number;
|
|
251
|
+
'& .SCBaseItem-actions': {
|
|
252
|
+
right: number;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
'& .SCBaseItem-content': {
|
|
257
|
+
display: string;
|
|
258
|
+
flexDirection: string;
|
|
259
|
+
justifyContent: string;
|
|
260
|
+
alignItems: string;
|
|
261
|
+
width: string;
|
|
262
|
+
};
|
|
263
|
+
'& .SCBaseItem-image': {
|
|
264
|
+
flexShrink: number;
|
|
265
|
+
marginRight: any;
|
|
266
|
+
};
|
|
267
|
+
'& .SCBaseItem-text': {
|
|
268
|
+
flex: string;
|
|
269
|
+
marginTop: any;
|
|
270
|
+
marginBottom: any;
|
|
271
|
+
textAlign: string;
|
|
272
|
+
width: string;
|
|
273
|
+
};
|
|
274
|
+
'& .SCBaseItem-primary': {
|
|
275
|
+
color: any;
|
|
276
|
+
};
|
|
277
|
+
'& .SCBaseItem-secondary': {
|
|
278
|
+
overflow: string;
|
|
279
|
+
textOverflow: string;
|
|
280
|
+
color: any;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
237
283
|
};
|
|
238
284
|
};
|
|
239
285
|
SCBaseItemButton: {
|
|
240
286
|
styleOverrides: {
|
|
241
|
-
root: ({ theme }: any) => {
|
|
287
|
+
root: ({ theme }: any) => {
|
|
288
|
+
position: string;
|
|
289
|
+
width: string;
|
|
290
|
+
'&.MuiPaper-elevation': {
|
|
291
|
+
paddingTop: any;
|
|
292
|
+
paddingBottom: any;
|
|
293
|
+
paddingLeft: any;
|
|
294
|
+
paddingRight: any;
|
|
295
|
+
'&.MuiPaper-elevation0': {
|
|
296
|
+
paddingTop: number;
|
|
297
|
+
paddingBottom: number;
|
|
298
|
+
paddingLeft: number;
|
|
299
|
+
paddingRight: number;
|
|
300
|
+
'& .SCBaseItemButton-actions': {
|
|
301
|
+
right: number;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
'& .SCBaseItemButton-content': {
|
|
306
|
+
display: string;
|
|
307
|
+
flexDirection: string;
|
|
308
|
+
justifyContent: string;
|
|
309
|
+
alignItems: string;
|
|
310
|
+
width: string;
|
|
311
|
+
};
|
|
312
|
+
'& .SCBaseItemButton-image': {
|
|
313
|
+
flexShrink: number;
|
|
314
|
+
marginRight: any;
|
|
315
|
+
};
|
|
316
|
+
'& .SCBaseItemButton-text': {
|
|
317
|
+
flex: string;
|
|
318
|
+
marginTop: any;
|
|
319
|
+
marginBottom: any;
|
|
320
|
+
textAlign: string;
|
|
321
|
+
};
|
|
322
|
+
'& .SCBaseItemButton-primary': {
|
|
323
|
+
color: any;
|
|
324
|
+
};
|
|
325
|
+
'& .SCBaseItemButton-secondary': {
|
|
326
|
+
whiteSpace: string;
|
|
327
|
+
overflow: string;
|
|
328
|
+
textOverflow: string;
|
|
329
|
+
color: any;
|
|
330
|
+
};
|
|
331
|
+
'& .SCBaseItemButton-actions': {
|
|
332
|
+
position: string;
|
|
333
|
+
right: any;
|
|
334
|
+
top: string;
|
|
335
|
+
transform: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
242
338
|
};
|
|
243
339
|
};
|
|
244
340
|
SCBottomNavigation: {
|
|
@@ -1233,10 +1329,16 @@ declare const theme: {
|
|
|
1233
1329
|
root: ({ theme }: any) => {
|
|
1234
1330
|
maxWidth: any;
|
|
1235
1331
|
'& .SCFeedSkeleton-left': {
|
|
1236
|
-
|
|
1332
|
+
[x: number]: {
|
|
1333
|
+
padding: any;
|
|
1334
|
+
};
|
|
1335
|
+
padding: number;
|
|
1237
1336
|
'&:last-child': {
|
|
1238
1337
|
paddingBottom: any;
|
|
1239
1338
|
};
|
|
1339
|
+
'& > .SCWidget-root': {
|
|
1340
|
+
marginBottom: any;
|
|
1341
|
+
};
|
|
1240
1342
|
};
|
|
1241
1343
|
'& .SCFeedSkeleton-right': {
|
|
1242
1344
|
padding: any;
|
|
@@ -2077,6 +2179,9 @@ declare const theme: {
|
|
|
2077
2179
|
};
|
|
2078
2180
|
};
|
|
2079
2181
|
};
|
|
2182
|
+
'& > .MuiTypography-root': {
|
|
2183
|
+
paddingTop: any;
|
|
2184
|
+
};
|
|
2080
2185
|
'& > .MuiButton-sizeMedium': {
|
|
2081
2186
|
marginLeft: any;
|
|
2082
2187
|
paddingLeft: any;
|
package/lib/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAC;AAC5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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJV,CAAC;AACF,eAAe,KAAK,CAAC"}
|
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }: any) => {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
width: string;
|
|
5
|
+
display: string;
|
|
6
|
+
flexDirection: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
'&.MuiPaper-elevation': {
|
|
9
|
+
paddingTop: any;
|
|
10
|
+
paddingBottom: any;
|
|
11
|
+
paddingLeft: any;
|
|
12
|
+
paddingRight: any;
|
|
13
|
+
'&.MuiPaper-elevation0': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
paddingLeft: number;
|
|
17
|
+
paddingRight: number;
|
|
18
|
+
'& .SCBaseItem-actions': {
|
|
19
|
+
right: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCBaseItem-content': {
|
|
24
|
+
display: string;
|
|
25
|
+
flexDirection: string;
|
|
26
|
+
justifyContent: string;
|
|
27
|
+
alignItems: string;
|
|
28
|
+
width: string;
|
|
29
|
+
};
|
|
30
|
+
'& .SCBaseItem-image': {
|
|
31
|
+
flexShrink: number;
|
|
32
|
+
marginRight: any;
|
|
33
|
+
};
|
|
34
|
+
'& .SCBaseItem-text': {
|
|
35
|
+
flex: string;
|
|
36
|
+
marginTop: any;
|
|
37
|
+
marginBottom: any;
|
|
38
|
+
textAlign: string;
|
|
39
|
+
width: string;
|
|
40
|
+
};
|
|
41
|
+
'& .SCBaseItem-primary': {
|
|
42
|
+
color: any;
|
|
43
|
+
};
|
|
44
|
+
'& .SCBaseItem-secondary': {
|
|
45
|
+
overflow: string;
|
|
46
|
+
textOverflow: string;
|
|
47
|
+
color: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
4
50
|
};
|
|
5
51
|
};
|
|
6
52
|
export default Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCBaseItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }) => ({
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
width: '100%',
|
|
5
|
+
display: 'flex',
|
|
6
|
+
flexDirection: 'row',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
'&.MuiPaper-elevation': {
|
|
9
|
+
paddingTop: theme.spacing(),
|
|
10
|
+
paddingBottom: theme.spacing(),
|
|
11
|
+
paddingLeft: theme.spacing(2),
|
|
12
|
+
paddingRight: theme.spacing(2),
|
|
13
|
+
'&.MuiPaper-elevation0': {
|
|
14
|
+
paddingTop: 0,
|
|
15
|
+
paddingBottom: 0,
|
|
16
|
+
paddingLeft: 0,
|
|
17
|
+
paddingRight: 0,
|
|
18
|
+
'& .SCBaseItem-actions': {
|
|
19
|
+
right: 0
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
'& .SCBaseItem-content': {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
flexDirection: 'row',
|
|
26
|
+
justifyContent: 'flex-start',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
width: '100%'
|
|
29
|
+
},
|
|
30
|
+
'& .SCBaseItem-image': {
|
|
31
|
+
flexShrink: 0,
|
|
32
|
+
marginRight: theme.spacing(2)
|
|
33
|
+
},
|
|
34
|
+
'& .SCBaseItem-text': {
|
|
35
|
+
flex: '1 1 auto',
|
|
36
|
+
marginTop: theme.spacing(),
|
|
37
|
+
marginBottom: theme.spacing(),
|
|
38
|
+
textAlign: 'left',
|
|
39
|
+
width: '100%'
|
|
40
|
+
},
|
|
41
|
+
'& .SCBaseItem-primary': {
|
|
42
|
+
color: theme.palette.text.primary
|
|
43
|
+
},
|
|
44
|
+
'& .SCBaseItem-secondary': {
|
|
45
|
+
overflow: 'hidden',
|
|
46
|
+
textOverflow: 'ellipsis',
|
|
47
|
+
color: theme.palette.text.secondary
|
|
48
|
+
}
|
|
49
|
+
})
|
|
4
50
|
}
|
|
5
51
|
};
|
|
6
52
|
export default Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCBaseItem.js","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"SCBaseItem.js","sourceRoot":"","sources":["../../../src/components/SCBaseItem.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,sBAAsB,EAAE;gBACtB,UAAU,EAAE,KAAK,CAAC,OAAO,EAAE;gBAC3B,aAAa,EAAE,KAAK,CAAC,OAAO,EAAE;gBAC9B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC7B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC9B,uBAAuB,EAAE;oBACvB,UAAU,EAAE,CAAC;oBACb,aAAa,EAAE,CAAC;oBAChB,WAAW,EAAE,CAAC;oBACd,YAAY,EAAE,CAAC;oBACf,uBAAuB,EAAE;wBACvB,KAAK,EAAE,CAAC;qBACT;iBACF;aACF;YACD,uBAAuB,EAAE;gBACvB,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,KAAK;gBACpB,cAAc,EAAE,YAAY;gBAC5B,UAAU,EAAE,QAAQ;gBACpB,KAAK,EAAE,MAAM;aACd;YACD,qBAAqB,EAAE;gBACrB,UAAU,EAAE,CAAC;gBACb,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aAC9B;Y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