@selfcommunity/react-theme-default 0.1.55 → 0.2.0-alpha.0

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 (129) 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/SCCreateEventButton.d.ts +12 -0
  6. package/lib/cjs/components/SCCreateEventButton.js +14 -0
  7. package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
  8. package/lib/cjs/components/SCCreateEventWidget.js +54 -0
  9. package/lib/cjs/components/SCEvent.d.ts +217 -0
  10. package/lib/cjs/components/SCEvent.js +219 -0
  11. package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
  12. package/lib/cjs/components/SCEventActionsMenu.js +28 -0
  13. package/lib/cjs/components/SCEventForm.d.ts +103 -0
  14. package/lib/cjs/components/SCEventForm.js +106 -0
  15. package/lib/cjs/components/SCEventHeader.d.ts +147 -0
  16. package/lib/cjs/components/SCEventHeader.js +150 -0
  17. package/lib/cjs/components/SCEventInfoDetails.d.ts +43 -0
  18. package/lib/cjs/components/SCEventInfoDetails.js +43 -0
  19. package/lib/cjs/components/SCEventInfoWidget.d.ts +37 -0
  20. package/lib/cjs/components/SCEventInfoWidget.js +35 -0
  21. package/lib/cjs/components/SCEventInviteButton.d.ts +54 -0
  22. package/lib/cjs/components/SCEventInviteButton.js +57 -0
  23. package/lib/cjs/components/SCEventLocationWidget.d.ts +22 -0
  24. package/lib/cjs/components/SCEventLocationWidget.js +25 -0
  25. package/lib/cjs/components/SCEventMembersWidget.d.ts +68 -0
  26. package/lib/cjs/components/SCEventMembersWidget.js +64 -0
  27. package/lib/cjs/components/SCEventParticipantsButton.d.ts +33 -0
  28. package/lib/cjs/components/SCEventParticipantsButton.js +31 -0
  29. package/lib/cjs/components/SCEventSubscribeButton.d.ts +93 -0
  30. package/lib/cjs/components/SCEventSubscribeButton.js +87 -0
  31. package/lib/cjs/components/SCEvents.d.ts +86 -0
  32. package/lib/cjs/components/SCEvents.js +88 -0
  33. package/lib/cjs/components/SCFeedObject.d.ts +5 -5
  34. package/lib/cjs/components/SCFeedObject.js +5 -5
  35. package/lib/cjs/components/SCFeedUpdatesWidget.js +1 -1
  36. package/lib/cjs/components/SCMediaShare.d.ts +6 -1
  37. package/lib/cjs/components/SCMediaShare.js +6 -1
  38. package/lib/cjs/components/SCMyEventsWidget.d.ts +35 -0
  39. package/lib/cjs/components/SCMyEventsWidget.js +33 -0
  40. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  41. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  42. package/lib/cjs/components/SCNotification.d.ts +27 -0
  43. package/lib/cjs/components/SCNotification.js +27 -0
  44. package/lib/cjs/components/SCOnBoardingWidget.d.ts +451 -0
  45. package/lib/cjs/components/SCOnBoardingWidget.js +449 -0
  46. package/lib/cjs/components/SCPlatformWidget.d.ts +22 -1
  47. package/lib/cjs/components/SCPlatformWidget.js +22 -1
  48. package/lib/cjs/components/SCProgressBar.d.ts +23 -0
  49. package/lib/cjs/components/SCProgressBar.js +25 -0
  50. package/lib/cjs/components/SCRelatedEventsWidget.d.ts +101 -0
  51. package/lib/cjs/components/SCRelatedEventsWidget.js +97 -0
  52. package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +97 -0
  53. package/lib/cjs/components/SCSuggestedEventsWidget.js +95 -0
  54. package/lib/cjs/fonts/community/icons.eot +0 -0
  55. package/lib/cjs/fonts/community/icons.svg +17 -1
  56. package/lib/cjs/fonts/community/icons.ttf +0 -0
  57. package/lib/cjs/fonts/community/icons.woff +0 -0
  58. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  59. package/lib/cjs/fonts/community-icons.css +30 -6
  60. package/lib/cjs/index.d.ts +3706 -1923
  61. package/lib/cjs/index.js +209 -167
  62. package/lib/esm/components/MuiAutocomplete.js +3 -3
  63. package/lib/esm/components/MuiSelect.js +2 -2
  64. package/lib/esm/components/SCCalendar.d.ts +24 -0
  65. package/lib/esm/components/SCCalendar.js +22 -0
  66. package/lib/esm/components/SCCreateEventButton.d.ts +12 -0
  67. package/lib/esm/components/SCCreateEventButton.js +12 -0
  68. package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
  69. package/lib/esm/components/SCCreateEventWidget.js +52 -0
  70. package/lib/esm/components/SCEvent.d.ts +217 -0
  71. package/lib/esm/components/SCEvent.js +217 -0
  72. package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
  73. package/lib/esm/components/SCEventActionsMenu.js +26 -0
  74. package/lib/esm/components/SCEventForm.d.ts +103 -0
  75. package/lib/esm/components/SCEventForm.js +104 -0
  76. package/lib/esm/components/SCEventHeader.d.ts +147 -0
  77. package/lib/esm/components/SCEventHeader.js +148 -0
  78. package/lib/esm/components/SCEventInfoDetails.d.ts +43 -0
  79. package/lib/esm/components/SCEventInfoDetails.js +41 -0
  80. package/lib/esm/components/SCEventInfoWidget.d.ts +37 -0
  81. package/lib/esm/components/SCEventInfoWidget.js +33 -0
  82. package/lib/esm/components/SCEventInviteButton.d.ts +54 -0
  83. package/lib/esm/components/SCEventInviteButton.js +55 -0
  84. package/lib/esm/components/SCEventLocationWidget.d.ts +22 -0
  85. package/lib/esm/components/SCEventLocationWidget.js +23 -0
  86. package/lib/esm/components/SCEventMembersWidget.d.ts +68 -0
  87. package/lib/esm/components/SCEventMembersWidget.js +62 -0
  88. package/lib/esm/components/SCEventParticipantsButton.d.ts +33 -0
  89. package/lib/esm/components/SCEventParticipantsButton.js +29 -0
  90. package/lib/esm/components/SCEventSubscribeButton.d.ts +93 -0
  91. package/lib/esm/components/SCEventSubscribeButton.js +85 -0
  92. package/lib/esm/components/SCEvents.d.ts +86 -0
  93. package/lib/esm/components/SCEvents.js +86 -0
  94. package/lib/esm/components/SCFeedObject.d.ts +5 -5
  95. package/lib/esm/components/SCFeedObject.js +5 -5
  96. package/lib/esm/components/SCFeedUpdatesWidget.js +1 -1
  97. package/lib/esm/components/SCMediaShare.d.ts +6 -1
  98. package/lib/esm/components/SCMediaShare.js +6 -1
  99. package/lib/esm/components/SCMyEventsWidget.d.ts +35 -0
  100. package/lib/esm/components/SCMyEventsWidget.js +31 -0
  101. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  102. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  103. package/lib/esm/components/SCNotification.d.ts +27 -0
  104. package/lib/esm/components/SCNotification.js +27 -0
  105. package/lib/esm/components/SCOnBoardingWidget.d.ts +451 -0
  106. package/lib/esm/components/SCOnBoardingWidget.js +447 -0
  107. package/lib/esm/components/SCPlatformWidget.d.ts +22 -1
  108. package/lib/esm/components/SCPlatformWidget.js +22 -1
  109. package/lib/esm/components/SCProgressBar.d.ts +23 -0
  110. package/lib/esm/components/SCProgressBar.js +23 -0
  111. package/lib/esm/components/SCRelatedEventsWidget.d.ts +101 -0
  112. package/lib/esm/components/SCRelatedEventsWidget.js +95 -0
  113. package/lib/esm/components/SCSuggestedEventsWidget.d.ts +97 -0
  114. package/lib/esm/components/SCSuggestedEventsWidget.js +93 -0
  115. package/lib/esm/fonts/community/icons.eot +0 -0
  116. package/lib/esm/fonts/community/icons.svg +17 -1
  117. package/lib/esm/fonts/community/icons.ttf +0 -0
  118. package/lib/esm/fonts/community/icons.woff +0 -0
  119. package/lib/esm/fonts/community/icons.woff2 +0 -0
  120. package/lib/esm/fonts/community-icons.css +30 -6
  121. package/lib/esm/index.d.ts +3706 -1923
  122. package/lib/esm/index.js +209 -167
  123. package/lib/umd/community/icons.eot +0 -0
  124. package/lib/umd/community/icons.svg +17 -1
  125. package/lib/umd/community/icons.ttf +0 -0
  126. package/lib/umd/community/icons.woff +0 -0
  127. package/lib/umd/community/icons.woff2 +0 -0
  128. package/lib/umd/react-theme-default.js +3 -3
  129. 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,12 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiButton-startIcon': {
5
+ '& .MuiIcon-root': {
6
+ fontSize: string;
7
+ };
8
+ };
9
+ };
10
+ };
11
+ };
12
+ export default Component;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .MuiButton-startIcon': {
7
+ '& .MuiIcon-root': {
8
+ fontSize: '0.75rem !important'
9
+ }
10
+ }
11
+ })
12
+ }
13
+ };
14
+ 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;
@@ -0,0 +1,217 @@
1
+ declare const Component: {
2
+ styleOverrides: {
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
+ '& .SCEvent-detail-in-progress': {
11
+ backgroundColor: any;
12
+ position: string;
13
+ top: number;
14
+ right: number;
15
+ color: any;
16
+ boxShadow: string;
17
+ };
18
+ };
19
+ '& .SCEvent-detail-content': {
20
+ padding: string;
21
+ '& .SCEvent-detail-user': {
22
+ marginTop: string;
23
+ '& .SCBaseItemButton-text': {
24
+ margin: number;
25
+ };
26
+ };
27
+ '& .SCEvent-detail-name-wrapper': {
28
+ textDecoration: string;
29
+ color: string;
30
+ '& .SCEvent-detail-name': {
31
+ marginBottom: string;
32
+ };
33
+ };
34
+ '& .SCEvent-detail-first-divider': {
35
+ marginTop: string;
36
+ marginBottom: any;
37
+ };
38
+ '& .SCEvent-detail-second-divider': {
39
+ marginTop: any;
40
+ marginBottom: string;
41
+ };
42
+ };
43
+ };
44
+ previewRoot: ({ theme }: any) => {
45
+ '& .SCEvent-preview-image-wrapper': {
46
+ position: string;
47
+ '& .SCEvent-preview-image': {
48
+ height: string;
49
+ };
50
+ '& .SCEvent-preview-in-progress': {
51
+ height: number;
52
+ backgroundColor: any;
53
+ position: string;
54
+ top: number;
55
+ right: number;
56
+ color: any;
57
+ boxShadow: string;
58
+ '& span': {
59
+ fontSize: string;
60
+ paddingLeft: any;
61
+ paddingRight: any;
62
+ };
63
+ };
64
+ };
65
+ '& .SCEvent-preview-content': {
66
+ padding: string;
67
+ '& .SCEventInfoDetails-icon-text-wrapper': {
68
+ '& .MuiTypography-root': {
69
+ fontSize: string;
70
+ };
71
+ };
72
+ '& .SCEvent-detail-user': {
73
+ marginTop: string;
74
+ '& .SCBaseItemButton-text': {
75
+ margin: number;
76
+ };
77
+ };
78
+ '& .SCEvent-preview-name-wrapper': {
79
+ marginTop: number;
80
+ textDecoration: string;
81
+ color: string;
82
+ '& h5': {
83
+ whiteSpace: string;
84
+ overflow: string;
85
+ textOverflow: string;
86
+ };
87
+ };
88
+ };
89
+ };
90
+ snippetRoot: ({ theme }: any) => {
91
+ overflow: string;
92
+ boxSizing: string;
93
+ paddingLeft: string;
94
+ paddingRight: string;
95
+ '& .SCBaseItem-image': {
96
+ '& .MuiAvatar-root': {
97
+ width: number;
98
+ height: number;
99
+ '& img': {
100
+ borderRadius: string;
101
+ };
102
+ };
103
+ };
104
+ '& .SCEvent-snippet-image': {
105
+ position: string;
106
+ '& .SCEvent-snippet-in-progress': {
107
+ height: number;
108
+ backgroundColor: any;
109
+ position: string;
110
+ top: number;
111
+ right: number;
112
+ color: any;
113
+ boxShadow: string;
114
+ '& span': {
115
+ fontSize: string;
116
+ paddingLeft: any;
117
+ paddingRight: any;
118
+ };
119
+ };
120
+ };
121
+ '& .SCBaseItem-text': {
122
+ fontSize: any;
123
+ '& .SCEvent-snippet-primary': {
124
+ color: any;
125
+ textDecoration: string;
126
+ '&:hover': {
127
+ textDecoration: string;
128
+ };
129
+ '& p': {
130
+ fontWeight: any;
131
+ };
132
+ };
133
+ '& .SCEvent-snippet-secondary': {
134
+ color: any;
135
+ };
136
+ };
137
+ };
138
+ skeletonRoot: ({ theme }: any) => {
139
+ '& .SCEvent-skeleton-detail-root': {
140
+ '& .SCEvent-skeleton-detail-calendar': {
141
+ position: string;
142
+ bottom: string;
143
+ left: string;
144
+ boxShadow: string;
145
+ };
146
+ '& .SCEvent-skeleton-detail-content': {
147
+ padding: string;
148
+ '& .SCEvent-skeleton-detail-user': {
149
+ marginTop: string;
150
+ '& .SCBaseItemButton-text': {
151
+ margin: number;
152
+ };
153
+ };
154
+ '& .SCEvent-skeleton-detail-name-wrapper': {
155
+ textDecoration: string;
156
+ color: string;
157
+ '& .SCEvent-skeleton-detail-name': {
158
+ marginBottom: string;
159
+ };
160
+ };
161
+ '& .SCEvent-skeleton-detail-first-divider': {
162
+ marginTop: string;
163
+ marginBottom: any;
164
+ };
165
+ '& .SCEvent-skeleton-detail-second-divider': {
166
+ marginTop: any;
167
+ marginBottom: string;
168
+ };
169
+ };
170
+ };
171
+ '& .SCEvent-skeleton-preview-root': {
172
+ '& .SCEvent-skeleton-preview-content': {
173
+ padding: any;
174
+ };
175
+ '& .SCEvent-skeleton-preview-image': {
176
+ position: string;
177
+ '& .MuiSkeleton-root': {
178
+ borderRadius: string;
179
+ };
180
+ '& .MuiIcon-root': {
181
+ color: any;
182
+ position: string;
183
+ top: string;
184
+ left: string;
185
+ transform: string;
186
+ };
187
+ };
188
+ '& .SCBaseItem-actions': {
189
+ maxWidth: string;
190
+ };
191
+ };
192
+ '& .SCEvent-skeleton-snippet-root': {
193
+ overflow: string;
194
+ boxSizing: string;
195
+ paddingLeft: string;
196
+ paddingRight: string;
197
+ '& .SCEvent-skeleton-snippet-image': {
198
+ position: string;
199
+ '& .MuiSkeleton-root': {
200
+ borderRadius: string;
201
+ };
202
+ '& .MuiIcon-root': {
203
+ color: any;
204
+ position: string;
205
+ top: string;
206
+ left: string;
207
+ transform: string;
208
+ };
209
+ };
210
+ '& .SCBaseItem-actions': {
211
+ maxWidth: string;
212
+ };
213
+ };
214
+ };
215
+ };
216
+ };
217
+ export default Component;
@@ -0,0 +1,219 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ detailRoot: ({ theme }) => ({
7
+ '& .SCEvent-detail-image-wrapper': {
8
+ position: 'relative',
9
+ '& .SCEvent-detail-image': {
10
+ height: '170px'
11
+ },
12
+ '& .SCEvent-detail-in-progress': {
13
+ backgroundColor: theme.palette.secondary.main,
14
+ position: 'absolute',
15
+ top: 10,
16
+ right: 10,
17
+ color: theme.palette.common.white,
18
+ boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px'
19
+ }
20
+ },
21
+ '& .SCEvent-detail-content': {
22
+ padding: `52px ${theme.spacing(3)} 0 !important`,
23
+ '& .SCEvent-detail-user': {
24
+ marginTop: '14px',
25
+ '& .SCBaseItemButton-text': {
26
+ margin: 0
27
+ }
28
+ },
29
+ '& .SCEvent-detail-name-wrapper': {
30
+ textDecoration: 'none',
31
+ color: 'inherit',
32
+ '& .SCEvent-detail-name': {
33
+ marginBottom: '10px'
34
+ }
35
+ },
36
+ '& .SCEvent-detail-first-divider': {
37
+ marginTop: '18px',
38
+ marginBottom: theme.spacing()
39
+ },
40
+ '& .SCEvent-detail-second-divider': {
41
+ marginTop: theme.spacing(),
42
+ marginBottom: '18px'
43
+ }
44
+ }
45
+ }),
46
+ previewRoot: ({ theme }) => ({
47
+ '& .SCEvent-preview-image-wrapper': {
48
+ position: 'relative',
49
+ '& .SCEvent-preview-image': {
50
+ height: '80px'
51
+ },
52
+ '& .SCEvent-preview-in-progress': {
53
+ height: 18,
54
+ backgroundColor: theme.palette.secondary.main,
55
+ position: 'absolute',
56
+ top: 7,
57
+ right: 7,
58
+ color: theme.palette.common.white,
59
+ boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
60
+ '& span': {
61
+ fontSize: '0.8rem',
62
+ paddingLeft: theme.spacing(0.5),
63
+ paddingRight: theme.spacing(0.5)
64
+ }
65
+ }
66
+ },
67
+ '& .SCEvent-preview-content': {
68
+ padding: `${theme.spacing()} !important`,
69
+ '& .SCEventInfoDetails-icon-text-wrapper': {
70
+ '& .MuiTypography-root': {
71
+ fontSize: '0.8rem'
72
+ }
73
+ },
74
+ '& .SCEvent-detail-user': {
75
+ marginTop: '14px',
76
+ '& .SCBaseItemButton-text': {
77
+ margin: 0
78
+ }
79
+ },
80
+ '& .SCEvent-preview-name-wrapper': {
81
+ marginTop: 3,
82
+ textDecoration: 'none',
83
+ color: 'inherit',
84
+ '& h5': {
85
+ whiteSpace: 'nowrap',
86
+ overflow: 'hidden',
87
+ textOverflow: 'ellipsis'
88
+ }
89
+ }
90
+ }
91
+ }),
92
+ snippetRoot: ({ theme }) => ({
93
+ overflow: 'visible',
94
+ boxSizing: 'border-box',
95
+ paddingLeft: `${theme.spacing()} !important`,
96
+ paddingRight: `${theme.spacing()} !important`,
97
+ '& .SCBaseItem-image': {
98
+ '& .MuiAvatar-root': {
99
+ width: 100,
100
+ height: 60,
101
+ '& img': {
102
+ borderRadius: '5px'
103
+ }
104
+ }
105
+ },
106
+ '& .SCEvent-snippet-image': {
107
+ position: 'relative',
108
+ '& .SCEvent-snippet-in-progress': {
109
+ height: 18,
110
+ backgroundColor: theme.palette.secondary.main,
111
+ position: 'absolute',
112
+ top: 5,
113
+ right: 3,
114
+ color: theme.palette.common.white,
115
+ boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
116
+ '& span': {
117
+ fontSize: '0.8rem',
118
+ paddingLeft: theme.spacing(0.5),
119
+ paddingRight: theme.spacing(0.5)
120
+ }
121
+ }
122
+ },
123
+ '& .SCBaseItem-text': {
124
+ fontSize: theme.typography.fontSize,
125
+ '& .SCEvent-snippet-primary': {
126
+ color: theme.palette.text.primary,
127
+ textDecoration: 'none',
128
+ '&:hover': {
129
+ textDecoration: 'none'
130
+ },
131
+ '& p': {
132
+ fontWeight: theme.typography.fontWeightBold
133
+ }
134
+ },
135
+ '& .SCEvent-snippet-secondary': {
136
+ color: theme.palette.text.secondary
137
+ }
138
+ }
139
+ }),
140
+ skeletonRoot: ({ theme }) => ({
141
+ '& .SCEvent-skeleton-detail-root': {
142
+ '& .SCEvent-skeleton-detail-calendar': {
143
+ position: 'absolute',
144
+ bottom: '-36px',
145
+ left: '24px',
146
+ boxShadow: '0px 3px 8px #00000040'
147
+ },
148
+ '& .SCEvent-skeleton-detail-content': {
149
+ padding: `52px ${theme.spacing(3)} 0 !important`,
150
+ '& .SCEvent-skeleton-detail-user': {
151
+ marginTop: '14px',
152
+ '& .SCBaseItemButton-text': {
153
+ margin: 0
154
+ }
155
+ },
156
+ '& .SCEvent-skeleton-detail-name-wrapper': {
157
+ textDecoration: 'none',
158
+ color: 'inherit',
159
+ '& .SCEvent-skeleton-detail-name': {
160
+ marginBottom: '10px'
161
+ }
162
+ },
163
+ '& .SCEvent-skeleton-detail-first-divider': {
164
+ marginTop: '18px',
165
+ marginBottom: theme.spacing()
166
+ },
167
+ '& .SCEvent-skeleton-detail-second-divider': {
168
+ marginTop: theme.spacing(),
169
+ marginBottom: '18px'
170
+ }
171
+ }
172
+ },
173
+ '& .SCEvent-skeleton-preview-root': {
174
+ '& .SCEvent-skeleton-preview-content': {
175
+ padding: theme.spacing()
176
+ },
177
+ '& .SCEvent-skeleton-preview-image': {
178
+ position: 'relative',
179
+ '& .MuiSkeleton-root': {
180
+ borderRadius: '5px'
181
+ },
182
+ '& .MuiIcon-root': {
183
+ color: theme.palette.common.white,
184
+ position: 'absolute',
185
+ top: '50%',
186
+ left: '50%',
187
+ transform: 'translate(-50%, -50%)'
188
+ }
189
+ },
190
+ '& .SCBaseItem-actions': {
191
+ maxWidth: 'none !important'
192
+ }
193
+ },
194
+ '& .SCEvent-skeleton-snippet-root': {
195
+ overflow: 'visible',
196
+ boxSizing: 'border-box',
197
+ paddingLeft: `${theme.spacing()} !important`,
198
+ paddingRight: `${theme.spacing()} !important`,
199
+ '& .SCEvent-skeleton-snippet-image': {
200
+ position: 'relative',
201
+ '& .MuiSkeleton-root': {
202
+ borderRadius: '5px'
203
+ },
204
+ '& .MuiIcon-root': {
205
+ color: theme.palette.common.white,
206
+ position: 'absolute',
207
+ top: '50%',
208
+ left: '50%',
209
+ transform: 'translate(-50%, -50%)'
210
+ }
211
+ },
212
+ '& .SCBaseItem-actions': {
213
+ maxWidth: 'none !important'
214
+ }
215
+ }
216
+ })
217
+ }
218
+ };
219
+ exports.default = Component;
@@ -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;