@selfcommunity/react-theme-default 0.1.50-event.30 → 0.1.50-events.100

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 (119) hide show
  1. package/lib/cjs/components/MuiAutocomplete.js +3 -4
  2. package/lib/cjs/components/MuiSelect.js +2 -3
  3. package/lib/cjs/components/SCCalendar.d.ts +24 -0
  4. package/lib/cjs/components/SCCalendar.js +24 -0
  5. package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
  6. package/lib/cjs/components/SCCreateEventWidget.js +54 -0
  7. package/lib/cjs/components/SCEvent.d.ts +148 -10
  8. package/lib/cjs/components/SCEvent.js +149 -11
  9. package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
  10. package/lib/cjs/components/SCEventActionsMenu.js +28 -0
  11. package/lib/cjs/components/SCEventForm.d.ts +0 -1
  12. package/lib/cjs/components/SCEventForm.js +1 -2
  13. package/lib/cjs/components/SCEventHeader.d.ts +145 -0
  14. package/lib/cjs/components/SCEventHeader.js +148 -0
  15. package/lib/cjs/components/SCEventInfoDetails.d.ts +37 -0
  16. package/lib/cjs/components/SCEventInfoDetails.js +37 -0
  17. package/lib/cjs/components/SCEventInfoWidget.d.ts +37 -0
  18. package/lib/cjs/components/SCEventInfoWidget.js +35 -0
  19. package/lib/cjs/components/SCEventLocationWidget.d.ts +2 -8
  20. package/lib/cjs/components/SCEventLocationWidget.js +2 -8
  21. package/lib/cjs/components/SCEventMembersWidget.d.ts +68 -0
  22. package/lib/cjs/components/SCEventMembersWidget.js +64 -0
  23. package/lib/cjs/components/SCEventParticipantsButton.d.ts +33 -0
  24. package/lib/cjs/components/SCEventParticipantsButton.js +31 -0
  25. package/lib/cjs/components/SCEventSubscribeButton.d.ts +87 -0
  26. package/lib/cjs/components/SCEventSubscribeButton.js +83 -0
  27. package/lib/cjs/components/SCEvents.d.ts +21 -5
  28. package/lib/cjs/components/SCEvents.js +23 -7
  29. package/lib/cjs/components/SCFeedObject.d.ts +5 -5
  30. package/lib/cjs/components/SCFeedObject.js +5 -5
  31. package/lib/cjs/components/SCMediaShare.d.ts +6 -1
  32. package/lib/cjs/components/SCMediaShare.js +6 -1
  33. package/lib/cjs/components/SCMyEventsWidget.d.ts +35 -0
  34. package/lib/cjs/components/SCMyEventsWidget.js +33 -0
  35. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  36. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  37. package/lib/cjs/components/SCNotification.d.ts +15 -0
  38. package/lib/cjs/components/SCNotification.js +15 -0
  39. package/lib/cjs/components/SCOnBoardingWidget.d.ts +429 -0
  40. package/lib/cjs/components/SCOnBoardingWidget.js +427 -0
  41. package/lib/cjs/components/SCPlatformWidget.d.ts +22 -1
  42. package/lib/cjs/components/SCPlatformWidget.js +22 -1
  43. package/lib/cjs/components/SCProgressBar.d.ts +19 -0
  44. package/lib/cjs/components/SCProgressBar.js +21 -0
  45. package/lib/cjs/components/SCRelatedEventsWidget.d.ts +101 -0
  46. package/lib/cjs/components/SCRelatedEventsWidget.js +97 -0
  47. package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +96 -0
  48. package/lib/cjs/components/SCSuggestedEventsWidget.js +94 -0
  49. package/lib/cjs/fonts/community/icons.eot +0 -0
  50. package/lib/cjs/fonts/community/icons.svg +13 -1
  51. package/lib/cjs/fonts/community/icons.ttf +0 -0
  52. package/lib/cjs/fonts/community/icons.woff +0 -0
  53. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  54. package/lib/cjs/fonts/community-icons.css +24 -6
  55. package/lib/cjs/index.d.ts +3225 -1836
  56. package/lib/cjs/index.js +204 -174
  57. package/lib/esm/components/MuiAutocomplete.js +3 -3
  58. package/lib/esm/components/MuiSelect.js +2 -2
  59. package/lib/esm/components/SCCalendar.d.ts +24 -0
  60. package/lib/esm/components/SCCalendar.js +22 -0
  61. package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
  62. package/lib/esm/components/SCCreateEventWidget.js +52 -0
  63. package/lib/esm/components/SCEvent.d.ts +148 -10
  64. package/lib/esm/components/SCEvent.js +149 -11
  65. package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
  66. package/lib/esm/components/SCEventActionsMenu.js +26 -0
  67. package/lib/esm/components/SCEventForm.d.ts +0 -1
  68. package/lib/esm/components/SCEventForm.js +1 -2
  69. package/lib/esm/components/SCEventHeader.d.ts +145 -0
  70. package/lib/esm/components/SCEventHeader.js +146 -0
  71. package/lib/esm/components/SCEventInfoDetails.d.ts +37 -0
  72. package/lib/esm/components/SCEventInfoDetails.js +35 -0
  73. package/lib/esm/components/SCEventInfoWidget.d.ts +37 -0
  74. package/lib/esm/components/SCEventInfoWidget.js +33 -0
  75. package/lib/esm/components/SCEventLocationWidget.d.ts +2 -8
  76. package/lib/esm/components/SCEventLocationWidget.js +2 -8
  77. package/lib/esm/components/SCEventMembersWidget.d.ts +68 -0
  78. package/lib/esm/components/SCEventMembersWidget.js +62 -0
  79. package/lib/esm/components/SCEventParticipantsButton.d.ts +33 -0
  80. package/lib/esm/components/SCEventParticipantsButton.js +29 -0
  81. package/lib/esm/components/SCEventSubscribeButton.d.ts +87 -0
  82. package/lib/esm/components/SCEventSubscribeButton.js +81 -0
  83. package/lib/esm/components/SCEvents.d.ts +21 -5
  84. package/lib/esm/components/SCEvents.js +23 -7
  85. package/lib/esm/components/SCFeedObject.d.ts +5 -5
  86. package/lib/esm/components/SCFeedObject.js +5 -5
  87. package/lib/esm/components/SCMediaShare.d.ts +6 -1
  88. package/lib/esm/components/SCMediaShare.js +6 -1
  89. package/lib/esm/components/SCMyEventsWidget.d.ts +35 -0
  90. package/lib/esm/components/SCMyEventsWidget.js +31 -0
  91. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  92. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  93. package/lib/esm/components/SCNotification.d.ts +15 -0
  94. package/lib/esm/components/SCNotification.js +15 -0
  95. package/lib/esm/components/SCOnBoardingWidget.d.ts +429 -0
  96. package/lib/esm/components/SCOnBoardingWidget.js +425 -0
  97. package/lib/esm/components/SCPlatformWidget.d.ts +22 -1
  98. package/lib/esm/components/SCPlatformWidget.js +22 -1
  99. package/lib/esm/components/SCProgressBar.d.ts +19 -0
  100. package/lib/esm/components/SCProgressBar.js +19 -0
  101. package/lib/esm/components/SCRelatedEventsWidget.d.ts +101 -0
  102. package/lib/esm/components/SCRelatedEventsWidget.js +95 -0
  103. package/lib/esm/components/SCSuggestedEventsWidget.d.ts +96 -0
  104. package/lib/esm/components/SCSuggestedEventsWidget.js +92 -0
  105. package/lib/esm/fonts/community/icons.eot +0 -0
  106. package/lib/esm/fonts/community/icons.svg +13 -1
  107. package/lib/esm/fonts/community/icons.ttf +0 -0
  108. package/lib/esm/fonts/community/icons.woff +0 -0
  109. package/lib/esm/fonts/community/icons.woff2 +0 -0
  110. package/lib/esm/fonts/community-icons.css +24 -6
  111. package/lib/esm/index.d.ts +3225 -1836
  112. package/lib/esm/index.js +204 -174
  113. package/lib/umd/community/icons.eot +0 -0
  114. package/lib/umd/community/icons.svg +13 -1
  115. package/lib/umd/community/icons.ttf +0 -0
  116. package/lib/umd/community/icons.woff +0 -0
  117. package/lib/umd/community/icons.woff2 +0 -0
  118. package/lib/umd/react-theme-default.js +3 -3
  119. package/package.json +4 -4
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const material_1 = require("@mui/material");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
5
  const Component = {
7
6
  defaultProps: {
8
- clearIcon: react_1.default.createElement(material_1.Icon, null, "close"),
9
- popupIcon: react_1.default.createElement(material_1.Icon, null, "expand_more")
7
+ clearIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }),
8
+ popupIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "expand_more" })
10
9
  }
11
10
  };
12
11
  exports.default = Component;
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const material_1 = require("@mui/material");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
5
  const Component = {
7
6
  defaultProps: {
8
- IconComponent: ({ className }) => react_1.default.createElement(material_1.Icon, { className: className }, "expand_more")
7
+ IconComponent: ({ className }) => (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ className: className }, { children: "expand_more" }))
9
8
  }
10
9
  };
11
10
  exports.default = Component;
@@ -0,0 +1,24 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ gap: string;
7
+ position: string;
8
+ bottom: string;
9
+ left: string;
10
+ width: string;
11
+ height: string;
12
+ borderRadius: string;
13
+ boxShadow: string;
14
+ backgroundColor: any;
15
+ overflow: string;
16
+ '& .SCCalendar-header': {
17
+ width: string;
18
+ height: string;
19
+ backgroundColor: any;
20
+ };
21
+ };
22
+ };
23
+ };
24
+ export default Component;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ gap: '7px',
7
+ position: 'absolute',
8
+ bottom: '-36px',
9
+ left: '24px',
10
+ width: '60px',
11
+ height: '60px',
12
+ borderRadius: '5px',
13
+ boxShadow: '0px 3px 8px #00000040',
14
+ backgroundColor: theme.palette.common.white,
15
+ overflow: 'hidden',
16
+ '& .SCCalendar-header': {
17
+ width: '100%',
18
+ height: '16px',
19
+ backgroundColor: theme.palette.error.dark
20
+ }
21
+ })
22
+ }
23
+ };
24
+ exports.default = Component;
@@ -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,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCCreateEventWidget-image': {
7
+ height: '110px'
8
+ },
9
+ '& .SCCreateEventWidget-calendar': {
10
+ position: 'absolute',
11
+ top: '50%',
12
+ left: '50%',
13
+ transform: 'translate(-50%, -50%)',
14
+ color: theme.palette.common.white
15
+ },
16
+ '& .SCCreateEventWidget-content': {
17
+ padding: `${theme.spacing(2)} ${theme.spacing(2)} 0 !important`,
18
+ '& .SCCreateEventWidget-title': {
19
+ textAlign: 'center',
20
+ marginBottom: theme.spacing(2)
21
+ },
22
+ '& .SCCreateEventWidget-spacing': {
23
+ marginBottom: theme.spacing(2)
24
+ }
25
+ },
26
+ '& .SCCreateEventWidget-actions': {
27
+ padding: `0 ${theme.spacing(2)} ${theme.spacing(2)}`,
28
+ justifyContent: 'center'
29
+ }
30
+ }),
31
+ skeletonRoot: ({ theme }) => ({
32
+ '& .SCCreateEventWidget-calendar': {
33
+ position: 'absolute',
34
+ top: '50%',
35
+ left: '50%',
36
+ transform: 'translate(-50%, -50%)'
37
+ },
38
+ '& .SCCreateEventWidget-content': {
39
+ padding: `${theme.spacing(2)} ${theme.spacing(2)} 0 !important`,
40
+ '& .SCCreateEventWidget-title': {
41
+ textAlign: 'center'
42
+ },
43
+ '& .SCCreateEventWidget-spacing': {
44
+ marginBottom: theme.spacing(2)
45
+ }
46
+ },
47
+ '& .SCCreateEventWidget-actions': {
48
+ padding: `0 ${theme.spacing(2)} ${theme.spacing(2)}`,
49
+ justifyContent: 'center'
50
+ }
51
+ })
52
+ }
53
+ };
54
+ exports.default = Component;
@@ -1,37 +1,175 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {
3
+ root: ({ theme }: any) => {};
4
+ detailRoot: ({ theme }: any) => {
5
+ '& .SCEvent-detail-image-wrapper': {
6
+ position: string;
7
+ '& .SCEvent-detail-image': {
8
+ height: string;
9
+ };
10
+ };
11
+ '& .SCEvent-detail-content': {
12
+ padding: string;
13
+ '& .SCEvent-detail-user': {
14
+ marginTop: string;
15
+ '& .SCBaseItemButton-text': {
16
+ margin: number;
17
+ };
18
+ };
19
+ '& .SCEvent-detail-name-wrapper': {
20
+ textDecoration: string;
21
+ color: string;
22
+ '& .SCEvent-detail-name': {
23
+ marginBottom: string;
24
+ };
25
+ };
26
+ '& .SCEvent-detail-first-divider': {
27
+ marginTop: string;
28
+ marginBottom: any;
29
+ };
30
+ '& .SCEvent-detail-second-divider': {
31
+ marginTop: any;
32
+ marginBottom: string;
33
+ };
34
+ };
35
+ };
36
+ previewRoot: ({ theme }: any) => {
37
+ '& .SCEvent-preview-image-wrapper': {
38
+ position: string;
39
+ '& .SCEvent-preview-image': {
40
+ height: string;
41
+ };
42
+ };
43
+ '& .SCEvent-preview-content': {
44
+ padding: string;
45
+ '& .SCEventInfoDetails-icon-text-wrapper': {
46
+ '& .MuiTypography-root': {
47
+ fontSize: string;
48
+ };
49
+ };
50
+ '& .SCEvent-detail-user': {
51
+ marginTop: string;
52
+ '& .SCBaseItemButton-text': {
53
+ margin: number;
54
+ };
55
+ };
56
+ '& .SCEvent-preview-name-wrapper': {
57
+ marginTop: number;
58
+ textDecoration: string;
59
+ color: string;
60
+ '& h5': {
61
+ whiteSpace: string;
62
+ overflow: string;
63
+ textOverflow: string;
64
+ };
65
+ };
66
+ };
67
+ };
68
+ snippetRoot: ({ theme }: any) => {
4
69
  overflow: string;
70
+ boxSizing: string;
71
+ paddingLeft: string;
72
+ paddingRight: string;
5
73
  '& .SCBaseItem-image': {
6
74
  '& .MuiAvatar-root': {
7
75
  width: number;
8
76
  height: number;
9
77
  '& img': {
10
- borderRadius: number;
78
+ borderRadius: string;
11
79
  };
12
80
  };
13
81
  };
14
82
  '& .SCBaseItem-text': {
15
83
  fontSize: any;
16
- '& .SCEvent-primary': {
84
+ '& .SCEvent-snippet-primary': {
85
+ color: any;
86
+ textDecoration: string;
87
+ '&:hover': {
88
+ textDecoration: string;
89
+ };
17
90
  '& p': {
18
91
  fontWeight: any;
19
92
  };
20
93
  };
21
- '& .SCEvent-secondary': {
94
+ '& .SCEvent-snippet-secondary': {
22
95
  color: any;
23
96
  };
24
97
  };
25
98
  };
26
99
  skeletonRoot: ({ theme }: any) => {
27
- '& .SCEvent-skeleton-image': {
28
- position: string;
29
- '& .MuiIcon-root': {
30
- color: any;
100
+ '& .SCEvent-skeleton-detail-root': {
101
+ '& .SCEvent-skeleton-detail-calendar': {
31
102
  position: string;
32
- top: string;
103
+ bottom: string;
33
104
  left: string;
34
- transform: string;
105
+ boxShadow: string;
106
+ };
107
+ '& .SCEvent-skeleton-detail-content': {
108
+ padding: string;
109
+ '& .SCEvent-skeleton-detail-user': {
110
+ marginTop: string;
111
+ '& .SCBaseItemButton-text': {
112
+ margin: number;
113
+ };
114
+ };
115
+ '& .SCEvent-skeleton-detail-name-wrapper': {
116
+ textDecoration: string;
117
+ color: string;
118
+ '& .SCEvent-skeleton-detail-name': {
119
+ marginBottom: string;
120
+ };
121
+ };
122
+ '& .SCEvent-skeleton-detail-first-divider': {
123
+ marginTop: string;
124
+ marginBottom: any;
125
+ };
126
+ '& .SCEvent-skeleton-detail-second-divider': {
127
+ marginTop: any;
128
+ marginBottom: string;
129
+ };
130
+ };
131
+ };
132
+ '& .SCEvent-skeleton-preview-root': {
133
+ '& .SCEvent-skeleton-preview-content': {
134
+ padding: any;
135
+ };
136
+ '& .SCEvent-skeleton-preview-image': {
137
+ position: string;
138
+ '& .MuiSkeleton-root': {
139
+ borderRadius: string;
140
+ };
141
+ '& .MuiIcon-root': {
142
+ color: any;
143
+ position: string;
144
+ top: string;
145
+ left: string;
146
+ transform: string;
147
+ };
148
+ };
149
+ '& .SCBaseItem-actions': {
150
+ maxWidth: string;
151
+ };
152
+ };
153
+ '& .SCEvent-skeleton-snippet-root': {
154
+ overflow: string;
155
+ boxSizing: string;
156
+ paddingLeft: string;
157
+ paddingRight: string;
158
+ '& .SCEvent-skeleton-snippet-image': {
159
+ position: string;
160
+ '& .MuiSkeleton-root': {
161
+ borderRadius: string;
162
+ };
163
+ '& .MuiIcon-root': {
164
+ color: any;
165
+ position: string;
166
+ top: string;
167
+ left: string;
168
+ transform: string;
169
+ };
170
+ };
171
+ '& .SCBaseItem-actions': {
172
+ maxWidth: string;
35
173
  };
36
174
  };
37
175
  };
@@ -2,38 +2,176 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
- root: ({ theme }) => ({
5
+ root: ({ theme }) => ({}),
6
+ detailRoot: ({ theme }) => ({
7
+ '& .SCEvent-detail-image-wrapper': {
8
+ position: 'relative',
9
+ '& .SCEvent-detail-image': {
10
+ height: '170px'
11
+ }
12
+ },
13
+ '& .SCEvent-detail-content': {
14
+ padding: `52px ${theme.spacing(3)} 0 !important`,
15
+ '& .SCEvent-detail-user': {
16
+ marginTop: '14px',
17
+ '& .SCBaseItemButton-text': {
18
+ margin: 0
19
+ }
20
+ },
21
+ '& .SCEvent-detail-name-wrapper': {
22
+ textDecoration: 'none',
23
+ color: 'inherit',
24
+ '& .SCEvent-detail-name': {
25
+ marginBottom: '10px'
26
+ }
27
+ },
28
+ '& .SCEvent-detail-first-divider': {
29
+ marginTop: '18px',
30
+ marginBottom: theme.spacing()
31
+ },
32
+ '& .SCEvent-detail-second-divider': {
33
+ marginTop: theme.spacing(),
34
+ marginBottom: '18px'
35
+ }
36
+ }
37
+ }),
38
+ previewRoot: ({ theme }) => ({
39
+ '& .SCEvent-preview-image-wrapper': {
40
+ position: 'relative',
41
+ '& .SCEvent-preview-image': {
42
+ height: '80px'
43
+ }
44
+ },
45
+ '& .SCEvent-preview-content': {
46
+ padding: `${theme.spacing()} !important`,
47
+ '& .SCEventInfoDetails-icon-text-wrapper': {
48
+ '& .MuiTypography-root': {
49
+ fontSize: '0.8rem'
50
+ }
51
+ },
52
+ '& .SCEvent-detail-user': {
53
+ marginTop: '14px',
54
+ '& .SCBaseItemButton-text': {
55
+ margin: 0
56
+ }
57
+ },
58
+ '& .SCEvent-preview-name-wrapper': {
59
+ marginTop: 3,
60
+ textDecoration: 'none',
61
+ color: 'inherit',
62
+ '& h5': {
63
+ whiteSpace: 'nowrap',
64
+ overflow: 'hidden',
65
+ textOverflow: 'ellipsis'
66
+ }
67
+ }
68
+ }
69
+ }),
70
+ snippetRoot: ({ theme }) => ({
6
71
  overflow: 'visible',
72
+ boxSizing: 'border-box',
73
+ paddingLeft: `${theme.spacing()} !important`,
74
+ paddingRight: `${theme.spacing()} !important`,
7
75
  '& .SCBaseItem-image': {
8
76
  '& .MuiAvatar-root': {
9
77
  width: 100,
10
78
  height: 60,
11
79
  '& img': {
12
- borderRadius: 0
80
+ borderRadius: '5px'
13
81
  }
14
82
  }
15
83
  },
16
84
  '& .SCBaseItem-text': {
17
85
  fontSize: theme.typography.fontSize,
18
- '& .SCEvent-primary': {
86
+ '& .SCEvent-snippet-primary': {
87
+ color: theme.palette.text.primary,
88
+ textDecoration: 'none',
89
+ '&:hover': {
90
+ textDecoration: 'none'
91
+ },
19
92
  '& p': {
20
93
  fontWeight: theme.typography.fontWeightBold
21
94
  }
22
95
  },
23
- '& .SCEvent-secondary': {
96
+ '& .SCEvent-snippet-secondary': {
24
97
  color: theme.palette.text.secondary
25
98
  }
26
99
  }
27
100
  }),
28
101
  skeletonRoot: ({ theme }) => ({
29
- '& .SCEvent-skeleton-image': {
30
- position: 'relative',
31
- '& .MuiIcon-root': {
32
- color: theme.palette.common.white,
102
+ '& .SCEvent-skeleton-detail-root': {
103
+ '& .SCEvent-skeleton-detail-calendar': {
33
104
  position: 'absolute',
34
- top: '50%',
35
- left: '50%',
36
- transform: 'translate(-50%, -50%)'
105
+ bottom: '-36px',
106
+ left: '24px',
107
+ boxShadow: '0px 3px 8px #00000040'
108
+ },
109
+ '& .SCEvent-skeleton-detail-content': {
110
+ padding: `52px ${theme.spacing(3)} 0 !important`,
111
+ '& .SCEvent-skeleton-detail-user': {
112
+ marginTop: '14px',
113
+ '& .SCBaseItemButton-text': {
114
+ margin: 0
115
+ }
116
+ },
117
+ '& .SCEvent-skeleton-detail-name-wrapper': {
118
+ textDecoration: 'none',
119
+ color: 'inherit',
120
+ '& .SCEvent-skeleton-detail-name': {
121
+ marginBottom: '10px'
122
+ }
123
+ },
124
+ '& .SCEvent-skeleton-detail-first-divider': {
125
+ marginTop: '18px',
126
+ marginBottom: theme.spacing()
127
+ },
128
+ '& .SCEvent-skeleton-detail-second-divider': {
129
+ marginTop: theme.spacing(),
130
+ marginBottom: '18px'
131
+ }
132
+ }
133
+ },
134
+ '& .SCEvent-skeleton-preview-root': {
135
+ '& .SCEvent-skeleton-preview-content': {
136
+ padding: theme.spacing()
137
+ },
138
+ '& .SCEvent-skeleton-preview-image': {
139
+ position: 'relative',
140
+ '& .MuiSkeleton-root': {
141
+ borderRadius: '5px'
142
+ },
143
+ '& .MuiIcon-root': {
144
+ color: theme.palette.common.white,
145
+ position: 'absolute',
146
+ top: '50%',
147
+ left: '50%',
148
+ transform: 'translate(-50%, -50%)'
149
+ }
150
+ },
151
+ '& .SCBaseItem-actions': {
152
+ maxWidth: 'none !important'
153
+ }
154
+ },
155
+ '& .SCEvent-skeleton-snippet-root': {
156
+ overflow: 'visible',
157
+ boxSizing: 'border-box',
158
+ paddingLeft: `${theme.spacing()} !important`,
159
+ paddingRight: `${theme.spacing()} !important`,
160
+ '& .SCEvent-skeleton-snippet-image': {
161
+ position: 'relative',
162
+ '& .MuiSkeleton-root': {
163
+ borderRadius: '5px'
164
+ },
165
+ '& .MuiIcon-root': {
166
+ color: theme.palette.common.white,
167
+ position: 'absolute',
168
+ top: '50%',
169
+ left: '50%',
170
+ transform: 'translate(-50%, -50%)'
171
+ }
172
+ },
173
+ '& .SCBaseItem-actions': {
174
+ maxWidth: 'none !important'
37
175
  }
38
176
  }
39
177
  })
@@ -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
+ '& .SCEventActionsMenu-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,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ menuRoot: ({ theme }) => ({
7
+ '& .MuiDivider-root': {
8
+ margin: theme.spacing(1)
9
+ },
10
+ '& .MuiIcon-root': {
11
+ fontSize: '15px'
12
+ }
13
+ }),
14
+ drawerRoot: ({ theme }) => ({
15
+ '& .SCEventActionsMenu-item': {
16
+ paddingTop: 0,
17
+ paddingBottom: 0
18
+ },
19
+ '& .MuiDivider-root': {
20
+ margin: theme.spacing(2)
21
+ },
22
+ '& .MuiIcon-root': {
23
+ fontSize: '15px'
24
+ }
25
+ })
26
+ }
27
+ };
28
+ exports.default = Component;
@@ -91,7 +91,6 @@ declare const Component: {
91
91
  };
92
92
  };
93
93
  '& .SCEventForm-event-address-tab': {
94
- minHeight: number;
95
94
  textTransform: string;
96
95
  };
97
96
  '& .SCEventForm-event-address-tab-content': {
@@ -88,13 +88,12 @@ const Component = {
88
88
  backgroundColor: theme.palette.grey['A200'],
89
89
  borderRadius: 5,
90
90
  '& .SCEventForm-event-address-tabs': {
91
- padding: theme.spacing(2, 2, 0, 2),
91
+ padding: theme.spacing(0, 2, 0, 2),
92
92
  '& .MuiTabs-indicator': {
93
93
  bottom: theme.spacing(1.5)
94
94
  }
95
95
  },
96
96
  '& .SCEventForm-event-address-tab': {
97
- minHeight: 0,
98
97
  textTransform: 'none'
99
98
  },
100
99
  '& .SCEventForm-event-address-tab-content': {