@selfcommunity/react-theme-default 1.2.0-alpha.0 → 1.2.0-alpha.2
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/SCAccordionLessons.d.ts +3 -0
- package/lib/cjs/components/SCAccordionLessons.js +27 -9
- package/lib/cjs/components/SCCategoryAutocomplete.d.ts +5 -1
- package/lib/cjs/components/SCCategoryAutocomplete.js +8 -1
- package/lib/cjs/components/SCCommentObject.js +5 -3
- package/lib/cjs/components/SCCourseCompletedDialog.d.ts +6 -1
- package/lib/cjs/components/SCCourseCompletedDialog.js +7 -1
- package/lib/cjs/components/SCCourseDashboard.d.ts +3 -2
- package/lib/cjs/components/SCCourseDashboard.js +59 -20
- package/lib/cjs/components/SCCourseForm.d.ts +1 -1
- package/lib/cjs/components/SCCourseForm.js +34 -12
- package/lib/cjs/components/SCCourseParticipantsButton.d.ts +4 -2
- package/lib/cjs/components/SCCourseParticipantsButton.js +9 -2
- package/lib/cjs/components/SCCourseUsersTable.d.ts +12 -0
- package/lib/cjs/components/SCCourseUsersTable.js +29 -4
- package/lib/cjs/components/SCEditCourse.d.ts +2 -3
- package/lib/cjs/components/SCEditCourse.js +67 -24
- package/lib/cjs/components/SCEmptyStatus.d.ts +3 -0
- package/lib/cjs/components/SCEmptyStatus.js +12 -2
- package/lib/cjs/components/SCEventForm.js +7 -3
- package/lib/cjs/components/SCEventMembersWidget.js +7 -2
- package/lib/cjs/components/SCFeedObject.d.ts +3 -2
- package/lib/cjs/components/SCFeedObject.js +22 -11
- package/lib/cjs/components/SCLessonDrawer.d.ts +3 -0
- package/lib/cjs/components/SCLessonDrawer.js +9 -1
- package/lib/cjs/components/SCLessonEditForm.d.ts +3 -0
- package/lib/cjs/components/SCLessonEditForm.js +6 -0
- package/lib/cjs/components/SCLessonReleaseMenu.d.ts +3 -0
- package/lib/cjs/components/SCLessonReleaseMenu.js +6 -0
- package/lib/cjs/components/SCLessonTemplate.d.ts +3 -0
- package/lib/cjs/components/SCLessonTemplate.js +6 -1
- package/lib/cjs/components/SCMediaFile.d.ts +3 -1
- package/lib/cjs/components/SCMediaFile.js +11 -4
- package/lib/cjs/index.d.ts +60 -14
- package/lib/esm/components/SCAccordionLessons.d.ts +3 -0
- package/lib/esm/components/SCAccordionLessons.js +27 -9
- package/lib/esm/components/SCCategoryAutocomplete.d.ts +5 -1
- package/lib/esm/components/SCCategoryAutocomplete.js +8 -1
- package/lib/esm/components/SCCommentObject.js +4 -2
- package/lib/esm/components/SCCourseCompletedDialog.d.ts +6 -1
- package/lib/esm/components/SCCourseCompletedDialog.js +7 -1
- package/lib/esm/components/SCCourseDashboard.d.ts +3 -2
- package/lib/esm/components/SCCourseDashboard.js +60 -21
- package/lib/esm/components/SCCourseForm.d.ts +1 -1
- package/lib/esm/components/SCCourseForm.js +35 -13
- package/lib/esm/components/SCCourseParticipantsButton.d.ts +4 -2
- package/lib/esm/components/SCCourseParticipantsButton.js +9 -2
- package/lib/esm/components/SCCourseUsersTable.d.ts +12 -0
- package/lib/esm/components/SCCourseUsersTable.js +29 -4
- package/lib/esm/components/SCEditCourse.d.ts +2 -3
- package/lib/esm/components/SCEditCourse.js +68 -25
- package/lib/esm/components/SCEmptyStatus.d.ts +3 -0
- package/lib/esm/components/SCEmptyStatus.js +12 -2
- package/lib/esm/components/SCEventForm.js +7 -3
- package/lib/esm/components/SCEventMembersWidget.js +7 -2
- package/lib/esm/components/SCFeedObject.d.ts +3 -2
- package/lib/esm/components/SCFeedObject.js +17 -6
- package/lib/esm/components/SCLessonDrawer.d.ts +3 -0
- package/lib/esm/components/SCLessonDrawer.js +9 -1
- package/lib/esm/components/SCLessonEditForm.d.ts +3 -0
- package/lib/esm/components/SCLessonEditForm.js +6 -0
- package/lib/esm/components/SCLessonReleaseMenu.d.ts +3 -0
- package/lib/esm/components/SCLessonReleaseMenu.js +6 -0
- package/lib/esm/components/SCLessonTemplate.d.ts +3 -0
- package/lib/esm/components/SCLessonTemplate.js +6 -1
- package/lib/esm/components/SCMediaFile.d.ts +3 -1
- package/lib/esm/components/SCMediaFile.js +11 -4
- package/lib/esm/index.d.ts +60 -14
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
package/lib/esm/index.d.ts
CHANGED
|
@@ -249,6 +249,9 @@ declare const theme: {
|
|
|
249
249
|
backgroundColor: any;
|
|
250
250
|
border: string;
|
|
251
251
|
borderRadius: string;
|
|
252
|
+
'& .SCAccordionLessons-contrast-color': {
|
|
253
|
+
color: string;
|
|
254
|
+
};
|
|
252
255
|
'& .SCAccordionLessons-empty': {
|
|
253
256
|
padding: any;
|
|
254
257
|
};
|
|
@@ -808,7 +811,11 @@ declare const theme: {
|
|
|
808
811
|
};
|
|
809
812
|
SCCategoryAutocomplete: {
|
|
810
813
|
styleOverrides: {
|
|
811
|
-
root: ({ theme }: any) => {
|
|
814
|
+
root: ({ theme }: any) => {
|
|
815
|
+
'& .SCCategoryAutocomplete-contrast-color': {
|
|
816
|
+
color: string;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
812
819
|
};
|
|
813
820
|
};
|
|
814
821
|
SCCategoryFeedTemplate: {
|
|
@@ -2162,7 +2169,7 @@ declare const theme: {
|
|
|
2162
2169
|
marginBottom: string;
|
|
2163
2170
|
};
|
|
2164
2171
|
'& .SCCourseDashboard-contrast-color': {
|
|
2165
|
-
color:
|
|
2172
|
+
color: string;
|
|
2166
2173
|
};
|
|
2167
2174
|
'& .SCCourseDashboard-header': {
|
|
2168
2175
|
[x: number]: {
|
|
@@ -2320,6 +2327,7 @@ declare const theme: {
|
|
|
2320
2327
|
flexDirection: string;
|
|
2321
2328
|
alignItems: string;
|
|
2322
2329
|
justifyContent: string;
|
|
2330
|
+
color: string;
|
|
2323
2331
|
backgroundColor: any;
|
|
2324
2332
|
padding: string;
|
|
2325
2333
|
'& .SCCourseDashboard-user': {
|
|
@@ -2348,7 +2356,7 @@ declare const theme: {
|
|
|
2348
2356
|
'& .SCBuyButton-request-root': {
|
|
2349
2357
|
'&:hover, &:active': {
|
|
2350
2358
|
backgroundColor: any;
|
|
2351
|
-
color:
|
|
2359
|
+
color: string;
|
|
2352
2360
|
border: string;
|
|
2353
2361
|
'& .MuiIcon-root': {
|
|
2354
2362
|
color: any;
|
|
@@ -2530,7 +2538,9 @@ declare const theme: {
|
|
|
2530
2538
|
borderTopRightRadius: string;
|
|
2531
2539
|
padding: string;
|
|
2532
2540
|
'& .SCCourseDashboard-circle': {
|
|
2533
|
-
width: string;
|
|
2541
|
+
width: string; /**
|
|
2542
|
+
* Export default theme
|
|
2543
|
+
*/
|
|
2534
2544
|
height: string;
|
|
2535
2545
|
borderRadius: number;
|
|
2536
2546
|
};
|
|
@@ -2684,7 +2694,7 @@ declare const theme: {
|
|
|
2684
2694
|
theme: any;
|
|
2685
2695
|
}) => {
|
|
2686
2696
|
'& .SCCourseForm-contrast-color': {
|
|
2687
|
-
color:
|
|
2697
|
+
color: string;
|
|
2688
2698
|
};
|
|
2689
2699
|
'& .SCCourseForm-cover': {
|
|
2690
2700
|
position: string;
|
|
@@ -2885,12 +2895,15 @@ declare const theme: {
|
|
|
2885
2895
|
'&:hover': {
|
|
2886
2896
|
backgroundColor: string;
|
|
2887
2897
|
};
|
|
2898
|
+
'& .SCCourseParticipantsButton-contrast-color': {
|
|
2899
|
+
color: string;
|
|
2900
|
+
};
|
|
2888
2901
|
'& .MuiAvatarGroup-root': {
|
|
2889
2902
|
'&:not(.SCAvatarCourseSkeleton-root) .MuiAvatar-root': {
|
|
2890
2903
|
'&.MuiAvatar-colorDefault': {
|
|
2891
2904
|
marginLeft: number;
|
|
2892
2905
|
backgroundColor: string;
|
|
2893
|
-
color:
|
|
2906
|
+
color: string;
|
|
2894
2907
|
border: string;
|
|
2895
2908
|
borderRadius: number;
|
|
2896
2909
|
padding: number;
|
|
@@ -2909,7 +2922,6 @@ declare const theme: {
|
|
|
2909
2922
|
};
|
|
2910
2923
|
};
|
|
2911
2924
|
'& .SCCourseParticipantsButton-participants': {
|
|
2912
|
-
color: any;
|
|
2913
2925
|
'& .MuiIcon-root': {
|
|
2914
2926
|
marginRight: any;
|
|
2915
2927
|
};
|
|
@@ -3003,10 +3015,16 @@ declare const theme: {
|
|
|
3003
3015
|
borderRadius: string;
|
|
3004
3016
|
padding: any;
|
|
3005
3017
|
backgroundColor: any;
|
|
3018
|
+
'& .SCCourseUsersTable-contrast-color': {
|
|
3019
|
+
color: string;
|
|
3020
|
+
};
|
|
3006
3021
|
'& .SCCourseUsersTable-search': {
|
|
3007
3022
|
'& > .MuiInputBase-root': {
|
|
3008
3023
|
borderBottomLeftRadius: string;
|
|
3009
3024
|
borderBottomRightRadius: string;
|
|
3025
|
+
'& > input': {
|
|
3026
|
+
color: string;
|
|
3027
|
+
};
|
|
3010
3028
|
};
|
|
3011
3029
|
'& .SCCourseUsersTable-end-adornment-wrapper': {
|
|
3012
3030
|
flexDirection: string;
|
|
@@ -3057,10 +3075,16 @@ declare const theme: {
|
|
|
3057
3075
|
dialogRoot: ({ theme }: {
|
|
3058
3076
|
theme: any;
|
|
3059
3077
|
}) => {
|
|
3078
|
+
'& .MuiDialogTitle-root': {
|
|
3079
|
+
color: string;
|
|
3080
|
+
};
|
|
3060
3081
|
'& .MuiDialogContent-root': {
|
|
3061
3082
|
[x: number]: {
|
|
3062
3083
|
paddingBottom: string;
|
|
3063
3084
|
};
|
|
3085
|
+
'& .SCCourseUsersTable-contrast-color': {
|
|
3086
|
+
color: string;
|
|
3087
|
+
};
|
|
3064
3088
|
'& .SCCourseUsersTable-content-wrapper': {
|
|
3065
3089
|
[x: number]: {
|
|
3066
3090
|
marginTop: string;
|
|
@@ -3539,7 +3563,7 @@ declare const theme: {
|
|
|
3539
3563
|
marginBottom: string;
|
|
3540
3564
|
};
|
|
3541
3565
|
'& .SCEditCourse-contrast-color': {
|
|
3542
|
-
color:
|
|
3566
|
+
color: string;
|
|
3543
3567
|
};
|
|
3544
3568
|
'& .SCEditCourse-header': {
|
|
3545
3569
|
[x: number]: {
|
|
@@ -3699,10 +3723,9 @@ declare const theme: {
|
|
|
3699
3723
|
alignItems: string;
|
|
3700
3724
|
gap: string;
|
|
3701
3725
|
'& .SCEditCourse-change-lesson-status-published-wrapper': {
|
|
3702
|
-
color: any;
|
|
3703
3726
|
backgroundColor: any;
|
|
3704
3727
|
'& .MuiIcon-root': {
|
|
3705
|
-
color:
|
|
3728
|
+
color: string;
|
|
3706
3729
|
};
|
|
3707
3730
|
};
|
|
3708
3731
|
'& .SCEditCourse-change-lesson-status-icon-draft': {
|
|
@@ -4194,6 +4217,7 @@ declare const theme: {
|
|
|
4194
4217
|
};
|
|
4195
4218
|
'& hr': {
|
|
4196
4219
|
margin: string;
|
|
4220
|
+
borderColor: string;
|
|
4197
4221
|
};
|
|
4198
4222
|
'& a': {
|
|
4199
4223
|
color: any;
|
|
@@ -4340,7 +4364,7 @@ declare const theme: {
|
|
|
4340
4364
|
fontWeight: any;
|
|
4341
4365
|
marginTop: any;
|
|
4342
4366
|
marginBottom: number;
|
|
4343
|
-
color:
|
|
4367
|
+
color: string;
|
|
4344
4368
|
'&:hover': {
|
|
4345
4369
|
color: string;
|
|
4346
4370
|
};
|
|
@@ -4349,7 +4373,7 @@ declare const theme: {
|
|
|
4349
4373
|
borderColor: any;
|
|
4350
4374
|
};
|
|
4351
4375
|
'& .SCFeedObject-action-vote-button, & .SCFeedObject-action-comment-button, & .SCFeedObject-action-share-button, & .SCReactionAction-button': {
|
|
4352
|
-
color:
|
|
4376
|
+
color: string;
|
|
4353
4377
|
marginTop: any;
|
|
4354
4378
|
marginBottom: any;
|
|
4355
4379
|
borderRadius: string;
|
|
@@ -5656,6 +5680,9 @@ declare const theme: {
|
|
|
5656
5680
|
width: string;
|
|
5657
5681
|
flexShrink?: undefined;
|
|
5658
5682
|
};
|
|
5683
|
+
'& .SCLessonDrawer-contrast-color': {
|
|
5684
|
+
color: string;
|
|
5685
|
+
};
|
|
5659
5686
|
'& h4': {
|
|
5660
5687
|
fontWeight: any;
|
|
5661
5688
|
};
|
|
@@ -5890,9 +5917,14 @@ declare const theme: {
|
|
|
5890
5917
|
};
|
|
5891
5918
|
SCCourseCompletedDialog: {
|
|
5892
5919
|
styleOverrides: {
|
|
5893
|
-
root: (
|
|
5920
|
+
root: ({ theme }: {
|
|
5921
|
+
theme: any;
|
|
5922
|
+
}) => {
|
|
5894
5923
|
'& .SCCourseCompletedDialog-wrapper': {
|
|
5895
5924
|
alignItems: string;
|
|
5925
|
+
'& .SCCourseCompletedDialog-contrast-color': {
|
|
5926
|
+
color: string;
|
|
5927
|
+
};
|
|
5896
5928
|
'& .SCCourseCompletedDialog-title': {
|
|
5897
5929
|
marginTop: string;
|
|
5898
5930
|
marginBottom: string;
|
|
@@ -5919,6 +5951,9 @@ declare const theme: {
|
|
|
5919
5951
|
display: string;
|
|
5920
5952
|
flexDirection: string;
|
|
5921
5953
|
justifyContent: string;
|
|
5954
|
+
'& .SCLessonEditForm-contrast-color': {
|
|
5955
|
+
color: string;
|
|
5956
|
+
};
|
|
5922
5957
|
'& .SCLessonEditForm-form': {
|
|
5923
5958
|
display: string;
|
|
5924
5959
|
flexDirection: string;
|
|
@@ -5974,6 +6009,9 @@ declare const theme: {
|
|
|
5974
6009
|
styleOverrides: {
|
|
5975
6010
|
root: () => {};
|
|
5976
6011
|
containerRoot: ({ theme, open }: any) => {
|
|
6012
|
+
'& .SCLessonTemplate-contrast-color': {
|
|
6013
|
+
color: string;
|
|
6014
|
+
};
|
|
5977
6015
|
'& .SCLessonTemplate-navigation-title': {
|
|
5978
6016
|
display: string;
|
|
5979
6017
|
alignItems: string;
|
|
@@ -6072,6 +6110,9 @@ declare const theme: {
|
|
|
6072
6110
|
popoverRoot: ({ theme }: any) => {
|
|
6073
6111
|
width: string;
|
|
6074
6112
|
borderRadius: string;
|
|
6113
|
+
'& .SCLessonReleaseMenu-popover-contrast-color': {
|
|
6114
|
+
color: string;
|
|
6115
|
+
};
|
|
6075
6116
|
'& .MuiPaper-root': {
|
|
6076
6117
|
padding: any;
|
|
6077
6118
|
};
|
|
@@ -6703,6 +6744,9 @@ declare const theme: {
|
|
|
6703
6744
|
padding: any;
|
|
6704
6745
|
flexDirection: string;
|
|
6705
6746
|
gap: string;
|
|
6747
|
+
'& .SCMediaFile-contrast-color': {
|
|
6748
|
+
color: string;
|
|
6749
|
+
};
|
|
6706
6750
|
'& .SCMediaFile-image-wrapper': {
|
|
6707
6751
|
flexShrink: number;
|
|
6708
6752
|
padding: number;
|
|
@@ -6724,7 +6768,6 @@ declare const theme: {
|
|
|
6724
6768
|
};
|
|
6725
6769
|
'& .SCMediaFile-subtitle': {
|
|
6726
6770
|
textAlign: string;
|
|
6727
|
-
color: any;
|
|
6728
6771
|
};
|
|
6729
6772
|
};
|
|
6730
6773
|
'& .SCMediaFile-action-wrapper': {
|
|
@@ -11113,6 +11156,9 @@ declare const theme: {
|
|
|
11113
11156
|
padding: any;
|
|
11114
11157
|
marginTop: string;
|
|
11115
11158
|
backgroundColor: any;
|
|
11159
|
+
'& .SCEmptyStatus-contrast-color': {
|
|
11160
|
+
color: string;
|
|
11161
|
+
};
|
|
11116
11162
|
'& .SCEmptyStatus-box': {
|
|
11117
11163
|
width: string;
|
|
11118
11164
|
height: string;
|