@selfcommunity/react-theme-default 0.1.0-alpha.103 → 0.1.0-alpha.105
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/SCComposer.d.ts +9 -0
- package/lib/cjs/components/SCComposer.d.ts.map +1 -1
- package/lib/cjs/components/SCComposer.js +9 -0
- package/lib/cjs/components/SCComposer.js.map +1 -1
- package/lib/cjs/components/SCEditor.d.ts +219 -0
- package/lib/cjs/components/SCEditor.d.ts.map +1 -1
- package/lib/cjs/components/SCEditor.js +219 -0
- package/lib/cjs/components/SCEditor.js.map +1 -1
- package/lib/cjs/components/SCEditorFloatingLinkPlugin.d.ts +12 -0
- package/lib/cjs/components/SCEditorFloatingLinkPlugin.d.ts.map +1 -0
- package/lib/cjs/components/SCEditorFloatingLinkPlugin.js +14 -0
- package/lib/cjs/components/SCEditorFloatingLinkPlugin.js.map +1 -0
- package/lib/cjs/components/SCEditorToolbarPlugin.d.ts +24 -0
- package/lib/cjs/components/SCEditorToolbarPlugin.d.ts.map +1 -0
- package/lib/cjs/components/SCEditorToolbarPlugin.js +26 -0
- package/lib/cjs/components/SCEditorToolbarPlugin.js.map +1 -0
- package/lib/cjs/components/SCFeedObjectSkeleton.d.ts +1 -1
- package/lib/cjs/components/SCFeedObjectSkeleton.js +1 -1
- package/lib/cjs/components/SCFeedObjectSkeleton.js.map +1 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.d.ts +102 -0
- package/lib/cjs/components/SCLoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.js +104 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.js +1 -1
- package/lib/cjs/index.d.ts +363 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +4 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/SCComposer.d.ts +9 -0
- package/lib/esm/components/SCComposer.d.ts.map +1 -1
- package/lib/esm/components/SCComposer.js +9 -0
- package/lib/esm/components/SCComposer.js.map +1 -1
- package/lib/esm/components/SCEditor.d.ts +219 -0
- package/lib/esm/components/SCEditor.d.ts.map +1 -1
- package/lib/esm/components/SCEditor.js +219 -0
- package/lib/esm/components/SCEditor.js.map +1 -1
- package/lib/esm/components/SCEditorFloatingLinkPlugin.d.ts +12 -0
- package/lib/esm/components/SCEditorFloatingLinkPlugin.d.ts.map +1 -0
- package/lib/esm/components/SCEditorFloatingLinkPlugin.js +12 -0
- package/lib/esm/components/SCEditorFloatingLinkPlugin.js.map +1 -0
- package/lib/esm/components/SCEditorToolbarPlugin.d.ts +24 -0
- package/lib/esm/components/SCEditorToolbarPlugin.d.ts.map +1 -0
- package/lib/esm/components/SCEditorToolbarPlugin.js +24 -0
- package/lib/esm/components/SCEditorToolbarPlugin.js.map +1 -0
- package/lib/esm/components/SCFeedObjectSkeleton.d.ts +1 -1
- package/lib/esm/components/SCFeedObjectSkeleton.js +1 -1
- package/lib/esm/components/SCFeedObjectSkeleton.js.map +1 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.d.ts +102 -0
- package/lib/esm/components/SCLoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.js +104 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageThread.js +1 -1
- package/lib/esm/index.d.ts +363 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +4 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-theme-default.js +18 -18
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
-
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail': {
|
|
4
|
+
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail, &.SCFeedObjectSkeleton-search': {
|
|
5
5
|
[x: number]: {
|
|
6
6
|
borderRadius: any;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
|
-
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail': {
|
|
4
|
+
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail, &.SCFeedObjectSkeleton-search': {
|
|
5
5
|
border: `0 none`,
|
|
6
6
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
7
7
|
borderRadius: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeedObjectSkeleton.js","sourceRoot":"","sources":["../../../src/components/SCFeedObjectSkeleton.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB
|
|
1
|
+
{"version":3,"file":"SCFeedObjectSkeleton.js","sourceRoot":"","sources":["../../../src/components/SCFeedObjectSkeleton.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,8FAA8F,EAAE;gBAC9F,MAAM,EAAE,QAAQ;gBAChB,SAAS,EAAE,iCAAiC;gBAC5C,YAAY,EAAE,CAAC;gBACf,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;oBAC5B,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;iBACvC;aACF;YACD,qCAAqC,EAAE;gBACrC,WAAW,EAAE,CAAC;gBACd,YAAY,EAAE,CAAC;aAChB;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -3,6 +3,108 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
boxShadow: string;
|
|
5
5
|
borderRadius: number;
|
|
6
|
+
'& .SCLoyaltyProgramDetail-title': {
|
|
7
|
+
[x: number]: {
|
|
8
|
+
textAlign: string;
|
|
9
|
+
};
|
|
10
|
+
fontWeight: any;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
marginBottom: any;
|
|
13
|
+
};
|
|
14
|
+
'& .SCLoyaltyProgramDetail-section-title': {
|
|
15
|
+
fontWeight: any;
|
|
16
|
+
fontSize: string;
|
|
17
|
+
marginBottom: any;
|
|
18
|
+
};
|
|
19
|
+
'& .SCLoyaltyProgramDetail-section-info': {
|
|
20
|
+
[x: number]: {
|
|
21
|
+
marginBottom: any;
|
|
22
|
+
};
|
|
23
|
+
marginBottom: any;
|
|
24
|
+
};
|
|
25
|
+
'& .SCLoyaltyProgramDetail-user-points': {
|
|
26
|
+
marginLeft: any;
|
|
27
|
+
backgroundColor: any;
|
|
28
|
+
'& .MuiChip-label': {
|
|
29
|
+
fontSize: string;
|
|
30
|
+
fontWeight: any;
|
|
31
|
+
color: any;
|
|
32
|
+
padding: any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'& .SCLoyaltyProgramDetail-prize-section': {
|
|
36
|
+
'& .MuiGrid-item': {
|
|
37
|
+
[x: number]: {
|
|
38
|
+
marginBottom: any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
'& .SCLoyaltyProgramDetail-card': {
|
|
43
|
+
[x: number]: {
|
|
44
|
+
borderRadius: number;
|
|
45
|
+
height: string;
|
|
46
|
+
};
|
|
47
|
+
boxShadow: string;
|
|
48
|
+
display: string;
|
|
49
|
+
flexDirection: string;
|
|
50
|
+
justifyContent: string;
|
|
51
|
+
alignItems: string;
|
|
52
|
+
height: any;
|
|
53
|
+
'& .MuiCardContent-root': {
|
|
54
|
+
display: string;
|
|
55
|
+
flexDirection: string;
|
|
56
|
+
justifyContent: string;
|
|
57
|
+
alignItems: string;
|
|
58
|
+
'& .SCLoyaltyProgramDetail-card-content': {
|
|
59
|
+
height: any;
|
|
60
|
+
overflow: string;
|
|
61
|
+
textOverflow: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
'& .MuiCardActions-root': {
|
|
65
|
+
marginTop: string;
|
|
66
|
+
'& .MuiButtonBase-root': {
|
|
67
|
+
'&:hover, &:active': {
|
|
68
|
+
backgroundColor: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
'& .MuiCardMedia-root': {
|
|
73
|
+
height: any;
|
|
74
|
+
};
|
|
75
|
+
'& .SCLoyaltyProgramDetail-prize-points': {
|
|
76
|
+
marginTop: any;
|
|
77
|
+
'& .MuiChip-root': {
|
|
78
|
+
backgroundColor: any;
|
|
79
|
+
'& .MuiChip-label': {
|
|
80
|
+
fontSize: string;
|
|
81
|
+
fontWeight: any;
|
|
82
|
+
color: any;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'& .SCLoyaltyProgramDetail-not-requestable': {
|
|
86
|
+
backgroundColor: any;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
'& .SCLoyaltyProgramDetail-end-section': {
|
|
91
|
+
boxShadow: string;
|
|
92
|
+
'& .MuiButtonBase-root': {
|
|
93
|
+
padding: number;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
'& .SCLoyaltyProgramDetailPointsList-root': {
|
|
97
|
+
marginTop: any;
|
|
98
|
+
marginBottom: any;
|
|
99
|
+
'& .MuiGrid-item': {
|
|
100
|
+
paddingTop: any;
|
|
101
|
+
'& .SCLoyaltyProgramDetailPointsList-element': {
|
|
102
|
+
display: string;
|
|
103
|
+
justifyContent: string;
|
|
104
|
+
marginBottom: any;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
6
108
|
};
|
|
7
109
|
};
|
|
8
110
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCLoyaltyProgramDetail.d.ts","sourceRoot":"","sources":["../../../src/components/SCLoyaltyProgramDetail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCLoyaltyProgramDetail.d.ts","sourceRoot":"","sources":["../../../src/components/SCLoyaltyProgramDetail.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,8 +1,111 @@
|
|
|
1
|
+
import { alpha } from '@mui/system';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => ({
|
|
4
5
|
boxShadow: 'none',
|
|
5
|
-
borderRadius: 0
|
|
6
|
+
borderRadius: 0,
|
|
7
|
+
'& .SCLoyaltyProgramDetail-title': {
|
|
8
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
9
|
+
fontSize: '1.286rem',
|
|
10
|
+
marginBottom: theme.spacing(5),
|
|
11
|
+
[theme.breakpoints.down('md')]: {
|
|
12
|
+
textAlign: 'center'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
'& .SCLoyaltyProgramDetail-section-title': {
|
|
16
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
17
|
+
fontSize: '1.143rem',
|
|
18
|
+
marginBottom: theme.spacing(1)
|
|
19
|
+
},
|
|
20
|
+
'& .SCLoyaltyProgramDetail-section-info': {
|
|
21
|
+
marginBottom: theme.spacing(5),
|
|
22
|
+
[theme.breakpoints.down('md')]: {
|
|
23
|
+
marginBottom: theme.spacing(3)
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'& .SCLoyaltyProgramDetail-user-points': {
|
|
27
|
+
marginLeft: theme.spacing(2),
|
|
28
|
+
backgroundColor: theme.palette.secondary.main,
|
|
29
|
+
'& .MuiChip-label': {
|
|
30
|
+
fontSize: '1rem',
|
|
31
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
32
|
+
color: theme.palette.common.white,
|
|
33
|
+
padding: theme.spacing(1, 2, 1, 2)
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'& .SCLoyaltyProgramDetail-prize-section': {
|
|
37
|
+
'& .MuiGrid-item': {
|
|
38
|
+
[theme.breakpoints.down('md')]: {
|
|
39
|
+
marginBottom: theme.spacing(4)
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
'& .SCLoyaltyProgramDetail-card': {
|
|
44
|
+
boxShadow: '0px 3px 6px rgba(0, 0, 0, 0.3)',
|
|
45
|
+
[theme.breakpoints.down('md')]: {
|
|
46
|
+
borderRadius: 0,
|
|
47
|
+
height: '100%'
|
|
48
|
+
},
|
|
49
|
+
display: 'flex',
|
|
50
|
+
flexDirection: 'column',
|
|
51
|
+
justifyContent: 'center',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
height: theme.spacing(53),
|
|
54
|
+
'& .MuiCardContent-root': {
|
|
55
|
+
display: 'flex',
|
|
56
|
+
flexDirection: 'column',
|
|
57
|
+
justifyContent: 'center',
|
|
58
|
+
alignItems: 'center',
|
|
59
|
+
'& .SCLoyaltyProgramDetail-card-content': {
|
|
60
|
+
height: theme.spacing(12.5),
|
|
61
|
+
overflow: 'hidden',
|
|
62
|
+
textOverflow: 'ellipsis'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
'& .MuiCardActions-root': {
|
|
66
|
+
marginTop: 'auto',
|
|
67
|
+
'& .MuiButtonBase-root': {
|
|
68
|
+
'&:hover, &:active': {
|
|
69
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
'& .MuiCardMedia-root': {
|
|
74
|
+
height: theme.spacing(17)
|
|
75
|
+
},
|
|
76
|
+
'& .SCLoyaltyProgramDetail-prize-points': {
|
|
77
|
+
marginTop: theme.spacing(2),
|
|
78
|
+
'& .MuiChip-root': {
|
|
79
|
+
backgroundColor: theme.palette.secondary.main,
|
|
80
|
+
'& .MuiChip-label': {
|
|
81
|
+
fontSize: '1.143rem',
|
|
82
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
83
|
+
color: theme.palette.common.white
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
'& .SCLoyaltyProgramDetail-not-requestable': {
|
|
87
|
+
backgroundColor: theme.palette.error.main
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
'& .SCLoyaltyProgramDetail-end-section': {
|
|
92
|
+
boxShadow: 'none',
|
|
93
|
+
'& .MuiButtonBase-root': {
|
|
94
|
+
padding: 0
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
'& .SCLoyaltyProgramDetailPointsList-root': {
|
|
98
|
+
marginTop: theme.spacing(1),
|
|
99
|
+
marginBottom: theme.spacing(5),
|
|
100
|
+
'& .MuiGrid-item': {
|
|
101
|
+
paddingTop: theme.spacing(1),
|
|
102
|
+
'& .SCLoyaltyProgramDetailPointsList-element': {
|
|
103
|
+
display: 'flex',
|
|
104
|
+
justifyContent: 'space-between',
|
|
105
|
+
marginBottom: theme.spacing(1)
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
6
109
|
})
|
|
7
110
|
}
|
|
8
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCLoyaltyProgramDetail.js","sourceRoot":"","sources":["../../../src/components/SCLoyaltyProgramDetail.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,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
'& .SCEditor-placeholder': {
|
|
843
|
+
top: any;
|
|
844
|
+
left: number;
|
|
845
|
+
};
|
|
846
|
+
'& .SCEditor-actions': {
|
|
847
|
+
bottom: any;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
841
850
|
};
|
|
842
851
|
'& .SCComposer-medias, & .SCComposer-audience, & .SCComposer-block': {
|
|
843
852
|
margin: any;
|
|
@@ -1098,11 +1107,262 @@ declare const theme: {
|
|
|
1098
1107
|
SCEditor: {
|
|
1099
1108
|
styleOverrides: {
|
|
1100
1109
|
root: ({ theme }: any) => {
|
|
1110
|
+
boxSizing: string;
|
|
1111
|
+
padding: any;
|
|
1112
|
+
position: string;
|
|
1113
|
+
cursor: string;
|
|
1114
|
+
'& .SCEditor-content': {
|
|
1115
|
+
position: string;
|
|
1116
|
+
outline: string;
|
|
1117
|
+
minHeight: number;
|
|
1118
|
+
paddingBottom: number;
|
|
1119
|
+
'& > p': {
|
|
1120
|
+
margin: number;
|
|
1121
|
+
};
|
|
1122
|
+
'& img': {
|
|
1123
|
+
margin: number;
|
|
1124
|
+
'&.focused': {
|
|
1125
|
+
outline: string;
|
|
1126
|
+
userSelect: string;
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
"& mention": {
|
|
1130
|
+
backgroundColor: any;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
'& .SCEditor-placeholder': {
|
|
1134
|
+
position: string;
|
|
1135
|
+
top: any;
|
|
1136
|
+
left: any;
|
|
1137
|
+
color: any;
|
|
1138
|
+
};
|
|
1101
1139
|
'& .SCEditor-actions': {
|
|
1140
|
+
position: string;
|
|
1141
|
+
bottom: number;
|
|
1142
|
+
right: any;
|
|
1143
|
+
color: any;
|
|
1102
1144
|
'& .MuiIcon-root': {
|
|
1103
1145
|
fontSize: string;
|
|
1104
1146
|
};
|
|
1105
1147
|
};
|
|
1148
|
+
'& .image-resizer': {
|
|
1149
|
+
display: string;
|
|
1150
|
+
width: number;
|
|
1151
|
+
height: number;
|
|
1152
|
+
position: string;
|
|
1153
|
+
backgroundColor: string;
|
|
1154
|
+
border: string;
|
|
1155
|
+
'&.image-resizer-n': {
|
|
1156
|
+
top: number;
|
|
1157
|
+
left: string;
|
|
1158
|
+
cursor: string;
|
|
1159
|
+
};
|
|
1160
|
+
'&.image-resizer-ne': {
|
|
1161
|
+
top: number;
|
|
1162
|
+
right: number;
|
|
1163
|
+
cursor: string;
|
|
1164
|
+
};
|
|
1165
|
+
'&.image-resizer-e': {
|
|
1166
|
+
top: string;
|
|
1167
|
+
right: number;
|
|
1168
|
+
cursor: string;
|
|
1169
|
+
};
|
|
1170
|
+
'&.image-resizerSe': {
|
|
1171
|
+
bottom: number;
|
|
1172
|
+
right: number;
|
|
1173
|
+
cursor: string;
|
|
1174
|
+
};
|
|
1175
|
+
'&.image-resizerS': {
|
|
1176
|
+
bottom: number;
|
|
1177
|
+
left: string;
|
|
1178
|
+
cursor: string;
|
|
1179
|
+
};
|
|
1180
|
+
'&.image-resizerSw': {
|
|
1181
|
+
bottom: number;
|
|
1182
|
+
left: number;
|
|
1183
|
+
cursor: string;
|
|
1184
|
+
};
|
|
1185
|
+
'&.image-resizerW': {
|
|
1186
|
+
bottom: string;
|
|
1187
|
+
left: number;
|
|
1188
|
+
cursor: string;
|
|
1189
|
+
};
|
|
1190
|
+
'&.image-resizer-nw': {
|
|
1191
|
+
top: number;
|
|
1192
|
+
left: number;
|
|
1193
|
+
cursor: string;
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
'& .SCEditor-ltr': {
|
|
1197
|
+
textAlign: string;
|
|
1198
|
+
};
|
|
1199
|
+
'& .SCEditor-rtl': {
|
|
1200
|
+
textAlign: string;
|
|
1201
|
+
};
|
|
1202
|
+
'& .SCEditor-paragraph': {
|
|
1203
|
+
margin: number;
|
|
1204
|
+
position: string;
|
|
1205
|
+
};
|
|
1206
|
+
'& .SCEditor-quote': {
|
|
1207
|
+
margin: number;
|
|
1208
|
+
marginLeft: any;
|
|
1209
|
+
marginBottom: any;
|
|
1210
|
+
color: any;
|
|
1211
|
+
borderLeftColor: any;
|
|
1212
|
+
borderLeftWidth: any;
|
|
1213
|
+
borderLeftStyle: string;
|
|
1214
|
+
paddingLeft: any;
|
|
1215
|
+
};
|
|
1216
|
+
'& .SCEditor-h1': {
|
|
1217
|
+
fontSize: string;
|
|
1218
|
+
color: any;
|
|
1219
|
+
fontWeight: any;
|
|
1220
|
+
margin: number;
|
|
1221
|
+
};
|
|
1222
|
+
'& .SCEditor-h2': {
|
|
1223
|
+
fontSize: string;
|
|
1224
|
+
color: any;
|
|
1225
|
+
fontWeight: any;
|
|
1226
|
+
margin: number;
|
|
1227
|
+
textTransform: string;
|
|
1228
|
+
};
|
|
1229
|
+
'& .SCEditor-h3': {
|
|
1230
|
+
fontSize: string;
|
|
1231
|
+
margin: number;
|
|
1232
|
+
fontWeight: any;
|
|
1233
|
+
textTransform: string;
|
|
1234
|
+
};
|
|
1235
|
+
'& .SCEditor-code': {
|
|
1236
|
+
backgroundColor: string;
|
|
1237
|
+
fontFamily: string;
|
|
1238
|
+
display: string;
|
|
1239
|
+
padding: any;
|
|
1240
|
+
lineHeight: number;
|
|
1241
|
+
fontSize: number;
|
|
1242
|
+
margin: any;
|
|
1243
|
+
tabSize: number;
|
|
1244
|
+
overflowX: string;
|
|
1245
|
+
position: string;
|
|
1246
|
+
'&:before': {
|
|
1247
|
+
content: string;
|
|
1248
|
+
position: string;
|
|
1249
|
+
backgroundColor: string;
|
|
1250
|
+
left: number;
|
|
1251
|
+
top: number;
|
|
1252
|
+
borderRight: string;
|
|
1253
|
+
padding: any;
|
|
1254
|
+
color: string;
|
|
1255
|
+
whiteSpace: string;
|
|
1256
|
+
textAlign: string;
|
|
1257
|
+
minWidth: number;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
'& .SCEditor-textBold': {
|
|
1261
|
+
fontWeight: string;
|
|
1262
|
+
};
|
|
1263
|
+
'& .SCEditor-textItalic': {
|
|
1264
|
+
fontStyle: string;
|
|
1265
|
+
};
|
|
1266
|
+
'& .SCEditor-textUnderline': {
|
|
1267
|
+
textDecoration: string;
|
|
1268
|
+
};
|
|
1269
|
+
'& .SCEditor-textStrikethrough': {
|
|
1270
|
+
textDecoration: string;
|
|
1271
|
+
};
|
|
1272
|
+
'& .SCEditor-textUnderlineStrikethrough': {
|
|
1273
|
+
textDecoration: string;
|
|
1274
|
+
};
|
|
1275
|
+
'& .SCEditor-textSubscript': {
|
|
1276
|
+
fontSize: string;
|
|
1277
|
+
verticalAlign: string;
|
|
1278
|
+
};
|
|
1279
|
+
'& .SCEditor-textSuperscript': {
|
|
1280
|
+
fontSize: string;
|
|
1281
|
+
verticalAlign: string;
|
|
1282
|
+
};
|
|
1283
|
+
'& .SCEditor-link': {
|
|
1284
|
+
color: any;
|
|
1285
|
+
textDecoration: string;
|
|
1286
|
+
};
|
|
1287
|
+
'& .SCEditor-link:hover': {
|
|
1288
|
+
textDecoration: string;
|
|
1289
|
+
cursor: string;
|
|
1290
|
+
};
|
|
1291
|
+
'& .SCEditor-ol1': {
|
|
1292
|
+
padding: number;
|
|
1293
|
+
margin: number;
|
|
1294
|
+
};
|
|
1295
|
+
'& .SCEditor-ol2': {
|
|
1296
|
+
padding: number;
|
|
1297
|
+
margin: number;
|
|
1298
|
+
listStyleType: string;
|
|
1299
|
+
};
|
|
1300
|
+
'& .SCEditor-ol3': {
|
|
1301
|
+
padding: number;
|
|
1302
|
+
margin: number;
|
|
1303
|
+
listStyleType: string;
|
|
1304
|
+
};
|
|
1305
|
+
'& .SCEditor-ol4': {
|
|
1306
|
+
padding: number;
|
|
1307
|
+
margin: number;
|
|
1308
|
+
listStyleType: string;
|
|
1309
|
+
};
|
|
1310
|
+
'& .SCEditor-ol5': {
|
|
1311
|
+
padding: number;
|
|
1312
|
+
margin: number;
|
|
1313
|
+
listStyleType: string;
|
|
1314
|
+
};
|
|
1315
|
+
'& .SCEditor-ul': {
|
|
1316
|
+
padding: number;
|
|
1317
|
+
margin: number;
|
|
1318
|
+
};
|
|
1319
|
+
'& .SCEditor-listItem': {
|
|
1320
|
+
margin: string;
|
|
1321
|
+
};
|
|
1322
|
+
'& .SCEditor-nestedListItem': {
|
|
1323
|
+
listStyleType: string;
|
|
1324
|
+
};
|
|
1325
|
+
'& .SCEditor-nestedListItem:before, & .SCEditor-nestedListItem:after': {
|
|
1326
|
+
display: string;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
toolbar: ({ theme }: any) => {
|
|
1330
|
+
'& .SCEditor-placeholder': {
|
|
1331
|
+
top: any;
|
|
1332
|
+
left: any;
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
SCEditorFloatingLinkPlugin: {
|
|
1338
|
+
styleOverrides: {
|
|
1339
|
+
root: ({ theme }: any) => {
|
|
1340
|
+
zIndex: number;
|
|
1341
|
+
'& .MuiPaper-root': {
|
|
1342
|
+
borderRadius: number;
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
SCEditorToolbarPlugin: {
|
|
1348
|
+
styleOverrides: {
|
|
1349
|
+
root: ({ theme }: any) => {
|
|
1350
|
+
display: string;
|
|
1351
|
+
flexDirection: string;
|
|
1352
|
+
alignItems: string;
|
|
1353
|
+
justifyContent: string;
|
|
1354
|
+
marginBottom: any;
|
|
1355
|
+
padding: any;
|
|
1356
|
+
overflowX: string;
|
|
1357
|
+
MsOverflowStyle: string;
|
|
1358
|
+
scrollbarWidth: string;
|
|
1359
|
+
'&::-webkit-scrollbar': {
|
|
1360
|
+
display: string;
|
|
1361
|
+
};
|
|
1362
|
+
'& .MuiTextField-root': {
|
|
1363
|
+
minWidth: number;
|
|
1364
|
+
margin: any;
|
|
1365
|
+
};
|
|
1106
1366
|
};
|
|
1107
1367
|
};
|
|
1108
1368
|
};
|
|
@@ -1372,7 +1632,7 @@ declare const theme: {
|
|
|
1372
1632
|
SCFeedObjectSkeleton: {
|
|
1373
1633
|
styleOverrides: {
|
|
1374
1634
|
root: ({ theme }: any) => {
|
|
1375
|
-
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail': {
|
|
1635
|
+
'&.SCFeedObjectSkeleton-preview, &.SCFeedObjectSkeleton-detail, &.SCFeedObjectSkeleton-search': {
|
|
1376
1636
|
[x: number]: {
|
|
1377
1637
|
borderRadius: any;
|
|
1378
1638
|
};
|
|
@@ -1559,6 +1819,108 @@ declare const theme: {
|
|
|
1559
1819
|
root: ({ theme }: any) => {
|
|
1560
1820
|
boxShadow: string;
|
|
1561
1821
|
borderRadius: number;
|
|
1822
|
+
'& .SCLoyaltyProgramDetail-title': {
|
|
1823
|
+
[x: number]: {
|
|
1824
|
+
textAlign: string;
|
|
1825
|
+
};
|
|
1826
|
+
fontWeight: any;
|
|
1827
|
+
fontSize: string;
|
|
1828
|
+
marginBottom: any;
|
|
1829
|
+
};
|
|
1830
|
+
'& .SCLoyaltyProgramDetail-section-title': {
|
|
1831
|
+
fontWeight: any;
|
|
1832
|
+
fontSize: string;
|
|
1833
|
+
marginBottom: any;
|
|
1834
|
+
};
|
|
1835
|
+
'& .SCLoyaltyProgramDetail-section-info': {
|
|
1836
|
+
[x: number]: {
|
|
1837
|
+
marginBottom: any;
|
|
1838
|
+
};
|
|
1839
|
+
marginBottom: any;
|
|
1840
|
+
};
|
|
1841
|
+
'& .SCLoyaltyProgramDetail-user-points': {
|
|
1842
|
+
marginLeft: any;
|
|
1843
|
+
backgroundColor: any;
|
|
1844
|
+
'& .MuiChip-label': {
|
|
1845
|
+
fontSize: string;
|
|
1846
|
+
fontWeight: any;
|
|
1847
|
+
color: any;
|
|
1848
|
+
padding: any;
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1851
|
+
'& .SCLoyaltyProgramDetail-prize-section': {
|
|
1852
|
+
'& .MuiGrid-item': {
|
|
1853
|
+
[x: number]: {
|
|
1854
|
+
marginBottom: any;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
'& .SCLoyaltyProgramDetail-card': {
|
|
1859
|
+
[x: number]: {
|
|
1860
|
+
borderRadius: number;
|
|
1861
|
+
height: string;
|
|
1862
|
+
};
|
|
1863
|
+
boxShadow: string;
|
|
1864
|
+
display: string;
|
|
1865
|
+
flexDirection: string;
|
|
1866
|
+
justifyContent: string;
|
|
1867
|
+
alignItems: string;
|
|
1868
|
+
height: any;
|
|
1869
|
+
'& .MuiCardContent-root': {
|
|
1870
|
+
display: string;
|
|
1871
|
+
flexDirection: string;
|
|
1872
|
+
justifyContent: string;
|
|
1873
|
+
alignItems: string;
|
|
1874
|
+
'& .SCLoyaltyProgramDetail-card-content': {
|
|
1875
|
+
height: any;
|
|
1876
|
+
overflow: string;
|
|
1877
|
+
textOverflow: string;
|
|
1878
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
'& .MuiCardActions-root': {
|
|
1881
|
+
marginTop: string;
|
|
1882
|
+
'& .MuiButtonBase-root': {
|
|
1883
|
+
'&:hover, &:active': {
|
|
1884
|
+
backgroundColor: string;
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
'& .MuiCardMedia-root': {
|
|
1889
|
+
height: any;
|
|
1890
|
+
};
|
|
1891
|
+
'& .SCLoyaltyProgramDetail-prize-points': {
|
|
1892
|
+
marginTop: any;
|
|
1893
|
+
'& .MuiChip-root': {
|
|
1894
|
+
backgroundColor: any;
|
|
1895
|
+
'& .MuiChip-label': {
|
|
1896
|
+
fontSize: string;
|
|
1897
|
+
fontWeight: any;
|
|
1898
|
+
color: any;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
'& .SCLoyaltyProgramDetail-not-requestable': {
|
|
1902
|
+
backgroundColor: any;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
'& .SCLoyaltyProgramDetail-end-section': {
|
|
1907
|
+
boxShadow: string;
|
|
1908
|
+
'& .MuiButtonBase-root': {
|
|
1909
|
+
padding: number;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
'& .SCLoyaltyProgramDetailPointsList-root': {
|
|
1913
|
+
marginTop: any;
|
|
1914
|
+
marginBottom: any;
|
|
1915
|
+
'& .MuiGrid-item': {
|
|
1916
|
+
paddingTop: any;
|
|
1917
|
+
'& .SCLoyaltyProgramDetailPointsList-element': {
|
|
1918
|
+
display: string;
|
|
1919
|
+
justifyContent: string;
|
|
1920
|
+
marginBottom: any;
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1562
1924
|
};
|
|
1563
1925
|
};
|
|
1564
1926
|
};
|