@selfcommunity/react-theme-default 0.2.0-alpha.4 → 0.2.0-alpha.40
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 +5 -0
- package/lib/cjs/components/SCEventForm.js +6 -1
- package/lib/cjs/components/SCFeed.d.ts +9 -3
- package/lib/cjs/components/SCFeed.js +9 -3
- package/lib/cjs/components/SCFeedObject.d.ts +4 -0
- package/lib/cjs/components/SCFeedObject.js +4 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +10 -0
- 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/SCLightbox.d.ts +5 -0
- package/lib/cjs/components/SCLightbox.js +12 -7
- package/lib/cjs/components/SCMediaLink.d.ts +51 -1
- package/lib/cjs/components/SCMediaLink.js +52 -2
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +42 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +45 -0
- package/lib/cjs/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/cjs/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/cjs/components/SCNavigationToolbar.js +68 -62
- package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +17 -6
- package/lib/cjs/components/SCOnBoardingWidget.js +20 -8
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
- package/lib/cjs/components/SCVoteButton.d.ts +5 -3
- package/lib/cjs/components/SCVoteButton.js +6 -5
- package/lib/cjs/index.d.ts +156 -21
- package/lib/cjs/index.js +4 -0
- package/lib/esm/components/MuiAppBar.js +4 -3
- package/lib/esm/components/SCBottomNavigation.js +5 -4
- package/lib/esm/components/SCEventForm.d.ts +5 -0
- package/lib/esm/components/SCEventForm.js +6 -1
- package/lib/esm/components/SCFeed.d.ts +9 -3
- package/lib/esm/components/SCFeed.js +9 -3
- package/lib/esm/components/SCFeedObject.d.ts +4 -0
- package/lib/esm/components/SCFeedObject.js +4 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +10 -0
- 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/SCLightbox.d.ts +5 -0
- package/lib/esm/components/SCLightbox.js +12 -7
- package/lib/esm/components/SCMediaLink.d.ts +51 -1
- package/lib/esm/components/SCMediaLink.js +52 -2
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +42 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +43 -0
- package/lib/esm/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/esm/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/esm/components/SCNavigationToolbar.js +68 -62
- package/lib/esm/components/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/esm/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/esm/components/SCOnBoardingWidget.d.ts +17 -6
- package/lib/esm/components/SCOnBoardingWidget.js +20 -8
- package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/esm/components/SCSearchAutocomplete.js +29 -21
- package/lib/esm/components/SCVoteButton.d.ts +5 -3
- package/lib/esm/components/SCVoteButton.js +6 -5
- package/lib/esm/index.d.ts +156 -21
- package/lib/esm/index.js +4 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -5
- package/lib/umd/850.js +0 -2
- package/lib/umd/850.js.LICENSE.txt +0 -16
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2029,6 +2029,14 @@ declare const theme: {
|
|
|
2029
2029
|
padding: number;
|
|
2030
2030
|
marginBottom: any;
|
|
2031
2031
|
};
|
|
2032
|
+
'& .SCFeed-header-item': {
|
|
2033
|
+
animation: string;
|
|
2034
|
+
'@keyframes pulse-animation': {
|
|
2035
|
+
'0%': {
|
|
2036
|
+
opacity: number;
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2032
2040
|
};
|
|
2033
2041
|
'& .SCFeed-end': {
|
|
2034
2042
|
'& > .SCWidget-root': {
|
|
@@ -2042,9 +2050,7 @@ declare const theme: {
|
|
|
2042
2050
|
padding: any;
|
|
2043
2051
|
};
|
|
2044
2052
|
};
|
|
2045
|
-
'& .SCFeed-refresh': {
|
|
2046
|
-
textAlign: string;
|
|
2047
|
-
};
|
|
2053
|
+
'& .SCFeed-refresh': {};
|
|
2048
2054
|
'& .SCFeed-pagination-link': {
|
|
2049
2055
|
display: string;
|
|
2050
2056
|
};
|
|
@@ -2369,6 +2375,10 @@ declare const theme: {
|
|
|
2369
2375
|
'& li': {
|
|
2370
2376
|
margin: string;
|
|
2371
2377
|
};
|
|
2378
|
+
'& span span': {
|
|
2379
|
+
display: string;
|
|
2380
|
+
width: string;
|
|
2381
|
+
};
|
|
2372
2382
|
};
|
|
2373
2383
|
'& .SCFeedObject-medias-section': {
|
|
2374
2384
|
'& .SCFeedObjectMediaPreview-root': {
|
|
@@ -2399,9 +2409,7 @@ declare const theme: {
|
|
|
2399
2409
|
fontWeight: any;
|
|
2400
2410
|
marginTop: any;
|
|
2401
2411
|
marginBottom: number;
|
|
2402
|
-
color: any;
|
|
2403
|
-
* Export default theme
|
|
2404
|
-
*/
|
|
2412
|
+
color: any;
|
|
2405
2413
|
'&:hover': {
|
|
2406
2414
|
color: string;
|
|
2407
2415
|
};
|
|
@@ -2803,6 +2811,16 @@ declare const theme: {
|
|
|
2803
2811
|
paddingLeft: any;
|
|
2804
2812
|
};
|
|
2805
2813
|
};
|
|
2814
|
+
'& .SCFeedObject-detail': {
|
|
2815
|
+
'& .SCFeedObject-content': {
|
|
2816
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
2817
|
+
'& span': {
|
|
2818
|
+
display: string;
|
|
2819
|
+
width: string;
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2806
2824
|
};
|
|
2807
2825
|
skeletonRoot: ({ theme }: any) => {
|
|
2808
2826
|
marginTop: any;
|
|
@@ -2912,6 +2930,31 @@ declare const theme: {
|
|
|
2912
2930
|
skeletonRoot: ({ theme }: any) => {};
|
|
2913
2931
|
};
|
|
2914
2932
|
};
|
|
2933
|
+
SCGroupActionsMenu: {
|
|
2934
|
+
styleOverrides: {
|
|
2935
|
+
root: ({ theme }: any) => {};
|
|
2936
|
+
menuRoot: ({ theme }: any) => {
|
|
2937
|
+
'& .MuiDivider-root': {
|
|
2938
|
+
margin: any;
|
|
2939
|
+
};
|
|
2940
|
+
'& .MuiIcon-root': {
|
|
2941
|
+
fontSize: string;
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
drawerRoot: ({ theme }: any) => {
|
|
2945
|
+
'& .SCGroupActionsMenu-item': {
|
|
2946
|
+
paddingTop: number;
|
|
2947
|
+
paddingBottom: number;
|
|
2948
|
+
};
|
|
2949
|
+
'& .MuiDivider-root': {
|
|
2950
|
+
margin: any;
|
|
2951
|
+
};
|
|
2952
|
+
'& .MuiIcon-root': {
|
|
2953
|
+
fontSize: string;
|
|
2954
|
+
};
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
};
|
|
2915
2958
|
SCGroupAutocomplete: {
|
|
2916
2959
|
styleOverrides: {
|
|
2917
2960
|
root: ({ theme }: any) => {};
|
|
@@ -3062,10 +3105,13 @@ declare const theme: {
|
|
|
3062
3105
|
gap: any;
|
|
3063
3106
|
};
|
|
3064
3107
|
};
|
|
3065
|
-
'& .
|
|
3108
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3109
|
+
display: string;
|
|
3066
3110
|
marginLeft: string;
|
|
3067
3111
|
marginTop: any;
|
|
3068
|
-
|
|
3112
|
+
'& .SCEditGroupButton-root': {
|
|
3113
|
+
marginRight: any;
|
|
3114
|
+
};
|
|
3069
3115
|
};
|
|
3070
3116
|
'& .SCGroupSubscribeButton-root': {
|
|
3071
3117
|
marginTop: any;
|
|
@@ -3594,6 +3640,11 @@ declare const theme: {
|
|
|
3594
3640
|
"& .PhotoView__Photo": {
|
|
3595
3641
|
cursor: string;
|
|
3596
3642
|
maxWidth: string;
|
|
3643
|
+
WebkitUserDrag: string;
|
|
3644
|
+
userDrag: string;
|
|
3645
|
+
'@-moz-document url-prefix()': {
|
|
3646
|
+
pointerEvents: string;
|
|
3647
|
+
};
|
|
3597
3648
|
};
|
|
3598
3649
|
"& .PhotoView__Photo:active": {
|
|
3599
3650
|
cursor: string;
|
|
@@ -4171,6 +4222,33 @@ declare const theme: {
|
|
|
4171
4222
|
margin: string;
|
|
4172
4223
|
height: number;
|
|
4173
4224
|
};
|
|
4225
|
+
'& .SCMediaLink-html-wrap': {
|
|
4226
|
+
position: string;
|
|
4227
|
+
marginLeft: any;
|
|
4228
|
+
marginRight: any;
|
|
4229
|
+
'& .SCMediaLink-html': {
|
|
4230
|
+
width: string;
|
|
4231
|
+
position: string;
|
|
4232
|
+
top: number;
|
|
4233
|
+
zIndex: number;
|
|
4234
|
+
'& iframe': {
|
|
4235
|
+
width: string;
|
|
4236
|
+
margin: string;
|
|
4237
|
+
};
|
|
4238
|
+
};
|
|
4239
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4240
|
+
width: string;
|
|
4241
|
+
position: string;
|
|
4242
|
+
top: number;
|
|
4243
|
+
zIndex: number;
|
|
4244
|
+
'& .SCMediaLink-html-loading': {
|
|
4245
|
+
position: string;
|
|
4246
|
+
display: string;
|
|
4247
|
+
top: string;
|
|
4248
|
+
left: string;
|
|
4249
|
+
};
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4174
4252
|
'& .SCMediaLink-thumbnail': {
|
|
4175
4253
|
[x: number]: {
|
|
4176
4254
|
maxWidth: number;
|
|
@@ -4211,12 +4289,35 @@ declare const theme: {
|
|
|
4211
4289
|
previewRoot: ({ theme }: any) => {
|
|
4212
4290
|
'& .SCMediaLink-media': {
|
|
4213
4291
|
position: string;
|
|
4214
|
-
|
|
4292
|
+
'& .SCMediaLink-html-wrap': {
|
|
4293
|
+
'& .SCMediaLink-html': {
|
|
4294
|
+
width: string;
|
|
4295
|
+
position: string;
|
|
4296
|
+
zIndex: number;
|
|
4297
|
+
'& iframe': {
|
|
4298
|
+
width: string;
|
|
4299
|
+
margin: string;
|
|
4300
|
+
};
|
|
4301
|
+
};
|
|
4302
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4303
|
+
width: string;
|
|
4304
|
+
position: string;
|
|
4305
|
+
top: number;
|
|
4306
|
+
zIndex: number;
|
|
4307
|
+
'& .SCMediaLink-html-loading': {
|
|
4308
|
+
position: string;
|
|
4309
|
+
display: string;
|
|
4310
|
+
top: string;
|
|
4311
|
+
left: string;
|
|
4312
|
+
};
|
|
4313
|
+
};
|
|
4314
|
+
};
|
|
4215
4315
|
'& .SCMediaLink-delete': {
|
|
4216
4316
|
background: any;
|
|
4217
4317
|
position: string;
|
|
4218
4318
|
right: any;
|
|
4219
4319
|
top: any;
|
|
4320
|
+
zIndex: number;
|
|
4220
4321
|
};
|
|
4221
4322
|
'&.SCMediaLink-media-video .SCMediaLink-delete': {
|
|
4222
4323
|
background: any;
|
|
@@ -4241,14 +4342,18 @@ declare const theme: {
|
|
|
4241
4342
|
SCNavigationMenuIconButton: {
|
|
4242
4343
|
styleOverrides: {
|
|
4243
4344
|
root: ({ theme }: any) => {};
|
|
4244
|
-
|
|
4345
|
+
};
|
|
4346
|
+
};
|
|
4347
|
+
SCNavigationMenuDrawer: {
|
|
4348
|
+
styleOverrides: {
|
|
4349
|
+
root: ({ theme }: any) => {
|
|
4245
4350
|
'& .MuiDrawer-paper': {
|
|
4246
4351
|
[x: number]: {
|
|
4247
4352
|
width: any;
|
|
4248
4353
|
};
|
|
4249
4354
|
width: string;
|
|
4250
4355
|
};
|
|
4251
|
-
'& .
|
|
4356
|
+
'& .SCNavigationMenuDrawer-drawer-header': {
|
|
4252
4357
|
minHeight: any;
|
|
4253
4358
|
padding: string;
|
|
4254
4359
|
display: string;
|
|
@@ -4322,7 +4427,6 @@ declare const theme: {
|
|
|
4322
4427
|
paddingRight: any;
|
|
4323
4428
|
paddingBottom: number;
|
|
4324
4429
|
margin: any;
|
|
4325
|
-
color: any;
|
|
4326
4430
|
borderRadius: number;
|
|
4327
4431
|
borderBottom: string;
|
|
4328
4432
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
@@ -4362,6 +4466,9 @@ declare const theme: {
|
|
|
4362
4466
|
'& .SCNavigationToolbar-settings': {
|
|
4363
4467
|
marginLeft: number;
|
|
4364
4468
|
};
|
|
4469
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
4470
|
+
color: any;
|
|
4471
|
+
};
|
|
4365
4472
|
'& .MuiIconButton-root': {
|
|
4366
4473
|
color: any;
|
|
4367
4474
|
};
|
|
@@ -4411,6 +4518,9 @@ declare const theme: {
|
|
|
4411
4518
|
'& .SCNavigationToolbarMobile-logo-flex': {
|
|
4412
4519
|
flexGrow: number;
|
|
4413
4520
|
};
|
|
4521
|
+
'& .MuiIconButton-root': {
|
|
4522
|
+
color: any;
|
|
4523
|
+
};
|
|
4414
4524
|
'& h4': {
|
|
4415
4525
|
fontSize: string;
|
|
4416
4526
|
overflow: string;
|
|
@@ -4795,6 +4905,9 @@ declare const theme: {
|
|
|
4795
4905
|
width: string;
|
|
4796
4906
|
'& .SCNotification-username': {
|
|
4797
4907
|
fontWeight: number;
|
|
4908
|
+
/**
|
|
4909
|
+
* Export default theme
|
|
4910
|
+
*/
|
|
4798
4911
|
'&:hover': {
|
|
4799
4912
|
textDecoration: string;
|
|
4800
4913
|
};
|
|
@@ -5154,8 +5267,18 @@ declare const theme: {
|
|
|
5154
5267
|
display: string;
|
|
5155
5268
|
flexDirection: string;
|
|
5156
5269
|
};
|
|
5157
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
5158
|
-
|
|
5270
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
5271
|
+
position: string;
|
|
5272
|
+
display: string;
|
|
5273
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
5274
|
+
margin: any;
|
|
5275
|
+
};
|
|
5276
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
5277
|
+
position: string;
|
|
5278
|
+
top: string;
|
|
5279
|
+
marginTop: any;
|
|
5280
|
+
marginLeft: any;
|
|
5281
|
+
};
|
|
5159
5282
|
};
|
|
5160
5283
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
5161
5284
|
position: string;
|
|
@@ -5211,17 +5334,16 @@ declare const theme: {
|
|
|
5211
5334
|
borderRadius: number;
|
|
5212
5335
|
background: string;
|
|
5213
5336
|
boxShadow: string;
|
|
5337
|
+
display: string;
|
|
5338
|
+
flexDirection: string;
|
|
5214
5339
|
};
|
|
5215
5340
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
5216
5341
|
alignSelf: string;
|
|
5217
5342
|
};
|
|
5218
5343
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
5219
|
-
|
|
5220
|
-
top: number;
|
|
5221
|
-
};
|
|
5344
|
+
position: string;
|
|
5222
5345
|
top: number;
|
|
5223
5346
|
display: string;
|
|
5224
|
-
position: string;
|
|
5225
5347
|
marginLeft: any;
|
|
5226
5348
|
'& > .MuiBadge-root > img': {
|
|
5227
5349
|
height: any;
|
|
@@ -5242,9 +5364,11 @@ declare const theme: {
|
|
|
5242
5364
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5243
5365
|
[x: number]: {
|
|
5244
5366
|
top: number;
|
|
5367
|
+
left: number;
|
|
5245
5368
|
};
|
|
5246
5369
|
top: number;
|
|
5247
5370
|
left: number;
|
|
5371
|
+
height: number;
|
|
5248
5372
|
position: string;
|
|
5249
5373
|
display: string;
|
|
5250
5374
|
marginLeft: any;
|
|
@@ -6147,9 +6271,13 @@ declare const theme: {
|
|
|
6147
6271
|
borderRadius: any;
|
|
6148
6272
|
'& .MuiAutocomplete-input': {
|
|
6149
6273
|
padding: any;
|
|
6274
|
+
color: any;
|
|
6150
6275
|
};
|
|
6151
6276
|
};
|
|
6152
6277
|
'& .MuiInputBase-root': {
|
|
6278
|
+
'& .MuiIcon-root': {
|
|
6279
|
+
color: any;
|
|
6280
|
+
};
|
|
6153
6281
|
'& fieldset': {
|
|
6154
6282
|
borderColor: string;
|
|
6155
6283
|
};
|
|
@@ -6705,6 +6833,10 @@ declare const theme: {
|
|
|
6705
6833
|
'& .SCEventForm-form': {
|
|
6706
6834
|
'& .SCEventForm-picker': {
|
|
6707
6835
|
width: string;
|
|
6836
|
+
'& .MuiFormHelperText-root': {
|
|
6837
|
+
height: number;
|
|
6838
|
+
marginTop: number;
|
|
6839
|
+
};
|
|
6708
6840
|
};
|
|
6709
6841
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
6710
6842
|
marginBottom: any;
|
|
@@ -6770,6 +6902,7 @@ declare const theme: {
|
|
|
6770
6902
|
};
|
|
6771
6903
|
};
|
|
6772
6904
|
'& .SCEventForm-event-address-root': {
|
|
6905
|
+
marginTop: any;
|
|
6773
6906
|
backgroundColor: any;
|
|
6774
6907
|
borderRadius: number;
|
|
6775
6908
|
'& .SCEventForm-event-address-tabs': {
|
|
@@ -7987,9 +8120,6 @@ declare const theme: {
|
|
|
7987
8120
|
minWidth: number;
|
|
7988
8121
|
'& .MuiIcon-root': {
|
|
7989
8122
|
fontSize: string;
|
|
7990
|
-
'& img': {
|
|
7991
|
-
filter: string;
|
|
7992
|
-
};
|
|
7993
8123
|
};
|
|
7994
8124
|
'&.MuiButton-sizeSmall': {
|
|
7995
8125
|
padding: any;
|
|
@@ -7998,6 +8128,11 @@ declare const theme: {
|
|
|
7998
8128
|
};
|
|
7999
8129
|
};
|
|
8000
8130
|
};
|
|
8131
|
+
popperRoot: ({ theme }: any) => {
|
|
8132
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
8133
|
+
fontSize: string;
|
|
8134
|
+
};
|
|
8135
|
+
};
|
|
8001
8136
|
};
|
|
8002
8137
|
};
|
|
8003
8138
|
SCWidget: {
|
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"));
|
|
@@ -112,6 +113,7 @@ const SCMediaLink_1 = tslib_1.__importDefault(require("./components/SCMediaLink"
|
|
|
112
113
|
const SCMediaShare_1 = tslib_1.__importDefault(require("./components/SCMediaShare"));
|
|
113
114
|
const SCMyEventsWidget_1 = tslib_1.__importDefault(require("./components/SCMyEventsWidget"));
|
|
114
115
|
const SCNavigationMenuIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuIconButton"));
|
|
116
|
+
const SCNavigationMenuDrawer_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuDrawer"));
|
|
115
117
|
const SCNavigationSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationSettingsIconButton"));
|
|
116
118
|
const SCNavigationToolbar_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbar"));
|
|
117
119
|
const SCNavigationToolbarMobile_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbarMobile"));
|
|
@@ -293,6 +295,7 @@ const theme = {
|
|
|
293
295
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
294
296
|
SCFooter: SCFooter_1.default,
|
|
295
297
|
SCGroup: SCGroup_1.default,
|
|
298
|
+
SCGroupActionsMenu: SCGroupActionsMenu_1.default,
|
|
296
299
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
297
300
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
298
301
|
SCGroupForm: SCGroupForm_1.default,
|
|
@@ -320,6 +323,7 @@ const theme = {
|
|
|
320
323
|
SCMediaLink: SCMediaLink_1.default,
|
|
321
324
|
SCMediaShare: SCMediaShare_1.default,
|
|
322
325
|
SCNavigationMenuIconButton: SCNavigationMenuIconButton_1.default,
|
|
326
|
+
SCNavigationMenuDrawer: SCNavigationMenuDrawer_1.default,
|
|
323
327
|
SCNavigationSettingsIconButton: SCNavigationSettingsIconButton_1.default,
|
|
324
328
|
SCNavigationToolbar: SCNavigationToolbar_1.default,
|
|
325
329
|
SCNavigationToolbarMobile: SCNavigationToolbarMobile_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;
|
|
@@ -85,6 +89,7 @@ declare const Component: {
|
|
|
85
89
|
};
|
|
86
90
|
};
|
|
87
91
|
'& .SCEventForm-event-address-root': {
|
|
92
|
+
marginTop: any;
|
|
88
93
|
backgroundColor: any;
|
|
89
94
|
borderRadius: number;
|
|
90
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)
|
|
@@ -86,6 +90,7 @@ const Component = {
|
|
|
86
90
|
}
|
|
87
91
|
},
|
|
88
92
|
'& .SCEventForm-event-address-root': {
|
|
93
|
+
marginTop: theme.spacing(2),
|
|
89
94
|
backgroundColor: theme.palette.grey['A200'],
|
|
90
95
|
borderRadius: 5,
|
|
91
96
|
'& .SCEventForm-event-address-tabs': {
|
|
@@ -32,6 +32,14 @@ declare const Component: {
|
|
|
32
32
|
padding: number;
|
|
33
33
|
marginBottom: any;
|
|
34
34
|
};
|
|
35
|
+
'& .SCFeed-header-item': {
|
|
36
|
+
animation: string;
|
|
37
|
+
'@keyframes pulse-animation': {
|
|
38
|
+
'0%': {
|
|
39
|
+
opacity: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
35
43
|
};
|
|
36
44
|
'& .SCFeed-end': {
|
|
37
45
|
'& > .SCWidget-root': {
|
|
@@ -45,9 +53,7 @@ declare const Component: {
|
|
|
45
53
|
padding: any;
|
|
46
54
|
};
|
|
47
55
|
};
|
|
48
|
-
'& .SCFeed-refresh': {
|
|
49
|
-
textAlign: string;
|
|
50
|
-
};
|
|
56
|
+
'& .SCFeed-refresh': {};
|
|
51
57
|
'& .SCFeed-pagination-link': {
|
|
52
58
|
display: string;
|
|
53
59
|
};
|
|
@@ -31,6 +31,14 @@ const Component = {
|
|
|
31
31
|
'& > .SCWidget-root': {
|
|
32
32
|
padding: 0,
|
|
33
33
|
marginBottom: theme.spacing(2)
|
|
34
|
+
},
|
|
35
|
+
'& .SCFeed-header-item': {
|
|
36
|
+
animation: 'pulse-animation 2s ease-in-out',
|
|
37
|
+
'@keyframes pulse-animation': {
|
|
38
|
+
'0%': {
|
|
39
|
+
opacity: 0
|
|
40
|
+
}
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
43
|
},
|
|
36
44
|
'& .SCFeed-end': {
|
|
@@ -45,9 +53,7 @@ const Component = {
|
|
|
45
53
|
padding: theme.spacing(2)
|
|
46
54
|
}
|
|
47
55
|
},
|
|
48
|
-
'& .SCFeed-refresh': {
|
|
49
|
-
textAlign: 'center'
|
|
50
|
-
},
|
|
56
|
+
'& .SCFeed-refresh': {},
|
|
51
57
|
'& .SCFeed-pagination-link': {
|
|
52
58
|
display: 'none'
|
|
53
59
|
}
|
|
@@ -7,6 +7,16 @@ declare const Component: {
|
|
|
7
7
|
paddingLeft: any;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
+
'& .SCFeedObject-detail': {
|
|
11
|
+
'& .SCFeedObject-content': {
|
|
12
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
|
+
'& span': {
|
|
14
|
+
display: string;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
10
20
|
};
|
|
11
21
|
skeletonRoot: ({ theme }: any) => {
|
|
12
22
|
marginTop: any;
|
|
@@ -6,6 +6,16 @@ const Component = {
|
|
|
6
6
|
'& .SCCommentsObject-root h6': {
|
|
7
7
|
paddingLeft: theme.spacing(2)
|
|
8
8
|
}
|
|
9
|
+
},
|
|
10
|
+
'& .SCFeedObject-detail': {
|
|
11
|
+
'& .SCFeedObject-content': {
|
|
12
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
|
+
'& span': {
|
|
14
|
+
display: 'inline-block',
|
|
15
|
+
width: '100%'
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
9
19
|
}
|
|
10
20
|
}),
|
|
11
21
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -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;
|