@selfcommunity/react-theme-default 0.1.50-events.44 → 0.1.50-events.47

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.
Files changed (44) hide show
  1. package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
  2. package/lib/cjs/components/SCCreateEventWidget.js +54 -0
  3. package/lib/cjs/components/SCEvent.d.ts +137 -17
  4. package/lib/cjs/components/SCEvent.js +138 -18
  5. package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
  6. package/lib/cjs/components/SCEventActionsMenu.js +28 -0
  7. package/lib/cjs/components/SCEventHeader.d.ts +10 -5
  8. package/lib/cjs/components/SCEventHeader.js +11 -20
  9. package/lib/cjs/components/SCEventInfoDetails.js +1 -1
  10. package/lib/cjs/components/SCEventPartecipantsButton.d.ts +21 -1
  11. package/lib/cjs/components/SCEventPartecipantsButton.js +20 -2
  12. package/lib/cjs/components/SCMediaEvent.d.ts +10 -0
  13. package/lib/cjs/components/SCMediaEvent.js +12 -0
  14. package/lib/cjs/components/SCMyEventsWidget.d.ts +11 -12
  15. package/lib/cjs/components/SCMyEventsWidget.js +9 -12
  16. package/lib/cjs/components/SCNotification.d.ts +15 -0
  17. package/lib/cjs/components/SCNotification.js +15 -0
  18. package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +64 -0
  19. package/lib/cjs/components/SCSuggestedEventsWidget.js +62 -0
  20. package/lib/cjs/index.d.ts +352 -38
  21. package/lib/cjs/index.js +9 -1
  22. package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
  23. package/lib/esm/components/SCCreateEventWidget.js +52 -0
  24. package/lib/esm/components/SCEvent.d.ts +137 -17
  25. package/lib/esm/components/SCEvent.js +138 -18
  26. package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
  27. package/lib/esm/components/SCEventActionsMenu.js +26 -0
  28. package/lib/esm/components/SCEventHeader.d.ts +10 -5
  29. package/lib/esm/components/SCEventHeader.js +11 -20
  30. package/lib/esm/components/SCEventInfoDetails.js +1 -1
  31. package/lib/esm/components/SCEventPartecipantsButton.d.ts +21 -1
  32. package/lib/esm/components/SCEventPartecipantsButton.js +20 -2
  33. package/lib/esm/components/SCMediaEvent.d.ts +10 -0
  34. package/lib/esm/components/SCMediaEvent.js +10 -0
  35. package/lib/esm/components/SCMyEventsWidget.d.ts +11 -12
  36. package/lib/esm/components/SCMyEventsWidget.js +9 -12
  37. package/lib/esm/components/SCNotification.d.ts +15 -0
  38. package/lib/esm/components/SCNotification.js +15 -0
  39. package/lib/esm/components/SCSuggestedEventsWidget.d.ts +64 -0
  40. package/lib/esm/components/SCSuggestedEventsWidget.js +60 -0
  41. package/lib/esm/index.d.ts +352 -38
  42. package/lib/esm/index.js +9 -1
  43. package/lib/umd/react-theme-default.js +2 -2
  44. package/package.json +4 -4
@@ -3334,6 +3334,15 @@ declare const theme: {
3334
3334
  triggerRoot: ({ theme }: any) => {};
3335
3335
  };
3336
3336
  };
3337
+ SCMediaEvent: {
3338
+ styleOverrides: {
3339
+ displayRoot: ({ theme }: any) => {
3340
+ '& .SCMediaEvent-event-preview': {
3341
+ margin: any;
3342
+ };
3343
+ };
3344
+ };
3345
+ };
3337
3346
  SCNavigationSettingsIconButton: {
3338
3347
  styleOverrides: {
3339
3348
  menuRoot: ({ theme }: any) => {
@@ -3768,6 +3777,21 @@ declare const theme: {
3768
3777
  maxWidth: string;
3769
3778
  };
3770
3779
  };
3780
+ eventRoot: ({ theme }: any) => {
3781
+ '& .SCNotification-username, & a': {
3782
+ fontWeight: any;
3783
+ };
3784
+ '& .SCNotificationItem-primary .MuiIcon-root': {
3785
+ float: string;
3786
+ fontSize: string;
3787
+ };
3788
+ '& .SCNotificationItem-secondary': {
3789
+ textTransform: string;
3790
+ };
3791
+ '& .SCNotification-snippet-time': {
3792
+ paddingLeft: any;
3793
+ };
3794
+ };
3771
3795
  groupRoot: ({ theme }: any) => {};
3772
3796
  undeletedForRoot: ({ theme }: any) => {
3773
3797
  '& .SCNotification-undeleted-icon': {
@@ -3827,6 +3851,9 @@ declare const theme: {
3827
3851
  };
3828
3852
  };
3829
3853
  voteUpRoot: ({ theme }: any) => {
3854
+ /**
3855
+ * Export default theme
3856
+ */
3830
3857
  width: string;
3831
3858
  '& .SCNotification-username': {
3832
3859
  fontWeight: number;
@@ -6425,8 +6452,68 @@ declare const theme: {
6425
6452
  };
6426
6453
  SCEvent: {
6427
6454
  styleOverrides: {
6428
- root: ({ theme }: any) => {
6455
+ root: ({ theme }: any) => {};
6456
+ detailRoot: ({ theme }: any) => {
6457
+ '& .SCEvent-detail-image-wrapper': {
6458
+ position: string;
6459
+ '& .SCEvent-detail-image': {
6460
+ height: string;
6461
+ };
6462
+ };
6463
+ '& .SCEvent-detail-content': {
6464
+ padding: string;
6465
+ '& .SCEvent-detail-user': {
6466
+ marginTop: string;
6467
+ '& .SCBaseItemButton-text': {
6468
+ margin: number;
6469
+ };
6470
+ };
6471
+ '& .SCEvent-detail-name-wrapper': {
6472
+ textDecoration: string;
6473
+ color: string;
6474
+ '& .SCEvent-detail-name': {
6475
+ marginBottom: string;
6476
+ };
6477
+ };
6478
+ '& .SCEvent-detail-first-divider': {
6479
+ marginTop: string;
6480
+ marginBottom: any;
6481
+ };
6482
+ '& .SCEvent-detail-second-divider': {
6483
+ marginTop: any;
6484
+ marginBottom: string;
6485
+ };
6486
+ };
6487
+ };
6488
+ previewRoot: ({ theme }: any) => {
6489
+ '& .SCEvent-preview-image-wrapper': {
6490
+ position: string;
6491
+ '& .SCEvent-preview-image': {
6492
+ height: string;
6493
+ };
6494
+ };
6495
+ '& .SCEvent-preview-content': {
6496
+ padding: string;
6497
+ '& .SCEvent-detail-user': {
6498
+ marginTop: string;
6499
+ '& .SCBaseItemButton-text': {
6500
+ margin: number;
6501
+ };
6502
+ };
6503
+ '& .SCEvent-preview-name-wrapper': {
6504
+ textDecoration: string;
6505
+ color: string;
6506
+ '& .SCEvent-preview-name': {
6507
+ marginBottom: string;
6508
+ };
6509
+ };
6510
+ };
6511
+ };
6512
+ snippetRoot: ({ theme }: any) => {
6429
6513
  overflow: string;
6514
+ boxSizing: string;
6515
+ paddingLeft: string;
6516
+ paddingRight: string;
6430
6517
  '& .SCBaseItem-image': {
6431
6518
  '& .MuiAvatar-root': {
6432
6519
  width: number;
@@ -6438,36 +6525,121 @@ declare const theme: {
6438
6525
  };
6439
6526
  '& .SCBaseItem-text': {
6440
6527
  fontSize: any;
6441
- '& .SCEvent-primary': {
6528
+ '& .SCEvent-snippet-primary': {
6529
+ color: any;
6530
+ textDecoration: string;
6531
+ '&:hover': {
6532
+ textDecoration: string;
6533
+ };
6442
6534
  '& p': {
6443
6535
  fontWeight: any;
6444
6536
  };
6445
6537
  };
6446
- '& .SCEvent-secondary': {
6538
+ '& .SCEvent-snippet-secondary': {
6447
6539
  color: any;
6448
6540
  };
6449
6541
  };
6450
6542
  };
6451
6543
  skeletonRoot: ({ theme }: any) => {
6452
- gap: string;
6453
- '& .SCBaseItem-content': {
6454
- flex: number;
6544
+ '& .SCEvent-skeleton-detail-root': {
6545
+ '& .SCEvent-skeleton-detail-calendar': {
6546
+ position: string;
6547
+ bottom: string;
6548
+ left: string;
6549
+ boxShadow: string;
6550
+ };
6551
+ '& .SCEvent-skeleton-detail-content': {
6552
+ padding: string;
6553
+ '& .SCEvent-skeleton-detail-user': {
6554
+ marginTop: string;
6555
+ '& .SCBaseItemButton-text': {
6556
+ margin: number;
6557
+ };
6558
+ };
6559
+ '& .SCEvent-skeleton-detail-name-wrapper': {
6560
+ textDecoration: string;
6561
+ color: string;
6562
+ '& .SCEvent-skeleton-detail-name': {
6563
+ marginBottom: string;
6564
+ };
6565
+ };
6566
+ '& .SCEvent-skeleton-detail-first-divider': {
6567
+ marginTop: string;
6568
+ marginBottom: any;
6569
+ };
6570
+ '& .SCEvent-skeleton-detail-second-divider': {
6571
+ marginTop: any;
6572
+ marginBottom: string;
6573
+ };
6574
+ };
6455
6575
  };
6456
- '& .SCEvent-skeleton-image': {
6457
- position: string;
6458
- '& .MuiSkeleton-root': {
6459
- borderRadius: string;
6576
+ '& .SCEvent-skeleton-preview-root': {
6577
+ '& .SCEvent-skeleton-preview-content': {
6578
+ padding: any;
6460
6579
  };
6461
- '& .MuiIcon-root': {
6462
- color: any;
6580
+ '& .SCEvent-skeleton-preview-image': {
6463
6581
  position: string;
6464
- top: string;
6465
- left: string;
6466
- transform: string;
6582
+ '& .MuiSkeleton-root': {
6583
+ borderRadius: string;
6584
+ };
6585
+ '& .MuiIcon-root': {
6586
+ color: any;
6587
+ position: string;
6588
+ top: string;
6589
+ left: string;
6590
+ transform: string;
6591
+ };
6592
+ };
6593
+ '& .SCBaseItem-actions': {
6594
+ maxWidth: string;
6467
6595
  };
6468
6596
  };
6469
- '& .SCBaseItem-actions': {
6470
- maxWidth: string;
6597
+ '& .SCEvent-skeleton-snippet-root': {
6598
+ overflow: string;
6599
+ boxSizing: string;
6600
+ paddingLeft: string;
6601
+ paddingRight: string;
6602
+ '& .SCEvent-skeleton-snippet-image': {
6603
+ position: string;
6604
+ '& .MuiSkeleton-root': {
6605
+ borderRadius: string;
6606
+ };
6607
+ '& .MuiIcon-root': {
6608
+ color: any;
6609
+ position: string;
6610
+ top: string;
6611
+ left: string;
6612
+ transform: string;
6613
+ };
6614
+ };
6615
+ '& .SCBaseItem-actions': {
6616
+ maxWidth: string;
6617
+ };
6618
+ };
6619
+ };
6620
+ };
6621
+ };
6622
+ SCEventActionsMenu: {
6623
+ styleOverrides: {
6624
+ root: ({ theme }: any) => {};
6625
+ menuRoot: ({ theme }: any) => {
6626
+ '& .MuiDivider-root': {
6627
+ margin: any;
6628
+ };
6629
+ '& .MuiIcon-root': {
6630
+ fontSize: string;
6631
+ };
6632
+ };
6633
+ drawerRoot: ({ theme }: any) => {
6634
+ '& .SCEventActionsMenu-item': {
6635
+ paddingTop: number;
6636
+ paddingBottom: number;
6637
+ };
6638
+ '& .MuiDivider-root': {
6639
+ margin: any;
6640
+ };
6641
+ '& .MuiIcon-root': {
6642
+ fontSize: string;
6471
6643
  };
6472
6644
  };
6473
6645
  };
@@ -6583,7 +6755,7 @@ declare const theme: {
6583
6755
  };
6584
6756
  SCEventHeader: {
6585
6757
  styleOverrides: {
6586
- root: ({ theme }: any) => {
6758
+ root: ({ theme, isEventAdmin }: any) => {
6587
6759
  '& .SCEventHeader-cover': {
6588
6760
  [x: number]: {
6589
6761
  borderRadius: any;
@@ -6635,14 +6807,19 @@ declare const theme: {
6635
6807
  padding: string;
6636
6808
  marginTop: any;
6637
6809
  '& .SCBaseItemButton-actions': {
6810
+ [x: number]: {
6811
+ width: string;
6812
+ };
6638
6813
  maxWidth: string;
6639
- width: string;
6640
6814
  '& .SCEventHeader-multi-actions': {
6815
+ [x: number]: {
6816
+ '& .SCEventInviteButton-root': {
6817
+ marginRight: any;
6818
+ };
6819
+ };
6641
6820
  display: string;
6642
6821
  justifyContent: string;
6643
- };
6644
- '& .SCEventSubscribeButton-select-root': {
6645
- float: string;
6822
+ alignItems: string;
6646
6823
  };
6647
6824
  };
6648
6825
  };
@@ -6825,8 +7002,28 @@ declare const theme: {
6825
7002
  * Style fragments - Imports - Start
6826
7003
  */
6827
7004
  gap: any;
7005
+ marginTop: string;
7006
+ '&:hover': {
7007
+ backgroundColor: string;
7008
+ };
7009
+ '& .MuiAvatarGroup-avatar': {
7010
+ width: string;
7011
+ height: string;
7012
+ };
7013
+ '& .SCEventPartecipantsButton-partecipants': {
7014
+ color: any;
7015
+ };
7016
+ };
7017
+ dialogRoot: ({ theme }: {
7018
+ theme: any;
7019
+ }) => {
7020
+ '& .SCEventPartecipantsButton-infinite-scroll': {
7021
+ [x: number]: {
7022
+ height: string;
7023
+ };
7024
+ height: string;
7025
+ };
6828
7026
  };
6829
- dialogRoot: () => {};
6830
7027
  };
6831
7028
  };
6832
7029
  SCMyEventsWidget: {
@@ -6834,27 +7031,13 @@ declare const theme: {
6834
7031
  root: ({ theme }: {
6835
7032
  theme: any;
6836
7033
  }) => {
6837
- /**
6838
- * Style fragments - Imports - Start
6839
- */
6840
7034
  '& .SCMyEventsWidget-title-wrapper': {
6841
7035
  padding: string;
6842
7036
  };
6843
- '& .SCMyEventsWidget-content': {
6844
- padding: string;
6845
- '& .SCMyEventsWidget-first-divider': {
6846
- marginTop: string;
6847
- marginBottom: string;
6848
- };
6849
- '& .SCMyEventsWidget-second-divider': {
6850
- marginTop: string;
6851
- marginBottom: string;
6852
- };
6853
- };
6854
7037
  '& .SCMyEventsWidget-actions': {
6855
7038
  padding: string;
6856
7039
  justifyContent: string;
6857
- gap: string;
7040
+ gap: any;
6858
7041
  '& .SCMyEventsWidget-arrows': {
6859
7042
  width: string;
6860
7043
  height: string;
@@ -6866,6 +7049,16 @@ declare const theme: {
6866
7049
  };
6867
7050
  };
6868
7051
  };
7052
+ skeletonRoot: ({ theme }: {
7053
+ theme: any;
7054
+ }) => {
7055
+ '& .SCMyEventsWidget-actions': {
7056
+ height: string;
7057
+ padding: string;
7058
+ justifyContent: string;
7059
+ gap: any;
7060
+ };
7061
+ };
6869
7062
  };
6870
7063
  };
6871
7064
  SCCalendar: {
@@ -6894,6 +7087,127 @@ declare const theme: {
6894
7087
  };
6895
7088
  };
6896
7089
  };
7090
+ SCCreateEventWidget: {
7091
+ styleOverrides: {
7092
+ root: ({ theme }: {
7093
+ theme: any;
7094
+ }) => {
7095
+ /**
7096
+ * Style fragments - Imports - Start
7097
+ */
7098
+ '& .SCCreateEventWidget-image': {
7099
+ height: string;
7100
+ };
7101
+ '& .SCCreateEventWidget-calendar': {
7102
+ position: string;
7103
+ top: string;
7104
+ left: string;
7105
+ transform: string;
7106
+ color: any;
7107
+ };
7108
+ '& .SCCreateEventWidget-content': {
7109
+ padding: string;
7110
+ '& .SCCreateEventWidget-title': {
7111
+ textAlign: string;
7112
+ marginBottom: any;
7113
+ };
7114
+ '& .SCCreateEventWidget-spacing': {
7115
+ marginBottom: any;
7116
+ };
7117
+ };
7118
+ '& .SCCreateEventWidget-actions': {
7119
+ padding: string;
7120
+ justifyContent: string;
7121
+ };
7122
+ };
7123
+ skeletonRoot: ({ theme }: {
7124
+ theme: any;
7125
+ }) => {
7126
+ '& .SCCreateEventWidget-calendar': {
7127
+ position: string;
7128
+ top: string;
7129
+ left: string;
7130
+ transform: string;
7131
+ };
7132
+ '& .SCCreateEventWidget-content': {
7133
+ padding: string;
7134
+ '& .SCCreateEventWidget-title': {
7135
+ textAlign: string;
7136
+ };
7137
+ '& .SCCreateEventWidget-spacing': {
7138
+ marginBottom: any;
7139
+ };
7140
+ };
7141
+ '& .SCCreateEventWidget-actions': {
7142
+ padding: string;
7143
+ justifyContent: string;
7144
+ };
7145
+ };
7146
+ };
7147
+ };
7148
+ SCSuggestedEventsWidget: {
7149
+ styleOverrides: {
7150
+ root: ({ theme }: {
7151
+ theme: any;
7152
+ }) => {
7153
+ '& .SCSuggestedEventsWidget-content': {
7154
+ padding: string;
7155
+ '& .SCSuggestedEventsWidget-title': {
7156
+ marginBottom: string;
7157
+ };
7158
+ '& .SCSuggestedEventsWidget-swiper': {
7159
+ width: string;
7160
+ height: string;
7161
+ };
7162
+ };
7163
+ '& .SCSuggestedEventsWidget-event': {
7164
+ '& .SCEventInfoDetails-root': {
7165
+ '& h5': {
7166
+ fontSize: string;
7167
+ maxWidth: number;
7168
+ textOverflow: string;
7169
+ whiteSpace: string;
7170
+ overflow: string;
7171
+ };
7172
+ '& .SCEventInfoDetails-icon-text-wrapper': {
7173
+ '& .community-icons': {
7174
+ fontSize: string;
7175
+ };
7176
+ '& p': {
7177
+ marginTop: number;
7178
+ fontSize: string;
7179
+ };
7180
+ };
7181
+ };
7182
+ };
7183
+ '& .SCSuggestedEventsWidget-actions': {
7184
+ padding: string;
7185
+ justifyContent: string;
7186
+ '& .SCSuggestedEventsWidget-actionButton': {
7187
+ color: any;
7188
+ };
7189
+ };
7190
+ };
7191
+ skeletonRoot: ({ theme }: {
7192
+ theme: any;
7193
+ }) => {
7194
+ '& .SCSuggestedEventsWidget-content': {
7195
+ padding: string;
7196
+ '& .SCSuggestedEventsWidget-title': {
7197
+ marginBottom: string;
7198
+ };
7199
+ '& .SCSuggestedEventsWidget-swiper': {
7200
+ width: string;
7201
+ height: string;
7202
+ };
7203
+ };
7204
+ '& .SCSuggestedEventsWidget-actions': {
7205
+ padding: string;
7206
+ justifyContent: string;
7207
+ };
7208
+ };
7209
+ };
7210
+ };
6897
7211
  };
6898
7212
  selfcommunity: {
6899
7213
  user: {
package/lib/cjs/index.js CHANGED
@@ -55,6 +55,7 @@ const SCComposer_1 = tslib_1.__importDefault(require("./components/SCComposer"))
55
55
  const SCConsentSolution_1 = tslib_1.__importDefault(require("./components/SCConsentSolution"));
56
56
  const SCContributionActionsMenu_1 = tslib_1.__importDefault(require("./components/SCContributionActionsMenu"));
57
57
  const SCCreateEventButton_1 = tslib_1.__importDefault(require("./components/SCCreateEventButton"));
58
+ const SCCreateEventWidget_1 = tslib_1.__importDefault(require("./components/SCCreateEventWidget"));
58
59
  const SCCreateGroupButton_1 = tslib_1.__importDefault(require("./components/SCCreateGroupButton"));
59
60
  const SCCustomAdv_1 = tslib_1.__importDefault(require("./components/SCCustomAdv"));
60
61
  const SCCustomSnackMessage_1 = tslib_1.__importDefault(require("./components/SCCustomSnackMessage"));
@@ -64,6 +65,7 @@ const SCEditGroupButton_1 = tslib_1.__importDefault(require("./components/SCEdit
64
65
  const SCEditor_1 = tslib_1.__importDefault(require("./components/SCEditor"));
65
66
  const SCEmojiPicker_1 = tslib_1.__importDefault(require("./components/SCEmojiPicker"));
66
67
  const SCEvent_1 = tslib_1.__importDefault(require("./components/SCEvent"));
68
+ const SCEventActionsMenu_1 = tslib_1.__importDefault(require("./components/SCEventActionsMenu"));
67
69
  const SCEventForm_1 = tslib_1.__importDefault(require("./components/SCEventForm"));
68
70
  const SCEventHeader_1 = tslib_1.__importDefault(require("./components/SCEventHeader"));
69
71
  const SCEventInfoDetails_1 = tslib_1.__importDefault(require("./components/SCEventInfoDetails"));
@@ -106,6 +108,7 @@ const SCLoyaltyProgramWidget_1 = tslib_1.__importDefault(require("./components/S
106
108
  const SCMainFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCMainFeedTemplate"));
107
109
  const SCMediaFile_1 = tslib_1.__importDefault(require("./components/SCMediaFile"));
108
110
  const SCMediaLink_1 = tslib_1.__importDefault(require("./components/SCMediaLink"));
111
+ const SCMediaEvent_1 = tslib_1.__importDefault(require("./components/SCMediaEvent"));
109
112
  const SCMyEventsWidget_1 = tslib_1.__importDefault(require("./components/SCMyEventsWidget"));
110
113
  const SCNavigationMenuIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuIconButton"));
111
114
  const SCNavigationSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationSettingsIconButton"));
@@ -130,6 +133,7 @@ const SCRelatedFeedObjectsWidget_1 = tslib_1.__importDefault(require("./componen
130
133
  const SCScrollContainer_1 = tslib_1.__importDefault(require("./components/SCScrollContainer"));
131
134
  const SCSearchAutocomplete_1 = tslib_1.__importDefault(require("./components/SCSearchAutocomplete"));
132
135
  const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/SCSnippetNotifications"));
136
+ const SCSuggestedEventsWidget_1 = tslib_1.__importDefault(require("./components/SCSuggestedEventsWidget"));
133
137
  const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCToastNotifications"));
134
138
  const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
135
139
  const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
@@ -277,6 +281,7 @@ const theme = {
277
281
  SCLoyaltyProgramDetailTemplate: SCLoyaltyProgramDetailTemplate_1.default,
278
282
  SCMediaFile: SCMediaFile_1.default,
279
283
  SCMediaLink: SCMediaLink_1.default,
284
+ SCMediaEvent: SCMediaEvent_1.default,
280
285
  SCNavigationSettingsIconButton: SCNavigationSettingsIconButton_1.default,
281
286
  SCDefaultHeaderContent: SCDefaultHeaderContent_1.default,
282
287
  SCNavigationToolbar: SCNavigationToolbar_1.default,
@@ -359,6 +364,7 @@ const theme = {
359
364
  SCCreateEventButton: SCCreateEventButton_1.default,
360
365
  SCEventLocationWidget: SCEventLocationWidget_1.default,
361
366
  SCEvent: SCEvent_1.default,
367
+ SCEventActionsMenu: SCEventActionsMenu_1.default,
362
368
  SCEvents: SCEvents_1.default,
363
369
  SCEventInviteButton: SCEventInviteButton_1.default,
364
370
  SCEventHeader: SCEventHeader_1.default,
@@ -367,7 +373,9 @@ const theme = {
367
373
  SCEventSubscribeButton: SCEventSubscribeButton_1.default,
368
374
  SCEventPartecipantsButton: SCEventPartecipantsButton_1.default,
369
375
  SCMyEventsWidget: SCMyEventsWidget_1.default,
370
- SCCalendar: SCCalendar_1.default
376
+ SCCalendar: SCCalendar_1.default,
377
+ SCCreateEventWidget: SCCreateEventWidget_1.default,
378
+ SCSuggestedEventsWidget: SCSuggestedEventsWidget_1.default
371
379
  },
372
380
  selfcommunity: {
373
381
  user: {
@@ -0,0 +1,56 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCCreateEventWidget-image': {
7
+ height: string;
8
+ };
9
+ '& .SCCreateEventWidget-calendar': {
10
+ position: string;
11
+ top: string;
12
+ left: string;
13
+ transform: string;
14
+ color: any;
15
+ };
16
+ '& .SCCreateEventWidget-content': {
17
+ padding: string;
18
+ '& .SCCreateEventWidget-title': {
19
+ textAlign: string;
20
+ marginBottom: any;
21
+ };
22
+ '& .SCCreateEventWidget-spacing': {
23
+ marginBottom: any;
24
+ };
25
+ };
26
+ '& .SCCreateEventWidget-actions': {
27
+ padding: string;
28
+ justifyContent: string;
29
+ };
30
+ };
31
+ skeletonRoot: ({ theme }: {
32
+ theme: any;
33
+ }) => {
34
+ '& .SCCreateEventWidget-calendar': {
35
+ position: string;
36
+ top: string;
37
+ left: string;
38
+ transform: string;
39
+ };
40
+ '& .SCCreateEventWidget-content': {
41
+ padding: string;
42
+ '& .SCCreateEventWidget-title': {
43
+ textAlign: string;
44
+ };
45
+ '& .SCCreateEventWidget-spacing': {
46
+ marginBottom: any;
47
+ };
48
+ };
49
+ '& .SCCreateEventWidget-actions': {
50
+ padding: string;
51
+ justifyContent: string;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ export default Component;
@@ -0,0 +1,52 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCCreateEventWidget-image': {
5
+ height: '110px'
6
+ },
7
+ '& .SCCreateEventWidget-calendar': {
8
+ position: 'absolute',
9
+ top: '50%',
10
+ left: '50%',
11
+ transform: 'translate(-50%, -50%)',
12
+ color: theme.palette.common.white
13
+ },
14
+ '& .SCCreateEventWidget-content': {
15
+ padding: `${theme.spacing(2)} ${theme.spacing(2)} 0 !important`,
16
+ '& .SCCreateEventWidget-title': {
17
+ textAlign: 'center',
18
+ marginBottom: theme.spacing(2)
19
+ },
20
+ '& .SCCreateEventWidget-spacing': {
21
+ marginBottom: theme.spacing(2)
22
+ }
23
+ },
24
+ '& .SCCreateEventWidget-actions': {
25
+ padding: `0 ${theme.spacing(2)} ${theme.spacing(2)}`,
26
+ justifyContent: 'center'
27
+ }
28
+ }),
29
+ skeletonRoot: ({ theme }) => ({
30
+ '& .SCCreateEventWidget-calendar': {
31
+ position: 'absolute',
32
+ top: '50%',
33
+ left: '50%',
34
+ transform: 'translate(-50%, -50%)'
35
+ },
36
+ '& .SCCreateEventWidget-content': {
37
+ padding: `${theme.spacing(2)} ${theme.spacing(2)} 0 !important`,
38
+ '& .SCCreateEventWidget-title': {
39
+ textAlign: 'center'
40
+ },
41
+ '& .SCCreateEventWidget-spacing': {
42
+ marginBottom: theme.spacing(2)
43
+ }
44
+ },
45
+ '& .SCCreateEventWidget-actions': {
46
+ padding: `0 ${theme.spacing(2)} ${theme.spacing(2)}`,
47
+ justifyContent: 'center'
48
+ }
49
+ })
50
+ }
51
+ };
52
+ export default Component;