@selfcommunity/react-theme-default 0.5.0-alpha.2 → 0.5.0-alpha.21
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/SCCategoryHeader.d.ts +4 -0
- package/lib/cjs/components/SCCategoryHeader.js +4 -0
- package/lib/cjs/components/SCComposer.d.ts +14 -4
- package/lib/cjs/components/SCComposer.js +18 -5
- package/lib/cjs/components/SCCourse.d.ts +4 -0
- package/lib/cjs/components/SCCourse.js +4 -0
- package/lib/cjs/components/SCDefaultDrawerContent.d.ts +8 -0
- package/lib/cjs/components/SCDefaultDrawerContent.js +8 -0
- package/lib/cjs/components/SCEvent.d.ts +2 -0
- package/lib/cjs/components/SCEvent.js +3 -1
- package/lib/cjs/components/SCFeedObject.d.ts +10 -0
- package/lib/cjs/components/SCFeedObject.js +10 -0
- package/lib/cjs/components/SCFooter.d.ts +1 -0
- package/lib/cjs/components/SCFooter.js +1 -0
- package/lib/cjs/components/SCFooterWidget.d.ts +10 -0
- package/lib/cjs/components/SCFooterWidget.js +12 -0
- package/lib/cjs/components/SCMediaFile.d.ts +6 -7
- package/lib/cjs/components/SCMediaFile.js +7 -8
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +3 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +6 -3
- package/lib/cjs/components/SCPdfPreview.d.ts +4 -0
- package/lib/cjs/components/SCPdfPreview.js +4 -0
- package/lib/cjs/components/SCUserAutocomplete.d.ts +18 -0
- package/lib/cjs/components/SCUserAutocomplete.js +20 -0
- package/lib/cjs/components/SCVoteAudienceButton.js +2 -2
- package/lib/cjs/components/SCVoteButton.d.ts +1 -1
- package/lib/cjs/components/SCVoteButton.js +2 -2
- package/lib/cjs/index.d.ts +87 -18
- package/lib/cjs/index.js +5 -1
- package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
- package/lib/esm/components/SCCategoryHeader.js +4 -0
- package/lib/esm/components/SCComposer.d.ts +14 -4
- package/lib/esm/components/SCComposer.js +18 -5
- package/lib/esm/components/SCCourse.d.ts +4 -0
- package/lib/esm/components/SCCourse.js +4 -0
- package/lib/esm/components/SCDefaultDrawerContent.d.ts +8 -0
- package/lib/esm/components/SCDefaultDrawerContent.js +8 -0
- package/lib/esm/components/SCEvent.d.ts +2 -0
- package/lib/esm/components/SCEvent.js +3 -1
- package/lib/esm/components/SCFeedObject.d.ts +10 -0
- package/lib/esm/components/SCFeedObject.js +10 -0
- package/lib/esm/components/SCFooter.d.ts +1 -0
- package/lib/esm/components/SCFooter.js +1 -0
- package/lib/esm/components/SCFooterWidget.d.ts +10 -0
- package/lib/esm/components/SCFooterWidget.js +10 -0
- package/lib/esm/components/SCMediaFile.d.ts +6 -7
- package/lib/esm/components/SCMediaFile.js +7 -8
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +3 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +6 -3
- package/lib/esm/components/SCPdfPreview.d.ts +4 -0
- package/lib/esm/components/SCPdfPreview.js +4 -0
- package/lib/esm/components/SCUserAutocomplete.d.ts +18 -0
- package/lib/esm/components/SCUserAutocomplete.js +18 -0
- package/lib/esm/components/SCVoteAudienceButton.js +2 -2
- package/lib/esm/components/SCVoteButton.d.ts +1 -1
- package/lib/esm/components/SCVoteButton.js +2 -2
- package/lib/esm/index.d.ts +87 -18
- package/lib/esm/index.js +5 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -898,6 +898,10 @@ declare const theme: {
|
|
|
898
898
|
fontWeight: any;
|
|
899
899
|
marginBottom: string;
|
|
900
900
|
};
|
|
901
|
+
'& .SCCategoryHeader-tags': {
|
|
902
|
+
display: string;
|
|
903
|
+
justifyContent: string;
|
|
904
|
+
};
|
|
901
905
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
902
906
|
textAlign: string;
|
|
903
907
|
marginBottom: any;
|
|
@@ -1370,9 +1374,6 @@ declare const theme: {
|
|
|
1370
1374
|
};
|
|
1371
1375
|
};
|
|
1372
1376
|
'& .MuiDialogContent-root': {
|
|
1373
|
-
[x: number]: {
|
|
1374
|
-
overflowY: string;
|
|
1375
|
-
};
|
|
1376
1377
|
margin: string;
|
|
1377
1378
|
padding: any;
|
|
1378
1379
|
height: string;
|
|
@@ -1418,6 +1419,14 @@ declare const theme: {
|
|
|
1418
1419
|
zIndex: number;
|
|
1419
1420
|
backgroundColor: any;
|
|
1420
1421
|
borderTop: string;
|
|
1422
|
+
'& .SCComposer-selected-action': {
|
|
1423
|
+
display: string;
|
|
1424
|
+
alignItems: string;
|
|
1425
|
+
'& .SCComposer-action-selected-icon': {
|
|
1426
|
+
marginLeft: any;
|
|
1427
|
+
fontSize: any;
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1421
1430
|
};
|
|
1422
1431
|
'& .SCComposer-general-error': {
|
|
1423
1432
|
marginBottom: any;
|
|
@@ -1425,7 +1434,12 @@ declare const theme: {
|
|
|
1425
1434
|
};
|
|
1426
1435
|
};
|
|
1427
1436
|
};
|
|
1428
|
-
attributesRoot: () => {
|
|
1437
|
+
attributesRoot: ({ theme }: any) => {
|
|
1438
|
+
'& .MuiChip-root': {
|
|
1439
|
+
marginRight: any;
|
|
1440
|
+
marginTop: any;
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1429
1443
|
contentDiscussionRoot: ({ theme }: any) => {
|
|
1430
1444
|
'& .SCComposer-content-discussion-title': {
|
|
1431
1445
|
'& .MuiInputBase-root': {
|
|
@@ -1875,6 +1889,10 @@ declare const theme: {
|
|
|
1875
1889
|
'& .SCBaseItemButton-actions': {
|
|
1876
1890
|
marginRight: any;
|
|
1877
1891
|
};
|
|
1892
|
+
'& .SCCourse-snippet-privacy': {
|
|
1893
|
+
flexDirection: string;
|
|
1894
|
+
alignItems: string;
|
|
1895
|
+
};
|
|
1878
1896
|
};
|
|
1879
1897
|
previewRoot: ({ theme }: any) => {
|
|
1880
1898
|
[x: number]: {
|
|
@@ -3179,6 +3197,14 @@ declare const theme: {
|
|
|
3179
3197
|
fontSize: number;
|
|
3180
3198
|
};
|
|
3181
3199
|
};
|
|
3200
|
+
'& .MuiAccordion-root': {
|
|
3201
|
+
'& .MuiAccordionSummary-content': {
|
|
3202
|
+
marginBottom: any;
|
|
3203
|
+
};
|
|
3204
|
+
'& .MuiAccordionDetails-root, .MuiList-root': {
|
|
3205
|
+
paddingTop: number;
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3182
3208
|
};
|
|
3183
3209
|
};
|
|
3184
3210
|
};
|
|
@@ -4066,6 +4092,15 @@ declare const theme: {
|
|
|
4066
4092
|
opacity: number;
|
|
4067
4093
|
};
|
|
4068
4094
|
};
|
|
4095
|
+
'& .SCFeedObject-new': {
|
|
4096
|
+
color: any;
|
|
4097
|
+
backgroundColor: string;
|
|
4098
|
+
padding: string;
|
|
4099
|
+
borderRadius: string;
|
|
4100
|
+
marginRight: string;
|
|
4101
|
+
fontSize: string;
|
|
4102
|
+
fontWeight: number;
|
|
4103
|
+
};
|
|
4069
4104
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
4070
4105
|
[x: number]: {
|
|
4071
4106
|
borderRadius: any;
|
|
@@ -4258,6 +4293,7 @@ declare const theme: {
|
|
|
4258
4293
|
};
|
|
4259
4294
|
};
|
|
4260
4295
|
'& .SCFeedObject-medias-section': {
|
|
4296
|
+
padding: any;
|
|
4261
4297
|
'& .SCFeedObjectMediaPreview-root': {
|
|
4262
4298
|
margin: any;
|
|
4263
4299
|
};
|
|
@@ -4362,6 +4398,9 @@ declare const theme: {
|
|
|
4362
4398
|
'& .SCCommentObject-skeleton-root': {
|
|
4363
4399
|
background: string;
|
|
4364
4400
|
marginTop: number;
|
|
4401
|
+
/**
|
|
4402
|
+
* Style assets - Imports - Start
|
|
4403
|
+
*/
|
|
4365
4404
|
marginBottom: string;
|
|
4366
4405
|
'& .SCBaseItem-text': {
|
|
4367
4406
|
'& .SCWidget-root': {
|
|
@@ -4386,9 +4425,7 @@ declare const theme: {
|
|
|
4386
4425
|
};
|
|
4387
4426
|
};
|
|
4388
4427
|
};
|
|
4389
|
-
};
|
|
4390
|
-
* Export default theme
|
|
4391
|
-
*/
|
|
4428
|
+
};
|
|
4392
4429
|
};
|
|
4393
4430
|
};
|
|
4394
4431
|
'&.SCFeedObject-snippet': {
|
|
@@ -4769,6 +4806,7 @@ declare const theme: {
|
|
|
4769
4806
|
display: string;
|
|
4770
4807
|
justifyContent: string;
|
|
4771
4808
|
flexDirection: string;
|
|
4809
|
+
flexWrap: string;
|
|
4772
4810
|
'& .SCFooter-item': {
|
|
4773
4811
|
padding: any;
|
|
4774
4812
|
color: any;
|
|
@@ -6476,9 +6514,6 @@ declare const theme: {
|
|
|
6476
6514
|
SCMediaFile: {
|
|
6477
6515
|
styleOverrides: {
|
|
6478
6516
|
displayRoot: ({ theme }: any) => {
|
|
6479
|
-
[x: number]: {
|
|
6480
|
-
minHeight: number;
|
|
6481
|
-
};
|
|
6482
6517
|
textAlign: string;
|
|
6483
6518
|
margin: string;
|
|
6484
6519
|
width: string;
|
|
@@ -6640,15 +6675,17 @@ declare const theme: {
|
|
|
6640
6675
|
docRoot: ({ theme }: {
|
|
6641
6676
|
theme: any;
|
|
6642
6677
|
}) => {
|
|
6643
|
-
borderRadius: string;
|
|
6644
6678
|
border: string;
|
|
6679
|
+
borderRadius: string;
|
|
6645
6680
|
padding: any;
|
|
6646
6681
|
flexDirection: string;
|
|
6647
6682
|
gap: string;
|
|
6648
|
-
'& .SCMediaFile-image': {
|
|
6649
|
-
width: string;
|
|
6650
|
-
height: string;
|
|
6683
|
+
'& .SCMediaFile-image-wrapper': {
|
|
6651
6684
|
flexShrink: number;
|
|
6685
|
+
padding: number;
|
|
6686
|
+
'&:hover': {
|
|
6687
|
+
backgroundColor: string;
|
|
6688
|
+
};
|
|
6652
6689
|
};
|
|
6653
6690
|
'& .SCMediaFile-text-wrapper': {
|
|
6654
6691
|
[x: number]: {
|
|
@@ -8016,9 +8053,6 @@ declare const theme: {
|
|
|
8016
8053
|
alignItems: string;
|
|
8017
8054
|
marginRight: any;
|
|
8018
8055
|
'& .MuiIcon-root': {
|
|
8019
|
-
/**
|
|
8020
|
-
* Style assets - Imports - Start
|
|
8021
|
-
*/
|
|
8022
8056
|
margin: any;
|
|
8023
8057
|
};
|
|
8024
8058
|
};
|
|
@@ -9018,6 +9052,23 @@ declare const theme: {
|
|
|
9018
9052
|
};
|
|
9019
9053
|
};
|
|
9020
9054
|
};
|
|
9055
|
+
SCUserAutocomplete: {
|
|
9056
|
+
styleOverrides: {
|
|
9057
|
+
root: ({ theme }: any) => {
|
|
9058
|
+
'& .SCUserAutocomplete-info': {
|
|
9059
|
+
[x: number]: {
|
|
9060
|
+
alignItems: string;
|
|
9061
|
+
};
|
|
9062
|
+
marginTop: any;
|
|
9063
|
+
display: string;
|
|
9064
|
+
'& .MuiIcon-root': {
|
|
9065
|
+
marginRight: any;
|
|
9066
|
+
};
|
|
9067
|
+
};
|
|
9068
|
+
};
|
|
9069
|
+
autocompleteRoot: ({ theme }: any) => {};
|
|
9070
|
+
};
|
|
9071
|
+
};
|
|
9021
9072
|
SCUserCategoriesFollowedWidget: {
|
|
9022
9073
|
styleOverrides: {
|
|
9023
9074
|
root: ({ theme }: any) => {};
|
|
@@ -9744,6 +9795,8 @@ declare const theme: {
|
|
|
9744
9795
|
};
|
|
9745
9796
|
'& .SCEvent-snippet-secondary': {
|
|
9746
9797
|
color: any;
|
|
9798
|
+
display: string;
|
|
9799
|
+
alignItems: string;
|
|
9747
9800
|
};
|
|
9748
9801
|
};
|
|
9749
9802
|
};
|
|
@@ -10833,7 +10886,7 @@ declare const theme: {
|
|
|
10833
10886
|
};
|
|
10834
10887
|
};
|
|
10835
10888
|
};
|
|
10836
|
-
popperRoot: (
|
|
10889
|
+
popperRoot: () => {
|
|
10837
10890
|
zIndex: number;
|
|
10838
10891
|
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
10839
10892
|
fontSize: string;
|
|
@@ -12142,6 +12195,9 @@ declare const theme: {
|
|
|
12142
12195
|
padding: string;
|
|
12143
12196
|
backgroundColor: string;
|
|
12144
12197
|
color: string;
|
|
12198
|
+
"& > .community-icons": {
|
|
12199
|
+
fontSize: string;
|
|
12200
|
+
};
|
|
12145
12201
|
};
|
|
12146
12202
|
"& .SCPaywallsConfigurator-product-content": {
|
|
12147
12203
|
flexGrow: number;
|
|
@@ -12220,6 +12276,7 @@ declare const theme: {
|
|
|
12220
12276
|
root: ({ theme }: any) => {
|
|
12221
12277
|
display: string;
|
|
12222
12278
|
flexDirection: string;
|
|
12279
|
+
marginTop: string;
|
|
12223
12280
|
"& .SCPdfPreview-document-pdf-wrapper": {
|
|
12224
12281
|
filter: string;
|
|
12225
12282
|
};
|
|
@@ -12239,6 +12296,9 @@ declare const theme: {
|
|
|
12239
12296
|
mixBlendMode: string;
|
|
12240
12297
|
opacity: number;
|
|
12241
12298
|
};
|
|
12299
|
+
'& .react-pdf__Page__canvas': {
|
|
12300
|
+
margin: string;
|
|
12301
|
+
};
|
|
12242
12302
|
};
|
|
12243
12303
|
};
|
|
12244
12304
|
};
|
|
@@ -12337,6 +12397,15 @@ declare const theme: {
|
|
|
12337
12397
|
};
|
|
12338
12398
|
};
|
|
12339
12399
|
};
|
|
12400
|
+
SCFooterWidget: {
|
|
12401
|
+
styleOverrides: {
|
|
12402
|
+
root: ({ theme }: any) => {
|
|
12403
|
+
'& .SCFooterWidget-content': {
|
|
12404
|
+
paddingBottom: any;
|
|
12405
|
+
};
|
|
12406
|
+
};
|
|
12407
|
+
};
|
|
12408
|
+
};
|
|
12340
12409
|
};
|
|
12341
12410
|
selfcommunity: {
|
|
12342
12411
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -187,6 +187,7 @@ const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCT
|
|
|
187
187
|
const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
|
|
188
188
|
const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
|
|
189
189
|
const SCUserAvatar_1 = tslib_1.__importDefault(require("./components/SCUserAvatar"));
|
|
190
|
+
const SCUserAutocomplete_1 = tslib_1.__importDefault(require("./components/SCUserAutocomplete"));
|
|
190
191
|
const SCUserCategoriesFollowedWidget_1 = tslib_1.__importDefault(require("./components/SCUserCategoriesFollowedWidget"));
|
|
191
192
|
const SCUserConnectionsRequestsSentWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsRequestsSentWidget"));
|
|
192
193
|
const SCUserConnectionsRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsRequestsWidget"));
|
|
@@ -221,6 +222,7 @@ const SCPaywallsConfigurator_1 = tslib_1.__importDefault(require("./components/S
|
|
|
221
222
|
const SCPdfPreview_1 = tslib_1.__importDefault(require("./components/SCPdfPreview"));
|
|
222
223
|
const SCPaymentOrders_1 = tslib_1.__importDefault(require("./components/SCPaymentOrders"));
|
|
223
224
|
const SCCheckoutHeaderInfoWidget_1 = tslib_1.__importDefault(require("./components/SCCheckoutHeaderInfoWidget"));
|
|
225
|
+
const SCFooterWidget_1 = tslib_1.__importDefault(require("./components/SCFooterWidget"));
|
|
224
226
|
/**
|
|
225
227
|
* Style fragments - Imports - End
|
|
226
228
|
*/
|
|
@@ -458,6 +460,7 @@ const theme = {
|
|
|
458
460
|
SCUser: SCUser_1.default,
|
|
459
461
|
SCUserActionIconButton: SCUserActionIconButton_1.default,
|
|
460
462
|
SCUserAvatar: SCUserAvatar_1.default,
|
|
463
|
+
SCUserAutocomplete: SCUserAutocomplete_1.default,
|
|
461
464
|
SCUserCategoriesFollowedWidget: SCUserCategoriesFollowedWidget_1.default,
|
|
462
465
|
SCUserConnectionsRequestsSentWidget: SCUserConnectionsRequestsSentWidget_1.default,
|
|
463
466
|
SCUserConnectionsRequestsWidget: SCUserConnectionsRequestsWidget_1.default,
|
|
@@ -524,7 +527,8 @@ const theme = {
|
|
|
524
527
|
SCPaywallsConfigurator: SCPaywallsConfigurator_1.default,
|
|
525
528
|
SCPdfPreview: SCPdfPreview_1.default,
|
|
526
529
|
SCPaymentOrders: SCPaymentOrders_1.default,
|
|
527
|
-
SCCheckoutHeaderInfoWidget: SCCheckoutHeaderInfoWidget_1.default
|
|
530
|
+
SCCheckoutHeaderInfoWidget: SCCheckoutHeaderInfoWidget_1.default,
|
|
531
|
+
SCFooterWidget: SCFooterWidget_1.default
|
|
528
532
|
},
|
|
529
533
|
selfcommunity: {
|
|
530
534
|
user: {
|
|
@@ -43,6 +43,10 @@ declare const Component: {
|
|
|
43
43
|
fontWeight: any;
|
|
44
44
|
marginBottom: string;
|
|
45
45
|
};
|
|
46
|
+
'& .SCCategoryHeader-tags': {
|
|
47
|
+
display: string;
|
|
48
|
+
justifyContent: string;
|
|
49
|
+
};
|
|
46
50
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
51
|
textAlign: string;
|
|
48
52
|
marginBottom: any;
|
|
@@ -43,6 +43,10 @@ const Component = {
|
|
|
43
43
|
fontWeight: theme.typography.fontWeightMedium,
|
|
44
44
|
marginBottom: `${theme.spacing(0)} !important`
|
|
45
45
|
},
|
|
46
|
+
'& .SCCategoryHeader-tags': {
|
|
47
|
+
display: 'flex',
|
|
48
|
+
justifyContent: 'center'
|
|
49
|
+
},
|
|
46
50
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
51
|
textAlign: 'center',
|
|
48
52
|
marginBottom: theme.spacing(2),
|
|
@@ -45,9 +45,6 @@ declare const Component: {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
'& .MuiDialogContent-root': {
|
|
48
|
-
[x: number]: {
|
|
49
|
-
overflowY: string;
|
|
50
|
-
};
|
|
51
48
|
margin: string;
|
|
52
49
|
padding: any;
|
|
53
50
|
height: string;
|
|
@@ -93,6 +90,14 @@ declare const Component: {
|
|
|
93
90
|
zIndex: number;
|
|
94
91
|
backgroundColor: any;
|
|
95
92
|
borderTop: string;
|
|
93
|
+
'& .SCComposer-selected-action': {
|
|
94
|
+
display: string;
|
|
95
|
+
alignItems: string;
|
|
96
|
+
'& .SCComposer-action-selected-icon': {
|
|
97
|
+
marginLeft: any;
|
|
98
|
+
fontSize: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
96
101
|
};
|
|
97
102
|
'& .SCComposer-general-error': {
|
|
98
103
|
marginBottom: any;
|
|
@@ -100,7 +105,12 @@ declare const Component: {
|
|
|
100
105
|
};
|
|
101
106
|
};
|
|
102
107
|
};
|
|
103
|
-
attributesRoot: () => {
|
|
108
|
+
attributesRoot: ({ theme }: any) => {
|
|
109
|
+
'& .MuiChip-root': {
|
|
110
|
+
marginRight: any;
|
|
111
|
+
marginTop: any;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
104
114
|
contentDiscussionRoot: ({ theme }: any) => {
|
|
105
115
|
'& .SCComposer-content-discussion-title': {
|
|
106
116
|
'& .MuiInputBase-root': {
|
|
@@ -35,9 +35,9 @@ const Component = {
|
|
|
35
35
|
margin: '45px 0',
|
|
36
36
|
padding: theme.spacing(1, 2),
|
|
37
37
|
height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
|
|
38
|
-
[theme.breakpoints.up('md')]: {
|
|
39
|
-
|
|
40
|
-
},
|
|
38
|
+
// [theme.breakpoints.up('md')]: {
|
|
39
|
+
// overflowY: 'hidden'
|
|
40
|
+
// },
|
|
41
41
|
'& .SCEditor-root': {
|
|
42
42
|
padding: theme.spacing(1, 0),
|
|
43
43
|
marginBottom: theme.spacing(3),
|
|
@@ -79,7 +79,15 @@ const Component = {
|
|
|
79
79
|
justifyContent: 'space-between',
|
|
80
80
|
zIndex: 1,
|
|
81
81
|
backgroundColor: theme.palette.background.paper,
|
|
82
|
-
borderTop: `1px solid ${theme.palette.grey[400]}
|
|
82
|
+
borderTop: `1px solid ${theme.palette.grey[400]}`,
|
|
83
|
+
'& .SCComposer-selected-action': {
|
|
84
|
+
display: 'flex',
|
|
85
|
+
alignItems: 'center',
|
|
86
|
+
'& .SCComposer-action-selected-icon': {
|
|
87
|
+
marginLeft: theme.spacing(0.5),
|
|
88
|
+
fontSize: theme.spacing(1)
|
|
89
|
+
}
|
|
90
|
+
}
|
|
83
91
|
},
|
|
84
92
|
'& .SCComposer-general-error': {
|
|
85
93
|
marginBottom: theme.spacing(2),
|
|
@@ -101,7 +109,12 @@ const Component = {
|
|
|
101
109
|
}
|
|
102
110
|
}
|
|
103
111
|
}),
|
|
104
|
-
attributesRoot: () => ({
|
|
112
|
+
attributesRoot: ({ theme }) => ({
|
|
113
|
+
'& .MuiChip-root': {
|
|
114
|
+
marginRight: theme.spacing(0.5),
|
|
115
|
+
marginTop: theme.spacing(0.5)
|
|
116
|
+
}
|
|
117
|
+
}),
|
|
105
118
|
contentDiscussionRoot: ({ theme }) => ({
|
|
106
119
|
'& .SCComposer-content-discussion-title': {
|
|
107
120
|
'& .MuiInputBase-root': {
|
|
@@ -25,6 +25,14 @@ declare const Component: {
|
|
|
25
25
|
fontSize: number;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
+
'& .MuiAccordion-root': {
|
|
29
|
+
'& .MuiAccordionSummary-content': {
|
|
30
|
+
marginBottom: any;
|
|
31
|
+
};
|
|
32
|
+
'& .MuiAccordionDetails-root, .MuiList-root': {
|
|
33
|
+
paddingTop: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
28
36
|
};
|
|
29
37
|
};
|
|
30
38
|
};
|
|
@@ -24,6 +24,14 @@ const Component = {
|
|
|
24
24
|
'& .MuiIcon-root': {
|
|
25
25
|
fontSize: 18
|
|
26
26
|
}
|
|
27
|
+
},
|
|
28
|
+
'& .MuiAccordion-root': {
|
|
29
|
+
'& .MuiAccordionSummary-content': {
|
|
30
|
+
marginBottom: theme.spacing(1.5)
|
|
31
|
+
},
|
|
32
|
+
'& .MuiAccordionDetails-root, .MuiList-root': {
|
|
33
|
+
paddingTop: 0
|
|
34
|
+
}
|
|
27
35
|
}
|
|
28
36
|
})
|
|
29
37
|
}
|
|
@@ -143,6 +143,15 @@ declare const Component: {
|
|
|
143
143
|
opacity: number;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
+
'& .SCFeedObject-new': {
|
|
147
|
+
color: any;
|
|
148
|
+
backgroundColor: string;
|
|
149
|
+
padding: string;
|
|
150
|
+
borderRadius: string;
|
|
151
|
+
marginRight: string;
|
|
152
|
+
fontSize: string;
|
|
153
|
+
fontWeight: number;
|
|
154
|
+
};
|
|
146
155
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
147
156
|
[x: number]: {
|
|
148
157
|
borderRadius: any;
|
|
@@ -335,6 +344,7 @@ declare const Component: {
|
|
|
335
344
|
};
|
|
336
345
|
};
|
|
337
346
|
'& .SCFeedObject-medias-section': {
|
|
347
|
+
padding: any;
|
|
338
348
|
'& .SCFeedObjectMediaPreview-root': {
|
|
339
349
|
margin: any;
|
|
340
350
|
};
|
|
@@ -144,6 +144,15 @@ const Component = {
|
|
|
144
144
|
opacity: 1
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
+
'& .SCFeedObject-new': {
|
|
148
|
+
color: theme.palette.common.white,
|
|
149
|
+
backgroundColor: '#fa0501',
|
|
150
|
+
padding: '0 3px',
|
|
151
|
+
borderRadius: '3px',
|
|
152
|
+
marginRight: '3px',
|
|
153
|
+
fontSize: '10px',
|
|
154
|
+
fontWeight: 600
|
|
155
|
+
},
|
|
147
156
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
148
157
|
border: `0 none`,
|
|
149
158
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
@@ -336,6 +345,7 @@ const Component = {
|
|
|
336
345
|
}
|
|
337
346
|
},
|
|
338
347
|
'& .SCFeedObject-medias-section': {
|
|
348
|
+
padding: theme.spacing(1, 0),
|
|
339
349
|
'& .SCFeedObjectMediaPreview-root': {
|
|
340
350
|
margin: theme.spacing(0, 1)
|
|
341
351
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
displayRoot: ({ theme }: any) => {
|
|
4
|
-
[x: number]: {
|
|
5
|
-
minHeight: number;
|
|
6
|
-
};
|
|
7
4
|
textAlign: string;
|
|
8
5
|
margin: string;
|
|
9
6
|
width: string;
|
|
@@ -165,15 +162,17 @@ declare const Component: {
|
|
|
165
162
|
docRoot: ({ theme }: {
|
|
166
163
|
theme: any;
|
|
167
164
|
}) => {
|
|
168
|
-
borderRadius: string;
|
|
169
165
|
border: string;
|
|
166
|
+
borderRadius: string;
|
|
170
167
|
padding: any;
|
|
171
168
|
flexDirection: string;
|
|
172
169
|
gap: string;
|
|
173
|
-
'& .SCMediaFile-image': {
|
|
174
|
-
width: string;
|
|
175
|
-
height: string;
|
|
170
|
+
'& .SCMediaFile-image-wrapper': {
|
|
176
171
|
flexShrink: number;
|
|
172
|
+
padding: number;
|
|
173
|
+
'&:hover': {
|
|
174
|
+
backgroundColor: string;
|
|
175
|
+
};
|
|
177
176
|
};
|
|
178
177
|
'& .SCMediaFile-text-wrapper': {
|
|
179
178
|
[x: number]: {
|
|
@@ -6,9 +6,6 @@ const Component = {
|
|
|
6
6
|
width: '100%',
|
|
7
7
|
position: 'relative',
|
|
8
8
|
gap: theme.spacing(2),
|
|
9
|
-
[theme.breakpoints.down('md')]: {
|
|
10
|
-
minHeight: 170
|
|
11
|
-
},
|
|
12
9
|
'& .SCMediaFile-background': {
|
|
13
10
|
backgroundSize: 'cover !important',
|
|
14
11
|
backgroundPosition: 'center !important',
|
|
@@ -163,15 +160,17 @@ const Component = {
|
|
|
163
160
|
}),
|
|
164
161
|
triggerMenuRoot: () => ({}),
|
|
165
162
|
docRoot: ({ theme }) => ({
|
|
166
|
-
borderRadius: '10px',
|
|
167
163
|
border: '1px solid #DDD',
|
|
164
|
+
borderRadius: '10px',
|
|
168
165
|
padding: theme.spacing(1),
|
|
169
166
|
flexDirection: 'row',
|
|
170
167
|
gap: '8px',
|
|
171
|
-
'& .SCMediaFile-image': {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
'& .SCMediaFile-image-wrapper': {
|
|
169
|
+
flexShrink: 0,
|
|
170
|
+
padding: 0,
|
|
171
|
+
'&:hover': {
|
|
172
|
+
backgroundColor: 'unset'
|
|
173
|
+
}
|
|
175
174
|
},
|
|
176
175
|
'& .SCMediaFile-text-wrapper': {
|
|
177
176
|
gap: '4px',
|
|
@@ -73,15 +73,18 @@ const Component = {
|
|
|
73
73
|
margin: '3px 5px 0px -1px'
|
|
74
74
|
},
|
|
75
75
|
[`& .SCPaywallsConfigurator-product-card-icon`]: {
|
|
76
|
-
width:
|
|
77
|
-
height:
|
|
76
|
+
width: 20,
|
|
77
|
+
height: 20,
|
|
78
78
|
flexShrink: 0,
|
|
79
79
|
borderRadius: '3px',
|
|
80
80
|
marginRight: theme.spacing(),
|
|
81
81
|
marginTop: '2px',
|
|
82
82
|
padding: '3px',
|
|
83
83
|
backgroundColor: 'red',
|
|
84
|
-
color: 'white'
|
|
84
|
+
color: 'white',
|
|
85
|
+
[`& > .community-icons`]: {
|
|
86
|
+
fontSize: '20px'
|
|
87
|
+
}
|
|
85
88
|
},
|
|
86
89
|
[`& .SCPaywallsConfigurator-product-content`]: {
|
|
87
90
|
flexGrow: 1,
|