@selfcommunity/react-theme-default 0.2.0-alpha.2 → 0.2.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/MuiAppBar.js +4 -3
- package/lib/cjs/components/SCBottomNavigation.js +5 -4
- package/lib/cjs/components/SCEventForm.d.ts +8 -0
- package/lib/cjs/components/SCEventForm.js +10 -2
- package/lib/cjs/components/SCEventHeader.js +1 -1
- package/lib/cjs/components/SCFeed.d.ts +1 -3
- package/lib/cjs/components/SCFeed.js +1 -3
- package/lib/cjs/components/SCGroupActionsMenu.d.ts +26 -0
- package/lib/cjs/components/SCGroupActionsMenu.js +28 -0
- package/lib/cjs/components/SCGroupHeader.d.ts +5 -2
- package/lib/cjs/components/SCGroupHeader.js +5 -2
- package/lib/cjs/components/SCMediaLink.d.ts +47 -1
- package/lib/cjs/components/SCMediaLink.js +52 -2
- package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/cjs/components/SCNavigationToolbar.js +68 -62
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +5 -4
- package/lib/cjs/components/SCOnBoardingWidget.js +8 -6
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
- package/lib/cjs/index.d.ts +102 -14
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/MuiAppBar.js +4 -3
- package/lib/esm/components/SCBottomNavigation.js +5 -4
- package/lib/esm/components/SCEventForm.d.ts +8 -0
- package/lib/esm/components/SCEventForm.js +10 -2
- package/lib/esm/components/SCEventHeader.js +1 -1
- package/lib/esm/components/SCFeed.d.ts +1 -3
- package/lib/esm/components/SCFeed.js +1 -3
- package/lib/esm/components/SCGroupActionsMenu.d.ts +26 -0
- package/lib/esm/components/SCGroupActionsMenu.js +26 -0
- package/lib/esm/components/SCGroupHeader.d.ts +5 -2
- package/lib/esm/components/SCGroupHeader.js +5 -2
- package/lib/esm/components/SCMediaLink.d.ts +47 -1
- package/lib/esm/components/SCMediaLink.js +52 -2
- package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/esm/components/SCNavigationToolbar.js +68 -62
- package/lib/esm/components/SCOnBoardingWidget.d.ts +5 -4
- package/lib/esm/components/SCOnBoardingWidget.js +8 -6
- package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/esm/components/SCSearchAutocomplete.js +29 -21
- package/lib/esm/index.d.ts +102 -14
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -1,31 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const system_1 = require("@mui/system");
|
|
4
|
+
const styles_1 = require("@mui/material/styles");
|
|
4
5
|
const Component = {
|
|
5
6
|
styleOverrides: {
|
|
6
|
-
root: ({ theme }) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
borderColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.disabledOpacity)
|
|
17
|
-
},
|
|
18
|
-
'&:hover fieldset': {
|
|
19
|
-
borderColor: theme.palette.primary.main
|
|
20
|
-
},
|
|
21
|
-
'&.Mui-focused fieldset': {
|
|
22
|
-
borderColor: theme.palette.secondary.main
|
|
7
|
+
root: ({ theme }) => {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
9
|
+
return ({
|
|
10
|
+
'& .SCSearchAutocomplete-input': {
|
|
11
|
+
padding: theme.spacing(0, 2),
|
|
12
|
+
borderRadius: theme.shape.borderRadius,
|
|
13
|
+
'& .MuiAutocomplete-input': {
|
|
14
|
+
padding: theme.spacing(0.5, 1),
|
|
15
|
+
color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
16
|
+
}
|
|
23
17
|
},
|
|
24
|
-
'
|
|
25
|
-
|
|
18
|
+
'& .MuiInputBase-root': {
|
|
19
|
+
'& .MuiIcon-root': {
|
|
20
|
+
color: (0, styles_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
21
|
+
},
|
|
22
|
+
'& fieldset': {
|
|
23
|
+
borderColor: (0, system_1.alpha)((0, styles_1.getContrastRatio)((_f = (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.navbar) === null || _f === void 0 ? void 0 : _f.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main, theme.palette.action.disabledOpacity)
|
|
24
|
+
},
|
|
25
|
+
'&:hover fieldset': {
|
|
26
|
+
borderColor: (0, styles_1.getContrastRatio)((_h = (_g = theme.palette) === null || _g === void 0 ? void 0 : _g.navbar) === null || _h === void 0 ? void 0 : _h.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
27
|
+
},
|
|
28
|
+
'&.Mui-focused fieldset': {
|
|
29
|
+
borderColor: (0, styles_1.getContrastRatio)((_k = (_j = theme.palette) === null || _j === void 0 ? void 0 : _j.navbar) === null || _k === void 0 ? void 0 : _k.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
|
|
30
|
+
},
|
|
31
|
+
'&.Mui-focused .SCSearchAutocomplete-icon': {
|
|
32
|
+
color: (0, styles_1.getContrastRatio)((_m = (_l = theme.palette) === null || _l === void 0 ? void 0 : _l.navbar) === null || _m === void 0 ? void 0 : _m.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
|
|
33
|
+
}
|
|
26
34
|
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
29
37
|
}
|
|
30
38
|
};
|
|
31
39
|
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2042,9 +2042,7 @@ declare const theme: {
|
|
|
2042
2042
|
padding: any;
|
|
2043
2043
|
};
|
|
2044
2044
|
};
|
|
2045
|
-
'& .SCFeed-refresh': {
|
|
2046
|
-
textAlign: string;
|
|
2047
|
-
};
|
|
2045
|
+
'& .SCFeed-refresh': {};
|
|
2048
2046
|
'& .SCFeed-pagination-link': {
|
|
2049
2047
|
display: string;
|
|
2050
2048
|
};
|
|
@@ -2399,9 +2397,7 @@ declare const theme: {
|
|
|
2399
2397
|
fontWeight: any;
|
|
2400
2398
|
marginTop: any;
|
|
2401
2399
|
marginBottom: number;
|
|
2402
|
-
color: any;
|
|
2403
|
-
* Export default theme
|
|
2404
|
-
*/
|
|
2400
|
+
color: any;
|
|
2405
2401
|
'&:hover': {
|
|
2406
2402
|
color: string;
|
|
2407
2403
|
};
|
|
@@ -2912,6 +2908,31 @@ declare const theme: {
|
|
|
2912
2908
|
skeletonRoot: ({ theme }: any) => {};
|
|
2913
2909
|
};
|
|
2914
2910
|
};
|
|
2911
|
+
SCGroupActionsMenu: {
|
|
2912
|
+
styleOverrides: {
|
|
2913
|
+
root: ({ theme }: any) => {};
|
|
2914
|
+
menuRoot: ({ theme }: any) => {
|
|
2915
|
+
'& .MuiDivider-root': {
|
|
2916
|
+
margin: any;
|
|
2917
|
+
};
|
|
2918
|
+
'& .MuiIcon-root': {
|
|
2919
|
+
fontSize: string;
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
drawerRoot: ({ theme }: any) => {
|
|
2923
|
+
'& .SCGroupActionsMenu-item': {
|
|
2924
|
+
paddingTop: number;
|
|
2925
|
+
paddingBottom: number;
|
|
2926
|
+
};
|
|
2927
|
+
'& .MuiDivider-root': {
|
|
2928
|
+
margin: any;
|
|
2929
|
+
};
|
|
2930
|
+
'& .MuiIcon-root': {
|
|
2931
|
+
fontSize: string;
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
};
|
|
2915
2936
|
SCGroupAutocomplete: {
|
|
2916
2937
|
styleOverrides: {
|
|
2917
2938
|
root: ({ theme }: any) => {};
|
|
@@ -3062,10 +3083,13 @@ declare const theme: {
|
|
|
3062
3083
|
gap: any;
|
|
3063
3084
|
};
|
|
3064
3085
|
};
|
|
3065
|
-
'& .
|
|
3086
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3087
|
+
display: string;
|
|
3066
3088
|
marginLeft: string;
|
|
3067
3089
|
marginTop: any;
|
|
3068
|
-
|
|
3090
|
+
'& .SCEditGroupButton-root': {
|
|
3091
|
+
marginRight: any;
|
|
3092
|
+
};
|
|
3069
3093
|
};
|
|
3070
3094
|
'& .SCGroupSubscribeButton-root': {
|
|
3071
3095
|
marginTop: any;
|
|
@@ -4171,6 +4195,31 @@ declare const theme: {
|
|
|
4171
4195
|
margin: string;
|
|
4172
4196
|
height: number;
|
|
4173
4197
|
};
|
|
4198
|
+
'& .SCMediaLink-html-wrap': {
|
|
4199
|
+
position: string;
|
|
4200
|
+
marginLeft: any;
|
|
4201
|
+
marginRight: any;
|
|
4202
|
+
'& .SCMediaLink-html': {
|
|
4203
|
+
width: string;
|
|
4204
|
+
position: string;
|
|
4205
|
+
top: number;
|
|
4206
|
+
'& iframe': {
|
|
4207
|
+
width: string;
|
|
4208
|
+
margin: string;
|
|
4209
|
+
};
|
|
4210
|
+
};
|
|
4211
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4212
|
+
width: string;
|
|
4213
|
+
position: string;
|
|
4214
|
+
top: number;
|
|
4215
|
+
'& .SCMediaLink-html-loading': {
|
|
4216
|
+
position: string;
|
|
4217
|
+
display: string;
|
|
4218
|
+
top: string;
|
|
4219
|
+
left: string;
|
|
4220
|
+
};
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4174
4223
|
'& .SCMediaLink-thumbnail': {
|
|
4175
4224
|
[x: number]: {
|
|
4176
4225
|
maxWidth: number;
|
|
@@ -4211,12 +4260,33 @@ declare const theme: {
|
|
|
4211
4260
|
previewRoot: ({ theme }: any) => {
|
|
4212
4261
|
'& .SCMediaLink-media': {
|
|
4213
4262
|
position: string;
|
|
4214
|
-
|
|
4263
|
+
'& .SCMediaLink-html-wrap': {
|
|
4264
|
+
'& .SCMediaLink-html': {
|
|
4265
|
+
width: string;
|
|
4266
|
+
position: string;
|
|
4267
|
+
'& iframe': {
|
|
4268
|
+
width: string;
|
|
4269
|
+
margin: string;
|
|
4270
|
+
};
|
|
4271
|
+
};
|
|
4272
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4273
|
+
width: string;
|
|
4274
|
+
position: string;
|
|
4275
|
+
top: number;
|
|
4276
|
+
'& .SCMediaLink-html-loading': {
|
|
4277
|
+
position: string;
|
|
4278
|
+
display: string;
|
|
4279
|
+
top: string;
|
|
4280
|
+
left: string;
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4215
4284
|
'& .SCMediaLink-delete': {
|
|
4216
4285
|
background: any;
|
|
4217
4286
|
position: string;
|
|
4218
4287
|
right: any;
|
|
4219
4288
|
top: any;
|
|
4289
|
+
zIndex: number;
|
|
4220
4290
|
};
|
|
4221
4291
|
'&.SCMediaLink-media-video .SCMediaLink-delete': {
|
|
4222
4292
|
background: any;
|
|
@@ -4322,7 +4392,6 @@ declare const theme: {
|
|
|
4322
4392
|
paddingRight: any;
|
|
4323
4393
|
paddingBottom: number;
|
|
4324
4394
|
margin: any;
|
|
4325
|
-
color: any;
|
|
4326
4395
|
borderRadius: number;
|
|
4327
4396
|
borderBottom: string;
|
|
4328
4397
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
@@ -4362,6 +4431,9 @@ declare const theme: {
|
|
|
4362
4431
|
'& .SCNavigationToolbar-settings': {
|
|
4363
4432
|
marginLeft: number;
|
|
4364
4433
|
};
|
|
4434
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
4435
|
+
color: any;
|
|
4436
|
+
};
|
|
4365
4437
|
'& .MuiIconButton-root': {
|
|
4366
4438
|
color: any;
|
|
4367
4439
|
};
|
|
@@ -5211,17 +5283,16 @@ declare const theme: {
|
|
|
5211
5283
|
borderRadius: number;
|
|
5212
5284
|
background: string;
|
|
5213
5285
|
boxShadow: string;
|
|
5286
|
+
display: string;
|
|
5287
|
+
flexDirection: string;
|
|
5214
5288
|
};
|
|
5215
5289
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
5216
5290
|
alignSelf: string;
|
|
5217
5291
|
};
|
|
5218
5292
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
5219
|
-
|
|
5220
|
-
top: number;
|
|
5221
|
-
};
|
|
5293
|
+
position: string;
|
|
5222
5294
|
top: number;
|
|
5223
5295
|
display: string;
|
|
5224
|
-
position: string;
|
|
5225
5296
|
marginLeft: any;
|
|
5226
5297
|
'& > .MuiBadge-root > img': {
|
|
5227
5298
|
height: any;
|
|
@@ -5233,6 +5304,9 @@ declare const theme: {
|
|
|
5233
5304
|
'& .MuiBadge-badge': {
|
|
5234
5305
|
right: any;
|
|
5235
5306
|
top: any;
|
|
5307
|
+
/**
|
|
5308
|
+
* Export default theme
|
|
5309
|
+
*/
|
|
5236
5310
|
'& .SCUserAvatar-badge-content': {
|
|
5237
5311
|
width: number;
|
|
5238
5312
|
height: number;
|
|
@@ -5242,9 +5316,11 @@ declare const theme: {
|
|
|
5242
5316
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5243
5317
|
[x: number]: {
|
|
5244
5318
|
top: number;
|
|
5319
|
+
left: number;
|
|
5245
5320
|
};
|
|
5246
5321
|
top: number;
|
|
5247
5322
|
left: number;
|
|
5323
|
+
height: number;
|
|
5248
5324
|
position: string;
|
|
5249
5325
|
display: string;
|
|
5250
5326
|
marginLeft: any;
|
|
@@ -6147,9 +6223,13 @@ declare const theme: {
|
|
|
6147
6223
|
borderRadius: any;
|
|
6148
6224
|
'& .MuiAutocomplete-input': {
|
|
6149
6225
|
padding: any;
|
|
6226
|
+
color: any;
|
|
6150
6227
|
};
|
|
6151
6228
|
};
|
|
6152
6229
|
'& .MuiInputBase-root': {
|
|
6230
|
+
'& .MuiIcon-root': {
|
|
6231
|
+
color: any;
|
|
6232
|
+
};
|
|
6153
6233
|
'& fieldset': {
|
|
6154
6234
|
borderColor: string;
|
|
6155
6235
|
};
|
|
@@ -6705,6 +6785,10 @@ declare const theme: {
|
|
|
6705
6785
|
'& .SCEventForm-form': {
|
|
6706
6786
|
'& .SCEventForm-picker': {
|
|
6707
6787
|
width: string;
|
|
6788
|
+
'& .MuiFormHelperText-root': {
|
|
6789
|
+
height: number;
|
|
6790
|
+
marginTop: number;
|
|
6791
|
+
};
|
|
6708
6792
|
};
|
|
6709
6793
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
6710
6794
|
marginBottom: any;
|
|
@@ -6722,6 +6806,9 @@ declare const theme: {
|
|
|
6722
6806
|
alignItems: string;
|
|
6723
6807
|
justifyContent: string;
|
|
6724
6808
|
gap: any;
|
|
6809
|
+
'& .MuiInputBase-root': {
|
|
6810
|
+
paddingLeft: any;
|
|
6811
|
+
};
|
|
6725
6812
|
};
|
|
6726
6813
|
'& .SCEventForm-error': {
|
|
6727
6814
|
color: any;
|
|
@@ -6767,6 +6854,7 @@ declare const theme: {
|
|
|
6767
6854
|
};
|
|
6768
6855
|
};
|
|
6769
6856
|
'& .SCEventForm-event-address-root': {
|
|
6857
|
+
marginTop: any;
|
|
6770
6858
|
backgroundColor: any;
|
|
6771
6859
|
borderRadius: number;
|
|
6772
6860
|
'& .SCEventForm-event-address-tabs': {
|
package/lib/cjs/index.js
CHANGED
|
@@ -84,6 +84,7 @@ const SCFeedObjectMediaPreview_1 = tslib_1.__importDefault(require("./components
|
|
|
84
84
|
const SCFeedUpdatesWidget_1 = tslib_1.__importDefault(require("./components/SCFeedUpdatesWidget"));
|
|
85
85
|
const SCFooter_1 = tslib_1.__importDefault(require("./components/SCFooter"));
|
|
86
86
|
const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
|
|
87
|
+
const SCGroupActionsMenu_1 = tslib_1.__importDefault(require("./components/SCGroupActionsMenu"));
|
|
87
88
|
const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
|
|
88
89
|
const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
|
|
89
90
|
const SCGroupForm_1 = tslib_1.__importDefault(require("./components/SCGroupForm"));
|
|
@@ -293,6 +294,7 @@ const theme = {
|
|
|
293
294
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
294
295
|
SCFooter: SCFooter_1.default,
|
|
295
296
|
SCGroup: SCGroup_1.default,
|
|
297
|
+
SCGroupActionsMenu: SCGroupActionsMenu_1.default,
|
|
296
298
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
297
299
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
298
300
|
SCGroupForm: SCGroupForm_1.default,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => {
|
|
4
|
-
var _a, _b;
|
|
5
|
+
var _a, _b, _c, _d;
|
|
5
6
|
return ({
|
|
6
|
-
color: theme.palette.text.primary,
|
|
7
|
-
backgroundColor: (
|
|
7
|
+
color: getContrastRatio((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.text.primary,
|
|
8
|
+
backgroundColor: (_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main
|
|
8
9
|
});
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => {
|
|
4
|
-
var _a, _b;
|
|
5
|
+
var _a, _b, _c, _d;
|
|
5
6
|
return ({
|
|
6
7
|
backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main,
|
|
7
8
|
'& .SCBottomNavigation-action': {
|
|
8
9
|
fontSize: '1.57rem',
|
|
9
|
-
color: theme.palette.primary.main,
|
|
10
|
+
color: getContrastRatio((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main,
|
|
10
11
|
borderTop: `1px solid transparent`,
|
|
11
12
|
minWidth: 56,
|
|
12
13
|
'&.Mui-selected, &:hover': {
|
|
@@ -17,8 +18,8 @@ const Component = {
|
|
|
17
18
|
'&.Mui-selected, &:hover': {
|
|
18
19
|
color: theme.palette.secondary.main,
|
|
19
20
|
borderTop: '0 none'
|
|
20
|
-
}
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
22
23
|
},
|
|
23
24
|
'&.SCBottomNavigation-ios': {
|
|
24
25
|
paddingBottom: '15px'
|
|
@@ -20,6 +20,10 @@ declare const Component: {
|
|
|
20
20
|
'& .SCEventForm-form': {
|
|
21
21
|
'& .SCEventForm-picker': {
|
|
22
22
|
width: string;
|
|
23
|
+
'& .MuiFormHelperText-root': {
|
|
24
|
+
height: number;
|
|
25
|
+
marginTop: number;
|
|
26
|
+
};
|
|
23
27
|
};
|
|
24
28
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
25
29
|
marginBottom: any;
|
|
@@ -37,6 +41,9 @@ declare const Component: {
|
|
|
37
41
|
alignItems: string;
|
|
38
42
|
justifyContent: string;
|
|
39
43
|
gap: any;
|
|
44
|
+
'& .MuiInputBase-root': {
|
|
45
|
+
paddingLeft: any;
|
|
46
|
+
};
|
|
40
47
|
};
|
|
41
48
|
'& .SCEventForm-error': {
|
|
42
49
|
color: any;
|
|
@@ -82,6 +89,7 @@ declare const Component: {
|
|
|
82
89
|
};
|
|
83
90
|
};
|
|
84
91
|
'& .SCEventForm-event-address-root': {
|
|
92
|
+
marginTop: any;
|
|
85
93
|
backgroundColor: any;
|
|
86
94
|
borderRadius: number;
|
|
87
95
|
'& .SCEventForm-event-address-tabs': {
|
|
@@ -20,7 +20,11 @@ const Component = {
|
|
|
20
20
|
},
|
|
21
21
|
'& .SCEventForm-form': {
|
|
22
22
|
'& .SCEventForm-picker': {
|
|
23
|
-
width: '50%'
|
|
23
|
+
width: '50%',
|
|
24
|
+
'& .MuiFormHelperText-root': {
|
|
25
|
+
height: 0,
|
|
26
|
+
marginTop: 0
|
|
27
|
+
}
|
|
24
28
|
},
|
|
25
29
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
26
30
|
marginBottom: theme.spacing(2)
|
|
@@ -37,7 +41,10 @@ const Component = {
|
|
|
37
41
|
display: 'flex',
|
|
38
42
|
alignItems: 'center',
|
|
39
43
|
justifyContent: 'space-between',
|
|
40
|
-
gap: theme.spacing(1)
|
|
44
|
+
gap: theme.spacing(1),
|
|
45
|
+
'& .MuiInputBase-root': {
|
|
46
|
+
paddingLeft: theme.spacing(0.5)
|
|
47
|
+
}
|
|
41
48
|
},
|
|
42
49
|
'& .SCEventForm-error': {
|
|
43
50
|
color: theme.palette.error.main
|
|
@@ -83,6 +90,7 @@ const Component = {
|
|
|
83
90
|
}
|
|
84
91
|
},
|
|
85
92
|
'& .SCEventForm-event-address-root': {
|
|
93
|
+
marginTop: theme.spacing(2),
|
|
86
94
|
backgroundColor: theme.palette.grey['A200'],
|
|
87
95
|
borderRadius: 5,
|
|
88
96
|
'& .SCEventForm-event-address-tabs': {
|
|
@@ -92,7 +92,7 @@ const Component = {
|
|
|
92
92
|
borderBottom: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`,
|
|
93
93
|
marginTop: theme.spacing(1),
|
|
94
94
|
'& .SCBaseItemButton-content': {
|
|
95
|
-
paddingLeft: theme.spacing(
|
|
95
|
+
paddingLeft: theme.spacing(1)
|
|
96
96
|
},
|
|
97
97
|
'& .SCBaseItemButton-actions': {
|
|
98
98
|
maxWidth: 'none',
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
menuRoot: ({ theme }: any) => {
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: any;
|
|
7
|
+
};
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
drawerRoot: ({ theme }: any) => {
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: any;
|
|
19
|
+
};
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
menuRoot: ({ theme }) => ({
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: theme.spacing(1)
|
|
7
|
+
},
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: '15px'
|
|
10
|
+
}
|
|
11
|
+
}),
|
|
12
|
+
drawerRoot: ({ theme }) => ({
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: 0,
|
|
15
|
+
paddingBottom: 0
|
|
16
|
+
},
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: theme.spacing(2)
|
|
19
|
+
},
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: '15px'
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -40,10 +40,13 @@ declare const Component: {
|
|
|
40
40
|
gap: any;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: string;
|
|
44
45
|
marginLeft: string;
|
|
45
46
|
marginTop: any;
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: any;
|
|
49
|
+
};
|
|
47
50
|
};
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: any;
|
|
@@ -40,10 +40,13 @@ const Component = {
|
|
|
40
40
|
gap: theme.spacing(0.5)
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: 'flex',
|
|
44
45
|
marginLeft: 'auto',
|
|
45
46
|
marginTop: theme.spacing(-4.25),
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: theme.spacing(1)
|
|
49
|
+
}
|
|
47
50
|
},
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: theme.spacing(1)
|
|
@@ -11,6 +11,31 @@ declare const Component: {
|
|
|
11
11
|
margin: string;
|
|
12
12
|
height: number;
|
|
13
13
|
};
|
|
14
|
+
'& .SCMediaLink-html-wrap': {
|
|
15
|
+
position: string;
|
|
16
|
+
marginLeft: any;
|
|
17
|
+
marginRight: any;
|
|
18
|
+
'& .SCMediaLink-html': {
|
|
19
|
+
width: string;
|
|
20
|
+
position: string;
|
|
21
|
+
top: number;
|
|
22
|
+
'& iframe': {
|
|
23
|
+
width: string;
|
|
24
|
+
margin: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'& .SCMediaLink-html-placeholder': {
|
|
28
|
+
width: string;
|
|
29
|
+
position: string;
|
|
30
|
+
top: number;
|
|
31
|
+
'& .SCMediaLink-html-loading': {
|
|
32
|
+
position: string;
|
|
33
|
+
display: string;
|
|
34
|
+
top: string;
|
|
35
|
+
left: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
14
39
|
'& .SCMediaLink-thumbnail': {
|
|
15
40
|
[x: number]: {
|
|
16
41
|
maxWidth: number;
|
|
@@ -51,12 +76,33 @@ declare const Component: {
|
|
|
51
76
|
previewRoot: ({ theme }: any) => {
|
|
52
77
|
'& .SCMediaLink-media': {
|
|
53
78
|
position: string;
|
|
54
|
-
|
|
79
|
+
'& .SCMediaLink-html-wrap': {
|
|
80
|
+
'& .SCMediaLink-html': {
|
|
81
|
+
width: string;
|
|
82
|
+
position: string;
|
|
83
|
+
'& iframe': {
|
|
84
|
+
width: string;
|
|
85
|
+
margin: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
'& .SCMediaLink-html-placeholder': {
|
|
89
|
+
width: string;
|
|
90
|
+
position: string;
|
|
91
|
+
top: number;
|
|
92
|
+
'& .SCMediaLink-html-loading': {
|
|
93
|
+
position: string;
|
|
94
|
+
display: string;
|
|
95
|
+
top: string;
|
|
96
|
+
left: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
55
100
|
'& .SCMediaLink-delete': {
|
|
56
101
|
background: any;
|
|
57
102
|
position: string;
|
|
58
103
|
right: any;
|
|
59
104
|
top: any;
|
|
105
|
+
zIndex: number;
|
|
60
106
|
};
|
|
61
107
|
'&.SCMediaLink-media-video .SCMediaLink-delete': {
|
|
62
108
|
background: any;
|