@selfcommunity/react-theme-default 0.1.0-alpha.112 → 0.1.0-alpha.114
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/SCChangePictureButton.d.ts +10 -0
- package/lib/cjs/components/SCChangePictureButton.d.ts.map +1 -0
- package/lib/cjs/components/SCChangePictureButton.js +12 -0
- package/lib/cjs/components/SCChangePictureButton.js.map +1 -0
- package/lib/cjs/components/SCChangePictureDialog.d.ts +16 -0
- package/lib/cjs/components/SCChangePictureDialog.d.ts.map +1 -0
- package/lib/cjs/components/SCChangePictureDialog.js +20 -0
- package/lib/cjs/components/SCChangePictureDialog.js.map +1 -0
- package/lib/cjs/components/SCEditor.d.ts +11 -10
- package/lib/cjs/components/SCEditor.d.ts.map +1 -1
- package/lib/cjs/components/SCEditor.js +14 -13
- package/lib/cjs/components/SCEditor.js.map +1 -1
- package/lib/cjs/components/SCFeedObject.d.ts +85 -1
- package/lib/cjs/components/SCFeedObject.d.ts.map +1 -1
- package/lib/cjs/components/SCFeedObject.js +85 -1
- package/lib/cjs/components/SCFeedObject.js.map +1 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.d.ts +4 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/cjs/components/SCLoyaltyProgramDetail.js +5 -2
- package/lib/cjs/components/SCLoyaltyProgramDetail.js.map +1 -1
- package/lib/cjs/components/SCPlatformWidget.d.ts +9 -0
- package/lib/cjs/components/SCPlatformWidget.d.ts.map +1 -0
- package/lib/cjs/components/SCPlatformWidget.js +11 -0
- package/lib/cjs/components/SCPlatformWidget.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/cjs/index.d.ts +129 -15
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +7 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/SCChangePictureButton.d.ts +10 -0
- package/lib/esm/components/SCChangePictureButton.d.ts.map +1 -0
- package/lib/esm/components/SCChangePictureButton.js +10 -0
- package/lib/esm/components/SCChangePictureButton.js.map +1 -0
- package/lib/esm/components/SCChangePictureDialog.d.ts +16 -0
- package/lib/esm/components/SCChangePictureDialog.d.ts.map +1 -0
- package/lib/esm/components/SCChangePictureDialog.js +18 -0
- package/lib/esm/components/SCChangePictureDialog.js.map +1 -0
- package/lib/esm/components/SCEditor.d.ts +11 -10
- package/lib/esm/components/SCEditor.d.ts.map +1 -1
- package/lib/esm/components/SCEditor.js +14 -13
- package/lib/esm/components/SCEditor.js.map +1 -1
- package/lib/esm/components/SCFeedObject.d.ts +85 -1
- package/lib/esm/components/SCFeedObject.d.ts.map +1 -1
- package/lib/esm/components/SCFeedObject.js +85 -1
- package/lib/esm/components/SCFeedObject.js.map +1 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.d.ts +4 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/esm/components/SCLoyaltyProgramDetail.js +5 -2
- package/lib/esm/components/SCLoyaltyProgramDetail.js.map +1 -1
- package/lib/esm/components/SCPlatformWidget.d.ts +9 -0
- package/lib/esm/components/SCPlatformWidget.d.ts.map +1 -0
- package/lib/esm/components/SCPlatformWidget.js +9 -0
- package/lib/esm/components/SCPlatformWidget.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.js +1 -1
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/esm/index.d.ts +129 -15
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +7 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1155,7 +1155,7 @@ declare const theme: {
|
|
|
1155
1155
|
width: number;
|
|
1156
1156
|
height: number;
|
|
1157
1157
|
position: string;
|
|
1158
|
-
backgroundColor:
|
|
1158
|
+
backgroundColor: any;
|
|
1159
1159
|
border: string;
|
|
1160
1160
|
'&.image-resizer-n': {
|
|
1161
1161
|
top: number;
|
|
@@ -1198,6 +1198,14 @@ declare const theme: {
|
|
|
1198
1198
|
cursor: string;
|
|
1199
1199
|
};
|
|
1200
1200
|
};
|
|
1201
|
+
'& hr': {
|
|
1202
|
+
cursor: string;
|
|
1203
|
+
margin: string;
|
|
1204
|
+
'&.selected': {
|
|
1205
|
+
outline: string;
|
|
1206
|
+
userSelect: string;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1201
1209
|
'& .SCEditor-ltr': {
|
|
1202
1210
|
textAlign: string;
|
|
1203
1211
|
};
|
|
@@ -1229,13 +1237,12 @@ declare const theme: {
|
|
|
1229
1237
|
color: any;
|
|
1230
1238
|
fontWeight: any;
|
|
1231
1239
|
margin: number;
|
|
1232
|
-
textTransform: string;
|
|
1233
1240
|
};
|
|
1234
1241
|
'& .SCEditor-h3': {
|
|
1235
1242
|
fontSize: string;
|
|
1236
|
-
|
|
1243
|
+
color: any;
|
|
1237
1244
|
fontWeight: any;
|
|
1238
|
-
|
|
1245
|
+
margin: number;
|
|
1239
1246
|
};
|
|
1240
1247
|
'& .SCEditor-textBold': {
|
|
1241
1248
|
fontWeight: string;
|
|
@@ -1299,12 +1306,6 @@ declare const theme: {
|
|
|
1299
1306
|
'& .SCEditor-listItem': {
|
|
1300
1307
|
margin: string;
|
|
1301
1308
|
};
|
|
1302
|
-
'& .SCEditor-nestedListItem': {
|
|
1303
|
-
listStyleType: string;
|
|
1304
|
-
};
|
|
1305
|
-
'& .SCEditor-nestedListItem:before, & .SCEditor-nestedListItem:after': {
|
|
1306
|
-
display: string;
|
|
1307
|
-
};
|
|
1308
1309
|
};
|
|
1309
1310
|
toolbar: ({ theme }: any) => {
|
|
1310
1311
|
'& .SCEditor-placeholder': {
|
|
@@ -1461,12 +1462,96 @@ declare const theme: {
|
|
|
1461
1462
|
'& > :first-of-type': {
|
|
1462
1463
|
padding: any;
|
|
1463
1464
|
};
|
|
1465
|
+
'& hr': {
|
|
1466
|
+
margin: string;
|
|
1467
|
+
};
|
|
1464
1468
|
'& a': {
|
|
1469
|
+
color: any;
|
|
1470
|
+
textDecoration: string;
|
|
1465
1471
|
'&:hover': {
|
|
1466
1472
|
textDecoration: string;
|
|
1467
|
-
|
|
1473
|
+
cursor: string;
|
|
1468
1474
|
};
|
|
1469
1475
|
};
|
|
1476
|
+
'& blockquote': {
|
|
1477
|
+
margin: number;
|
|
1478
|
+
marginLeft: any;
|
|
1479
|
+
marginBottom: any;
|
|
1480
|
+
color: any;
|
|
1481
|
+
borderLeftColor: any;
|
|
1482
|
+
borderLeftWidth: any;
|
|
1483
|
+
borderLeftStyle: string;
|
|
1484
|
+
paddingLeft: any;
|
|
1485
|
+
};
|
|
1486
|
+
'& h1': {
|
|
1487
|
+
fontSize: string;
|
|
1488
|
+
color: any;
|
|
1489
|
+
fontWeight: any;
|
|
1490
|
+
margin: number;
|
|
1491
|
+
};
|
|
1492
|
+
'& h2': {
|
|
1493
|
+
fontSize: string;
|
|
1494
|
+
color: any;
|
|
1495
|
+
fontWeight: any;
|
|
1496
|
+
margin: number;
|
|
1497
|
+
};
|
|
1498
|
+
'& h3': {
|
|
1499
|
+
fontSize: string;
|
|
1500
|
+
color: any;
|
|
1501
|
+
fontWeight: any;
|
|
1502
|
+
margin: number;
|
|
1503
|
+
};
|
|
1504
|
+
'& b': {
|
|
1505
|
+
fontWeight: string;
|
|
1506
|
+
};
|
|
1507
|
+
'& i': {
|
|
1508
|
+
fontStyle: string;
|
|
1509
|
+
};
|
|
1510
|
+
'& u': {
|
|
1511
|
+
textDecoration: string;
|
|
1512
|
+
};
|
|
1513
|
+
'& s': {
|
|
1514
|
+
textDecoration: string;
|
|
1515
|
+
};
|
|
1516
|
+
'& sub': {
|
|
1517
|
+
fontSize: string;
|
|
1518
|
+
verticalAlign: string;
|
|
1519
|
+
};
|
|
1520
|
+
'& sup': {
|
|
1521
|
+
fontSize: string;
|
|
1522
|
+
verticalAlign: string;
|
|
1523
|
+
};
|
|
1524
|
+
'& ol': {
|
|
1525
|
+
padding: number;
|
|
1526
|
+
margin: number;
|
|
1527
|
+
};
|
|
1528
|
+
'& ol ol': {
|
|
1529
|
+
padding: number;
|
|
1530
|
+
margin: number;
|
|
1531
|
+
listStyleType: string;
|
|
1532
|
+
};
|
|
1533
|
+
'& ol ol ol': {
|
|
1534
|
+
padding: number;
|
|
1535
|
+
margin: number;
|
|
1536
|
+
listStyleType: string;
|
|
1537
|
+
};
|
|
1538
|
+
'& ol ol ol ol': {
|
|
1539
|
+
padding: number;
|
|
1540
|
+
margin: number;
|
|
1541
|
+
listStyleType: string;
|
|
1542
|
+
};
|
|
1543
|
+
'& ol ol ol ol ol': {
|
|
1544
|
+
padding: number;
|
|
1545
|
+
margin: number;
|
|
1546
|
+
listStyleType: string;
|
|
1547
|
+
};
|
|
1548
|
+
'& ul': {
|
|
1549
|
+
padding: number;
|
|
1550
|
+
margin: number;
|
|
1551
|
+
};
|
|
1552
|
+
'& li': {
|
|
1553
|
+
margin: string;
|
|
1554
|
+
};
|
|
1470
1555
|
};
|
|
1471
1556
|
};
|
|
1472
1557
|
'& .SCFeedObject-actions-section': {
|
|
@@ -1586,9 +1671,6 @@ declare const theme: {
|
|
|
1586
1671
|
};
|
|
1587
1672
|
'& .SCFeedObject-snippet-content': {
|
|
1588
1673
|
fontSize: string;
|
|
1589
|
-
/**
|
|
1590
|
-
* Style fragments - Imports - End
|
|
1591
|
-
*/
|
|
1592
1674
|
marginBottom: any;
|
|
1593
1675
|
};
|
|
1594
1676
|
'& .SCFeedObject-activity-at': {
|
|
@@ -1905,10 +1987,13 @@ declare const theme: {
|
|
|
1905
1987
|
justifyContent: string;
|
|
1906
1988
|
alignItems: string;
|
|
1907
1989
|
'& .SCLoyaltyProgramDetail-card-content': {
|
|
1908
|
-
|
|
1990
|
+
paddingTop: any;
|
|
1909
1991
|
maxHeight: any;
|
|
1910
1992
|
overflow: string;
|
|
1911
1993
|
textOverflow: string;
|
|
1994
|
+
display: string;
|
|
1995
|
+
'-webkitBoxOrient': string;
|
|
1996
|
+
'-webkitLineClamp': string;
|
|
1912
1997
|
};
|
|
1913
1998
|
};
|
|
1914
1999
|
'& .MuiCardActions-root': {
|
|
@@ -3334,6 +3419,35 @@ declare const theme: {
|
|
|
3334
3419
|
};
|
|
3335
3420
|
};
|
|
3336
3421
|
};
|
|
3422
|
+
SCPlatformWidget: {
|
|
3423
|
+
styleOverrides: {
|
|
3424
|
+
root: ({ theme }: any) => {
|
|
3425
|
+
padding: any;
|
|
3426
|
+
};
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
SCChangePictureButton: {
|
|
3430
|
+
styleOverrides: {
|
|
3431
|
+
root: ({ theme }: any) => {
|
|
3432
|
+
padding: any;
|
|
3433
|
+
minWidth: string;
|
|
3434
|
+
};
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
SCChangePictureDialog: {
|
|
3438
|
+
styleOverrides: {
|
|
3439
|
+
root: ({ theme }: any) => {
|
|
3440
|
+
'& .SCChangePictureDialog-image-item': {
|
|
3441
|
+
'& .MuiImageListItemBar-actionIcon, .MuiIconButton-root': {
|
|
3442
|
+
color: any;
|
|
3443
|
+
};
|
|
3444
|
+
'& .SCChangePictureDialog-primary': {
|
|
3445
|
+
border: string;
|
|
3446
|
+
};
|
|
3447
|
+
};
|
|
3448
|
+
};
|
|
3449
|
+
};
|
|
3450
|
+
};
|
|
3337
3451
|
};
|
|
3338
3452
|
selfcommunity: {
|
|
3339
3453
|
user: {
|
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;AAC5B,OAAO,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JV,CAAC;AACF,eAAe,KAAK,CAAC"}
|
package/lib/cjs/index.js
CHANGED
|
@@ -102,6 +102,9 @@ const SCEditorToolbarPlugin_1 = __importDefault(require("./components/SCEditorTo
|
|
|
102
102
|
const SCEditorFloatingLinkPlugin_1 = __importDefault(require("./components/SCEditorFloatingLinkPlugin"));
|
|
103
103
|
const SCCommentObjectReply_1 = __importDefault(require("./components/SCCommentObjectReply"));
|
|
104
104
|
const SCFooter_1 = __importDefault(require("./components/SCFooter"));
|
|
105
|
+
const SCPlatformWidget_1 = __importDefault(require("./components/SCPlatformWidget"));
|
|
106
|
+
const SCChangePictureButton_1 = __importDefault(require("./components/SCChangePictureButton"));
|
|
107
|
+
const SCChangePictureDialog_1 = __importDefault(require("./components/SCChangePictureDialog"));
|
|
105
108
|
/**
|
|
106
109
|
* Style fragments - Imports - End
|
|
107
110
|
*/
|
|
@@ -243,7 +246,10 @@ const theme = {
|
|
|
243
246
|
SCPrivateMessageEditor: SCPrivateMessageEditor_1.default,
|
|
244
247
|
SCPrivateMessageComponentSkeleton: SCPrivateMessageComponentSkeleton_1.default,
|
|
245
248
|
SCPrivateMessageThreadSkeleton: SCPrivateMessageThreadSkeleton_1.default,
|
|
246
|
-
SCPrivateMessageThreadItemDialog: SCPrivateMessageThreadItemDialog_1.default
|
|
249
|
+
SCPrivateMessageThreadItemDialog: SCPrivateMessageThreadItemDialog_1.default,
|
|
250
|
+
SCPlatformWidget: SCPlatformWidget_1.default,
|
|
251
|
+
SCChangePictureButton: SCChangePictureButton_1.default,
|
|
252
|
+
SCChangePictureDialog: SCChangePictureDialog_1.default
|
|
247
253
|
},
|
|
248
254
|
selfcommunity: {
|
|
249
255
|
user: {
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,8BAA4B;AAC5B,uCAAqC;AAErC;;GAEG;AACH,qEAA6C;AAC7C,6EAAqD;AACrD,iGAAyE;AACzE,qEAA6C;AAC7C,qFAA6D;AAC7D,6FAAqE;AACrE,yEAAiD;AACjD,2FAAmE;AACnE,iGAAyE;AACzE,uFAA+D;AAC/D,6EAAqD;AACrD,iEAAyC;AACzC,uEAA+C;AAC/C,uEAA+C;AAC/C,qGAA6E;AAC7E,yEAAiD;AACjD,qFAA6D;AAC7D,iGAAyE;AACzE,6FAAqE;AACrE,qFAA6D;AAC7D,2FAAmE;AACnE,yFAAiE;AACjE,+FAAuE;AACvE,yGAAiF;AACjF,mFAA2D;AAC3D,yHAAiG;AACjG,6FAAqE;AACrE,yGAAiF;AACjF,6EAAqD;AACrD,6FAAqE;AACrE,iFAAyD;AACzD,6EAAqD;AACrD,iGAAyE;AACzE,iHAAyF;AACzF,uGAA+E;AAC/E,uEAA+C;AAC/C,6EAAqD;AACrD,mEAA2C;AAC3C,yEAAiD;AACjD,+EAAuD;AACvD,qGAA6E;AAC7E,+EAAuD;AACvD,iEAAyC;AACzC,iGAAyE;AACzE,iHAAyF;AACzF,qFAA6D;AAC7D,uEAA+C;AAC/C,iGAAyE;AACzE,mFAA2D;AAC3D,iFAAyD;AACzD,iGAAyE;AACzE,mGAA2E;AAC3E,uEAA+C;AAC/C,2FAAmE;AACnE,6FAAqE;AACrE,uGAA+E;AAC/E,yFAAiE;AACjE,uEAA+C;AAC/C,2GAAmF;AACnF,iGAAyE;AACzE,yGAAiF;AACjF,qGAA6E;AAC7E,iGAAyE;AACzE,2FAAmE;AACnE,yFAAiE;AACjE,iFAAyD;AACzD,yGAAiF;AACjF,iHAAyF;AACzF,uHAA+F;AAC/F,iHAAyF;AACzF,qHAA6F;AAC7F,yEAAiD;AACjD,iFAAyD;AACzD,qFAA6D;AAC7D,mFAA2D;AAC3D,+EAAuD;AACvD,6EAAqD;AACrD,6FAAqE;AACrE,qFAA6D;AAC7D,yEAAiD;AACjD,+FAAuE;AACvE,yEAAiD;AACjD,iGAAyE;AACzE,iHAAyF;AACzF,qFAA6D;AAC7D,yEAAiD;AACjD,iFAAyD;AACzD,uFAA+D;AAC/D,6EAAqD;AACrD,6FAAqE;AACrE,+FAAuE;AACvE,yGAAiF;AACjF,6FAAqE;AACrE,qEAA6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,8BAA4B;AAC5B,uCAAqC;AAErC;;GAEG;AACH,qEAA6C;AAC7C,6EAAqD;AACrD,iGAAyE;AACzE,qEAA6C;AAC7C,qFAA6D;AAC7D,6FAAqE;AACrE,yEAAiD;AACjD,2FAAmE;AACnE,iGAAyE;AACzE,uFAA+D;AAC/D,6EAAqD;AACrD,iEAAyC;AACzC,uEAA+C;AAC/C,uEAA+C;AAC/C,qGAA6E;AAC7E,yEAAiD;AACjD,qFAA6D;AAC7D,iGAAyE;AACzE,6FAAqE;AACrE,qFAA6D;AAC7D,2FAAmE;AACnE,yFAAiE;AACjE,+FAAuE;AACvE,yGAAiF;AACj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,EAAhB,0BAAgB;QAChB,iBAAiB,EAAjB,2BAAiB;QACjB,oBAAoB,EAApB,8BAAoB;QACpB,aAAa,EAAb,uBAAa;QACb,sBAAsB,EAAtB,gCAAsB;QACtB,8BAA8B,EAA9B,wCAA8B;QAC9B,MAAM,EAAN,gBAAM;QACN,sBAAsB,EAAtB,gCAAsB;QACtB,cAAc,EAAd,wBAAc;QACd,UAAU,EAAV,oBAAU;QACV,gBAAgB,EAAhB,0BAAgB;QAChB,mBAAmB,EAAnB,6BAAmB;QACnB,iBAAiB,EAAjB,2BAAiB;QACjB,qBAAqB,EAArB,+BAAqB;QACrB,YAAY,EAAZ,sBAAY;QACZ,YAAY,EAAZ,sBAAY;QACZ,oBAAoB,EAApB,8BAAoB;QACpB,QAAQ,EAAR,kBAAQ;QACR,2BAA2B,EAA3B,qCAA2B;QAC3B,wBAAwB,EAAxB,kCAAwB;QACxB,sBAAsB,EAAtB,gCAAsB;QACtB,0BAA0B,EAA1B,oCAA0B;QAC1B,sBAAsB,EAAtB,gCAAsB;QACtB,iCAAiC,EAAjC,2CAAiC;QACjC,8BAA8B,EAA9B,wCAA8B;QAC9B,gCAAgC,EAAhC,0CAAgC;QAChC,gBAAgB,EAAhB,0BAAgB;QAChB,qBAAqB,EAArB,+BAAqB;QACrB,qBAAqB,EAArB,+BAAqB;KACtB;IACD,aAAa,EAAE;QACb,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,EAAE;gBACd,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,GAAG;aAChB;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,UAAU,EAAE,EAAE;aACf;SACF;KACF;CACF,CAAC;AACF,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCChangePictureButton.d.ts","sourceRoot":"","sources":["../../../src/components/SCChangePictureButton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;CAKtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCChangePictureButton.js","sourceRoot":"","sources":["../../../src/components/SCChangePictureButton.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YACzB,QAAQ,EAAE,MAAM;SACjB,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCChangePictureDialog-image-item': {
|
|
5
|
+
'& .MuiImageListItemBar-actionIcon, .MuiIconButton-root': {
|
|
6
|
+
color: any;
|
|
7
|
+
};
|
|
8
|
+
'& .SCChangePictureDialog-primary': {
|
|
9
|
+
border: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default Component;
|
|
16
|
+
//# sourceMappingURL=SCChangePictureDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCChangePictureDialog.d.ts","sourceRoot":"","sources":["../../../src/components/SCChangePictureDialog.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;CAatB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
// padding: theme.spacing(1),
|
|
5
|
+
// minWidth: 'auto'
|
|
6
|
+
'& .SCChangePictureDialog-image-item': {
|
|
7
|
+
'& .MuiImageListItemBar-actionIcon, .MuiIconButton-root': {
|
|
8
|
+
color: theme.palette.common.white
|
|
9
|
+
},
|
|
10
|
+
'& .SCChangePictureDialog-primary': {
|
|
11
|
+
border: 'solid'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
})
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export default Component;
|
|
18
|
+
//# sourceMappingURL=SCChangePictureDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCChangePictureDialog.js","sourceRoot":"","sources":["../../../src/components/SCChangePictureDialog.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,6BAA6B;YAC7B,mBAAmB;YACnB,qCAAqC,EAAE;gBACrC,wDAAwD,EAAE;oBACxD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;iBAClC;gBACD,kCAAkC,EAAE;oBAClC,MAAM,EAAE,OAAO;iBAChB;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -45,7 +45,7 @@ declare const Component: {
|
|
|
45
45
|
width: number;
|
|
46
46
|
height: number;
|
|
47
47
|
position: string;
|
|
48
|
-
backgroundColor:
|
|
48
|
+
backgroundColor: any;
|
|
49
49
|
border: string;
|
|
50
50
|
'&.image-resizer-n': {
|
|
51
51
|
top: number;
|
|
@@ -88,6 +88,14 @@ declare const Component: {
|
|
|
88
88
|
cursor: string;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
+
'& hr': {
|
|
92
|
+
cursor: string;
|
|
93
|
+
margin: string;
|
|
94
|
+
'&.selected': {
|
|
95
|
+
outline: string;
|
|
96
|
+
userSelect: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
91
99
|
'& .SCEditor-ltr': {
|
|
92
100
|
textAlign: string;
|
|
93
101
|
};
|
|
@@ -119,13 +127,12 @@ declare const Component: {
|
|
|
119
127
|
color: any;
|
|
120
128
|
fontWeight: any;
|
|
121
129
|
margin: number;
|
|
122
|
-
textTransform: string;
|
|
123
130
|
};
|
|
124
131
|
'& .SCEditor-h3': {
|
|
125
132
|
fontSize: string;
|
|
126
|
-
|
|
133
|
+
color: any;
|
|
127
134
|
fontWeight: any;
|
|
128
|
-
|
|
135
|
+
margin: number;
|
|
129
136
|
};
|
|
130
137
|
'& .SCEditor-textBold': {
|
|
131
138
|
fontWeight: string;
|
|
@@ -189,12 +196,6 @@ declare const Component: {
|
|
|
189
196
|
'& .SCEditor-listItem': {
|
|
190
197
|
margin: string;
|
|
191
198
|
};
|
|
192
|
-
'& .SCEditor-nestedListItem': {
|
|
193
|
-
listStyleType: string;
|
|
194
|
-
};
|
|
195
|
-
'& .SCEditor-nestedListItem:before, & .SCEditor-nestedListItem:after': {
|
|
196
|
-
display: string;
|
|
197
|
-
};
|
|
198
199
|
};
|
|
199
200
|
toolbar: ({ theme }: any) => {
|
|
200
201
|
'& .SCEditor-placeholder': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCEditor.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCEditor.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAqMA,GAAG;;;;;;;CAOzB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -45,7 +45,7 @@ const Component = {
|
|
|
45
45
|
width: 7,
|
|
46
46
|
height: 7,
|
|
47
47
|
position: 'absolute',
|
|
48
|
-
backgroundColor:
|
|
48
|
+
backgroundColor: theme.palette.secondary.main,
|
|
49
49
|
border: '1px solid #fff',
|
|
50
50
|
'&.image-resizer-n': {
|
|
51
51
|
top: -6,
|
|
@@ -88,6 +88,14 @@ const Component = {
|
|
|
88
88
|
cursor: 'nw-resize'
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
+
'& hr': {
|
|
92
|
+
cursor: 'pointer',
|
|
93
|
+
margin: '1em 0',
|
|
94
|
+
'&.selected': {
|
|
95
|
+
outline: `2px solid ${theme.palette.secondary.main}`,
|
|
96
|
+
userSelect: 'none'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
91
99
|
'& .SCEditor-ltr': {
|
|
92
100
|
textAlign: 'left'
|
|
93
101
|
},
|
|
@@ -104,28 +112,27 @@ const Component = {
|
|
|
104
112
|
marginBottom: theme.spacing(1),
|
|
105
113
|
color: theme.palette.text.secondary,
|
|
106
114
|
borderLeftColor: theme.palette.primary.main,
|
|
107
|
-
borderLeftWidth: theme.spacing(0.
|
|
115
|
+
borderLeftWidth: theme.spacing(0.25),
|
|
108
116
|
borderLeftStyle: 'solid',
|
|
109
117
|
paddingLeft: theme.spacing(2)
|
|
110
118
|
},
|
|
111
119
|
'& .SCEditor-h1': {
|
|
112
120
|
fontSize: '1.429rem',
|
|
113
121
|
color: theme.palette.text.primary,
|
|
114
|
-
fontWeight: theme.typography.
|
|
122
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
115
123
|
margin: 0
|
|
116
124
|
},
|
|
117
125
|
'& .SCEditor-h2': {
|
|
118
126
|
fontSize: '1.143rem',
|
|
119
127
|
color: theme.palette.text.primary,
|
|
120
128
|
fontWeight: theme.typography.fontWeightBold,
|
|
121
|
-
margin: 0
|
|
122
|
-
textTransform: 'uppercase'
|
|
129
|
+
margin: 0
|
|
123
130
|
},
|
|
124
131
|
'& .SCEditor-h3': {
|
|
125
132
|
fontSize: '1rem',
|
|
126
|
-
|
|
133
|
+
color: theme.palette.text.primary,
|
|
127
134
|
fontWeight: theme.typography.fontWeightLight,
|
|
128
|
-
|
|
135
|
+
margin: 0
|
|
129
136
|
},
|
|
130
137
|
'& .SCEditor-textBold': {
|
|
131
138
|
fontWeight: 'bold'
|
|
@@ -188,12 +195,6 @@ const Component = {
|
|
|
188
195
|
},
|
|
189
196
|
'& .SCEditor-listItem': {
|
|
190
197
|
margin: '0 32px'
|
|
191
|
-
},
|
|
192
|
-
'& .SCEditor-nestedListItem': {
|
|
193
|
-
listStyleType: 'none'
|
|
194
|
-
},
|
|
195
|
-
'& .SCEditor-nestedListItem:before, & .SCEditor-nestedListItem:after': {
|
|
196
|
-
display: 'none'
|
|
197
198
|
}
|
|
198
199
|
}),
|
|
199
200
|
toolbar: ({ theme }) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCEditor.js","sourceRoot":"","sources":["../../../src/components/SCEditor.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,MAAM;YACd,qBAAqB,EAAE;gBACrB,QAAQ,EAAE,UAAU;gBACpB,OAAO,EAAE,MAAM;gBACf,SAAS,EAAE,EAAE;gBACb,aAAa,EAAE,EAAE;gBACjB,OAAO,EAAE;oBACP,MAAM,EAAE,CAAC;iBACV;gBACD,OAAO,EAAE;oBACP,MAAM,EAAE,CAAC;oBACT,WAAW,EAAE;wBACX,OAAO,EAAE,6BAA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C,OAAO;gBACjC,cAAc,EAAE,MAAM;aACvB;YACD,wBAAwB,EAAE;gBACxB,cAAc,EAAE,WAAW;gBAC3B,MAAM,EAAE,SAAS;aAClB;YACD,iBAAiB,EAAE;gBACjB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;aACV;YACD,iBAAiB,EAAE;gBACjB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,aAAa;aAC7B;YACD,iBAAiB,EAAE;gBACjB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,aAAa;aAC7B;YACD,iBAAiB,EAAE;gBACjB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,aAAa;aAC7B;YACD,iBAAiB,EAAE;gBACjB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,aAAa;aAC7B;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,CAAC;gBACV,MAAM,EAAE,CAAC;aACV;YACD,sBAAsB,EAAE;gBACtB,MAAM,EAAE,QAAQ;aACjB;SACF,CAAC;QACF,OAAO,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YAC1B,yBAAyB,EAAE;gBACzB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACrB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aACvB;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -53,12 +53,96 @@ declare const Component: {
|
|
|
53
53
|
'& > :first-of-type': {
|
|
54
54
|
padding: any;
|
|
55
55
|
};
|
|
56
|
+
'& hr': {
|
|
57
|
+
margin: string;
|
|
58
|
+
};
|
|
56
59
|
'& a': {
|
|
60
|
+
color: any;
|
|
61
|
+
textDecoration: string;
|
|
57
62
|
'&:hover': {
|
|
58
63
|
textDecoration: string;
|
|
59
|
-
|
|
64
|
+
cursor: string;
|
|
60
65
|
};
|
|
61
66
|
};
|
|
67
|
+
'& blockquote': {
|
|
68
|
+
margin: number;
|
|
69
|
+
marginLeft: any;
|
|
70
|
+
marginBottom: any;
|
|
71
|
+
color: any;
|
|
72
|
+
borderLeftColor: any;
|
|
73
|
+
borderLeftWidth: any;
|
|
74
|
+
borderLeftStyle: string;
|
|
75
|
+
paddingLeft: any;
|
|
76
|
+
};
|
|
77
|
+
'& h1': {
|
|
78
|
+
fontSize: string;
|
|
79
|
+
color: any;
|
|
80
|
+
fontWeight: any;
|
|
81
|
+
margin: number;
|
|
82
|
+
};
|
|
83
|
+
'& h2': {
|
|
84
|
+
fontSize: string;
|
|
85
|
+
color: any;
|
|
86
|
+
fontWeight: any;
|
|
87
|
+
margin: number;
|
|
88
|
+
};
|
|
89
|
+
'& h3': {
|
|
90
|
+
fontSize: string;
|
|
91
|
+
color: any;
|
|
92
|
+
fontWeight: any;
|
|
93
|
+
margin: number;
|
|
94
|
+
};
|
|
95
|
+
'& b': {
|
|
96
|
+
fontWeight: string;
|
|
97
|
+
};
|
|
98
|
+
'& i': {
|
|
99
|
+
fontStyle: string;
|
|
100
|
+
};
|
|
101
|
+
'& u': {
|
|
102
|
+
textDecoration: string;
|
|
103
|
+
};
|
|
104
|
+
'& s': {
|
|
105
|
+
textDecoration: string;
|
|
106
|
+
};
|
|
107
|
+
'& sub': {
|
|
108
|
+
fontSize: string;
|
|
109
|
+
verticalAlign: string;
|
|
110
|
+
};
|
|
111
|
+
'& sup': {
|
|
112
|
+
fontSize: string;
|
|
113
|
+
verticalAlign: string;
|
|
114
|
+
};
|
|
115
|
+
'& ol': {
|
|
116
|
+
padding: number;
|
|
117
|
+
margin: number;
|
|
118
|
+
};
|
|
119
|
+
'& ol ol': {
|
|
120
|
+
padding: number;
|
|
121
|
+
margin: number;
|
|
122
|
+
listStyleType: string;
|
|
123
|
+
};
|
|
124
|
+
'& ol ol ol': {
|
|
125
|
+
padding: number;
|
|
126
|
+
margin: number;
|
|
127
|
+
listStyleType: string;
|
|
128
|
+
};
|
|
129
|
+
'& ol ol ol ol': {
|
|
130
|
+
padding: number;
|
|
131
|
+
margin: number;
|
|
132
|
+
listStyleType: string;
|
|
133
|
+
};
|
|
134
|
+
'& ol ol ol ol ol': {
|
|
135
|
+
padding: number;
|
|
136
|
+
margin: number;
|
|
137
|
+
listStyleType: string;
|
|
138
|
+
};
|
|
139
|
+
'& ul': {
|
|
140
|
+
padding: number;
|
|
141
|
+
margin: number;
|
|
142
|
+
};
|
|
143
|
+
'& li': {
|
|
144
|
+
margin: string;
|
|
145
|
+
};
|
|
62
146
|
};
|
|
63
147
|
};
|
|
64
148
|
'& .SCFeedObject-actions-section': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeedObject.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeedObject.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCFeedObject.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeedObject.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuRtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|