@selfcommunity/react-theme-default 0.2.0-alpha.1 → 0.2.0-alpha.10
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/SCEventForm.d.ts +8 -0
- package/lib/cjs/components/SCEventForm.js +10 -2
- package/lib/cjs/components/SCEventHeader.js +1 -1
- package/lib/cjs/components/SCMediaLink.d.ts +47 -1
- package/lib/cjs/components/SCMediaLink.js +52 -2
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +5 -4
- package/lib/cjs/components/SCOnBoardingWidget.js +8 -6
- package/lib/cjs/index.d.ts +60 -5
- package/lib/esm/components/SCEventForm.d.ts +8 -0
- package/lib/esm/components/SCEventForm.js +10 -2
- package/lib/esm/components/SCEventHeader.js +1 -1
- package/lib/esm/components/SCMediaLink.d.ts +47 -1
- package/lib/esm/components/SCMediaLink.js +52 -2
- package/lib/esm/components/SCOnBoardingWidget.d.ts +5 -4
- package/lib/esm/components/SCOnBoardingWidget.js +8 -6
- package/lib/esm/index.d.ts +60 -5
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -316,16 +316,17 @@ const Component = {
|
|
|
316
316
|
boxShadow: 'unset',
|
|
317
317
|
[theme.breakpoints.up('md')]: {
|
|
318
318
|
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
319
|
-
}
|
|
319
|
+
},
|
|
320
|
+
display: 'flex',
|
|
321
|
+
flexDirection: 'row'
|
|
320
322
|
},
|
|
321
323
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
322
324
|
alignSelf: 'end'
|
|
323
325
|
},
|
|
324
326
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
327
|
+
position: 'relative',
|
|
325
328
|
top: 100,
|
|
326
|
-
[theme.breakpoints.up('sm')]: { top: 150 },
|
|
327
329
|
display: 'block',
|
|
328
|
-
position: 'absolute',
|
|
329
330
|
marginLeft: theme.spacing(2),
|
|
330
331
|
'& > .MuiBadge-root > img': {
|
|
331
332
|
height: theme.selfcommunity.user.avatar.sizeXLarge,
|
|
@@ -344,9 +345,10 @@ const Component = {
|
|
|
344
345
|
}
|
|
345
346
|
},
|
|
346
347
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
347
|
-
top:
|
|
348
|
-
|
|
349
|
-
left:
|
|
348
|
+
[theme.breakpoints.down('sm')]: { top: 167, left: -45 },
|
|
349
|
+
top: 165,
|
|
350
|
+
left: -40,
|
|
351
|
+
height: 28,
|
|
350
352
|
position: 'relative',
|
|
351
353
|
display: 'flex',
|
|
352
354
|
marginLeft: theme.spacing(2)
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -4171,6 +4171,31 @@ declare const theme: {
|
|
|
4171
4171
|
margin: string;
|
|
4172
4172
|
height: number;
|
|
4173
4173
|
};
|
|
4174
|
+
'& .SCMediaLink-html-wrap': {
|
|
4175
|
+
position: string;
|
|
4176
|
+
marginLeft: any;
|
|
4177
|
+
marginRight: any;
|
|
4178
|
+
'& .SCMediaLink-html': {
|
|
4179
|
+
width: string;
|
|
4180
|
+
position: string;
|
|
4181
|
+
top: number;
|
|
4182
|
+
'& iframe': {
|
|
4183
|
+
width: string;
|
|
4184
|
+
margin: string;
|
|
4185
|
+
};
|
|
4186
|
+
};
|
|
4187
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4188
|
+
width: string;
|
|
4189
|
+
position: string;
|
|
4190
|
+
top: number;
|
|
4191
|
+
'& .SCMediaLink-html-loading': {
|
|
4192
|
+
position: string;
|
|
4193
|
+
display: string;
|
|
4194
|
+
top: string;
|
|
4195
|
+
left: string;
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
};
|
|
4174
4199
|
'& .SCMediaLink-thumbnail': {
|
|
4175
4200
|
[x: number]: {
|
|
4176
4201
|
maxWidth: number;
|
|
@@ -4211,12 +4236,33 @@ declare const theme: {
|
|
|
4211
4236
|
previewRoot: ({ theme }: any) => {
|
|
4212
4237
|
'& .SCMediaLink-media': {
|
|
4213
4238
|
position: string;
|
|
4214
|
-
|
|
4239
|
+
'& .SCMediaLink-html-wrap': {
|
|
4240
|
+
'& .SCMediaLink-html': {
|
|
4241
|
+
width: string;
|
|
4242
|
+
position: string;
|
|
4243
|
+
'& iframe': {
|
|
4244
|
+
width: string;
|
|
4245
|
+
margin: string;
|
|
4246
|
+
};
|
|
4247
|
+
};
|
|
4248
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4249
|
+
width: string;
|
|
4250
|
+
position: string;
|
|
4251
|
+
top: number;
|
|
4252
|
+
'& .SCMediaLink-html-loading': {
|
|
4253
|
+
position: string;
|
|
4254
|
+
display: string;
|
|
4255
|
+
top: string;
|
|
4256
|
+
left: string;
|
|
4257
|
+
};
|
|
4258
|
+
};
|
|
4259
|
+
};
|
|
4215
4260
|
'& .SCMediaLink-delete': {
|
|
4216
4261
|
background: any;
|
|
4217
4262
|
position: string;
|
|
4218
4263
|
right: any;
|
|
4219
4264
|
top: any;
|
|
4265
|
+
zIndex: number;
|
|
4220
4266
|
};
|
|
4221
4267
|
'&.SCMediaLink-media-video .SCMediaLink-delete': {
|
|
4222
4268
|
background: any;
|
|
@@ -5211,17 +5257,16 @@ declare const theme: {
|
|
|
5211
5257
|
borderRadius: number;
|
|
5212
5258
|
background: string;
|
|
5213
5259
|
boxShadow: string;
|
|
5260
|
+
display: string;
|
|
5261
|
+
flexDirection: string;
|
|
5214
5262
|
};
|
|
5215
5263
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
5216
5264
|
alignSelf: string;
|
|
5217
5265
|
};
|
|
5218
5266
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
5219
|
-
|
|
5220
|
-
top: number;
|
|
5221
|
-
};
|
|
5267
|
+
position: string;
|
|
5222
5268
|
top: number;
|
|
5223
5269
|
display: string;
|
|
5224
|
-
position: string;
|
|
5225
5270
|
marginLeft: any;
|
|
5226
5271
|
'& > .MuiBadge-root > img': {
|
|
5227
5272
|
height: any;
|
|
@@ -5242,9 +5287,11 @@ declare const theme: {
|
|
|
5242
5287
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5243
5288
|
[x: number]: {
|
|
5244
5289
|
top: number;
|
|
5290
|
+
left: number;
|
|
5245
5291
|
};
|
|
5246
5292
|
top: number;
|
|
5247
5293
|
left: number;
|
|
5294
|
+
height: number;
|
|
5248
5295
|
position: string;
|
|
5249
5296
|
display: string;
|
|
5250
5297
|
marginLeft: any;
|
|
@@ -6705,6 +6752,10 @@ declare const theme: {
|
|
|
6705
6752
|
'& .SCEventForm-form': {
|
|
6706
6753
|
'& .SCEventForm-picker': {
|
|
6707
6754
|
width: string;
|
|
6755
|
+
'& .MuiFormHelperText-root': {
|
|
6756
|
+
height: number;
|
|
6757
|
+
marginTop: number;
|
|
6758
|
+
};
|
|
6708
6759
|
};
|
|
6709
6760
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
6710
6761
|
marginBottom: any;
|
|
@@ -6722,6 +6773,9 @@ declare const theme: {
|
|
|
6722
6773
|
alignItems: string;
|
|
6723
6774
|
justifyContent: string;
|
|
6724
6775
|
gap: any;
|
|
6776
|
+
'& .MuiInputBase-root': {
|
|
6777
|
+
paddingLeft: any;
|
|
6778
|
+
};
|
|
6725
6779
|
};
|
|
6726
6780
|
'& .SCEventForm-error': {
|
|
6727
6781
|
color: any;
|
|
@@ -6767,6 +6821,7 @@ declare const theme: {
|
|
|
6767
6821
|
};
|
|
6768
6822
|
};
|
|
6769
6823
|
'& .SCEventForm-event-address-root': {
|
|
6824
|
+
marginTop: any;
|
|
6770
6825
|
backgroundColor: any;
|
|
6771
6826
|
borderRadius: number;
|
|
6772
6827
|
'& .SCEventForm-event-address-tabs': {
|