@selfcommunity/react-theme-default 0.4.2-courses.189 → 0.4.2-courses.191
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/SCCourseDashboard.d.ts +3 -5
- package/lib/cjs/components/SCCourseDashboard.js +3 -5
- package/lib/cjs/components/SCCourseForm.d.ts +35 -13
- package/lib/cjs/components/SCCourseForm.js +35 -13
- package/lib/cjs/components/SCCourseUsersTable.d.ts +4 -2
- package/lib/cjs/components/SCCourseUsersTable.js +4 -2
- package/lib/cjs/components/SCEditCourse.d.ts +128 -109
- package/lib/cjs/components/SCEditCourse.js +133 -114
- package/lib/cjs/index.d.ts +170 -129
- package/lib/esm/components/SCCourseDashboard.d.ts +3 -5
- package/lib/esm/components/SCCourseDashboard.js +3 -5
- package/lib/esm/components/SCCourseForm.d.ts +35 -13
- package/lib/esm/components/SCCourseForm.js +35 -13
- package/lib/esm/components/SCCourseUsersTable.d.ts +4 -2
- package/lib/esm/components/SCCourseUsersTable.js +4 -2
- package/lib/esm/components/SCEditCourse.d.ts +128 -109
- package/lib/esm/components/SCEditCourse.js +133 -114
- package/lib/esm/index.d.ts +170 -129
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
package/lib/esm/index.d.ts
CHANGED
|
@@ -2163,13 +2163,12 @@ declare const theme: {
|
|
|
2163
2163
|
};
|
|
2164
2164
|
'& .SCCourseDashboard-comments-container': {
|
|
2165
2165
|
[x: number]: {
|
|
2166
|
-
|
|
2167
|
-
paddingRight: string;
|
|
2166
|
+
padding: any;
|
|
2168
2167
|
};
|
|
2169
2168
|
backgroundColor: any;
|
|
2170
2169
|
border: string;
|
|
2171
2170
|
borderRadius: string;
|
|
2172
|
-
padding:
|
|
2171
|
+
padding: any;
|
|
2173
2172
|
'& .SCCourseDashboard-outer-wrapper': {
|
|
2174
2173
|
marginTop: string;
|
|
2175
2174
|
marginBottom: string;
|
|
@@ -2215,12 +2214,11 @@ declare const theme: {
|
|
|
2215
2214
|
alignItems: string;
|
|
2216
2215
|
justifyContent: string;
|
|
2217
2216
|
backgroundColor: any;
|
|
2217
|
+
padding: string;
|
|
2218
2218
|
'& .SCCourseDashboard-user': {
|
|
2219
2219
|
flexDirection: string;
|
|
2220
2220
|
alignItems: string;
|
|
2221
2221
|
gap: string;
|
|
2222
|
-
marginTop: string;
|
|
2223
|
-
marginBottom: string;
|
|
2224
2222
|
'& .SCCourseDashboard-avatar': {
|
|
2225
2223
|
width: string;
|
|
2226
2224
|
height: string;
|
|
@@ -2589,12 +2587,18 @@ declare const theme: {
|
|
|
2589
2587
|
padding: any;
|
|
2590
2588
|
};
|
|
2591
2589
|
'& .SCCourseForm-form': {
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2590
|
+
'&.SCCourseForm-step-customization': {
|
|
2591
|
+
[x: number]: {
|
|
2592
|
+
padding: any;
|
|
2593
|
+
};
|
|
2594
|
+
backgroundColor: any;
|
|
2595
|
+
border: string;
|
|
2596
|
+
borderBottom: string;
|
|
2597
|
+
borderRadius: string;
|
|
2598
|
+
borderBottomLeftRadius: string;
|
|
2599
|
+
borderBottomRightRadius: string;
|
|
2600
|
+
padding: any;
|
|
2601
|
+
};
|
|
2598
2602
|
'& .SCCourseForm-name': {
|
|
2599
2603
|
marginTop: any;
|
|
2600
2604
|
};
|
|
@@ -2674,6 +2678,10 @@ declare const theme: {
|
|
|
2674
2678
|
backgroundColor: string;
|
|
2675
2679
|
};
|
|
2676
2680
|
};
|
|
2681
|
+
'& .SCCourseForm-disabled': {
|
|
2682
|
+
pointerEvents: string;
|
|
2683
|
+
opacity: number;
|
|
2684
|
+
};
|
|
2677
2685
|
'& .MuiCard-root': {
|
|
2678
2686
|
boxShadow: string;
|
|
2679
2687
|
border: string;
|
|
@@ -2688,6 +2696,13 @@ declare const theme: {
|
|
|
2688
2696
|
'& .MuiTypography-body2': {
|
|
2689
2697
|
whiteSpace: string;
|
|
2690
2698
|
};
|
|
2699
|
+
'& .SCCourseForm-card-title': {
|
|
2700
|
+
display: string;
|
|
2701
|
+
justifyContent: string;
|
|
2702
|
+
'& .MuiChip-root': {
|
|
2703
|
+
borderRadius: number;
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2691
2706
|
};
|
|
2692
2707
|
};
|
|
2693
2708
|
};
|
|
@@ -2695,16 +2710,21 @@ declare const theme: {
|
|
|
2695
2710
|
color: any;
|
|
2696
2711
|
};
|
|
2697
2712
|
'& .SCCourseForm-actions': {
|
|
2698
|
-
border: string;
|
|
2699
|
-
borderTop: string;
|
|
2700
|
-
borderRadius: string;
|
|
2701
|
-
borderTopLeftRadius: string;
|
|
2702
|
-
borderTopRightRadius: string;
|
|
2703
|
-
backgroundColor: any;
|
|
2704
|
-
padding: any;
|
|
2705
2713
|
display: string;
|
|
2706
2714
|
justifyContent: string;
|
|
2707
2715
|
gap: any;
|
|
2716
|
+
'&.SCCourseForm-step-customization': {
|
|
2717
|
+
[x: number]: {
|
|
2718
|
+
padding: any;
|
|
2719
|
+
};
|
|
2720
|
+
backgroundColor: any;
|
|
2721
|
+
border: string;
|
|
2722
|
+
borderTop: string;
|
|
2723
|
+
borderRadius: string;
|
|
2724
|
+
borderTopLeftRadius: string;
|
|
2725
|
+
borderTopRightRadius: string;
|
|
2726
|
+
padding: any;
|
|
2727
|
+
};
|
|
2708
2728
|
'& button': {
|
|
2709
2729
|
width: string;
|
|
2710
2730
|
};
|
|
@@ -2859,10 +2879,12 @@ declare const theme: {
|
|
|
2859
2879
|
root: ({ theme }: {
|
|
2860
2880
|
theme: any;
|
|
2861
2881
|
}) => {
|
|
2882
|
+
[x: number]: {
|
|
2883
|
+
padding: any;
|
|
2884
|
+
};
|
|
2862
2885
|
border: string;
|
|
2863
|
-
borderTop: string;
|
|
2864
2886
|
borderRadius: string;
|
|
2865
|
-
|
|
2887
|
+
padding: any;
|
|
2866
2888
|
backgroundColor: any;
|
|
2867
2889
|
'& .SCCourseUsersTable-search': {
|
|
2868
2890
|
'& > .MuiInputBase-root': {
|
|
@@ -3446,112 +3468,121 @@ declare const theme: {
|
|
|
3446
3468
|
'& .SCEditCourse-empty-status-button': {
|
|
3447
3469
|
marginTop: string;
|
|
3448
3470
|
};
|
|
3449
|
-
'& .SCEditCourse-lessons-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
marginTop: string;
|
|
3454
|
-
padding: any;
|
|
3471
|
+
'& .SCEditCourse-lessons-inner-wrapper': {
|
|
3472
|
+
[x: number]: {
|
|
3473
|
+
padding: any;
|
|
3474
|
+
};
|
|
3455
3475
|
border: string;
|
|
3456
|
-
|
|
3457
|
-
borderTopLeftRadius: string;
|
|
3458
|
-
borderTopRightRadius: string;
|
|
3476
|
+
borderRadius: string;
|
|
3459
3477
|
backgroundColor: any;
|
|
3460
|
-
|
|
3478
|
+
marginTop: string;
|
|
3479
|
+
padding: any;
|
|
3480
|
+
'& .SCEditCourse-lessons-sections-wrapper': {
|
|
3461
3481
|
flexDirection: string;
|
|
3462
3482
|
alignItems: string;
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
border: string;
|
|
3481
|
-
borderBottomLeftRadius: string;
|
|
3482
|
-
borderBottomRightRadius: string;
|
|
3483
|
-
backgroundColor: any;
|
|
3484
|
-
'& .SCEditCourse-table': {
|
|
3485
|
-
'& .SCEditCourse-cell-width': {
|
|
3486
|
-
width: string;
|
|
3487
|
-
};
|
|
3488
|
-
'& .SCEditCourse-cell-align-center': {
|
|
3489
|
-
textAlign: string;
|
|
3490
|
-
};
|
|
3491
|
-
'& .SCEditCourse-cell-align-right': {
|
|
3492
|
-
textAlign: string;
|
|
3493
|
-
};
|
|
3494
|
-
'& .SCEditCourse-cell-padding': {
|
|
3495
|
-
paddingRight: number;
|
|
3496
|
-
};
|
|
3497
|
-
'& .MuiTableCell-root': {
|
|
3498
|
-
textWrapMode: string;
|
|
3483
|
+
justifyContent: string;
|
|
3484
|
+
padding: any;
|
|
3485
|
+
border: string;
|
|
3486
|
+
borderBottom: string;
|
|
3487
|
+
borderTopLeftRadius: string;
|
|
3488
|
+
borderTopRightRadius: string;
|
|
3489
|
+
backgroundColor: any;
|
|
3490
|
+
'& .SCEditCourse-lessons-sections': {
|
|
3491
|
+
flexDirection: string;
|
|
3492
|
+
alignItems: string;
|
|
3493
|
+
gap: string;
|
|
3494
|
+
'& .SCEditCourse-circle': {
|
|
3495
|
+
width: string;
|
|
3496
|
+
height: string;
|
|
3497
|
+
borderRadius: number;
|
|
3498
|
+
backgroundColor: any;
|
|
3499
|
+
};
|
|
3499
3500
|
};
|
|
3500
|
-
'& .SCEditCourse-
|
|
3501
|
-
|
|
3501
|
+
'& .SCEditCourse-section-button': {
|
|
3502
|
+
alignItems: string;
|
|
3503
|
+
'& .SCEditCourse-section-button-typography': {
|
|
3502
3504
|
textTransform: string;
|
|
3503
3505
|
};
|
|
3504
3506
|
};
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3507
|
+
};
|
|
3508
|
+
'& .SCEditCourse-table-container': {
|
|
3509
|
+
width: string;
|
|
3510
|
+
border: string;
|
|
3511
|
+
borderBottomLeftRadius: string;
|
|
3512
|
+
borderBottomRightRadius: string;
|
|
3513
|
+
backgroundColor: any;
|
|
3514
|
+
'& .SCEditCourse-table': {
|
|
3515
|
+
'& .SCEditCourse-cell-width': {
|
|
3516
|
+
width: string;
|
|
3510
3517
|
};
|
|
3511
|
-
'& .SCEditCourse-
|
|
3512
|
-
|
|
3518
|
+
'& .SCEditCourse-cell-align-center': {
|
|
3519
|
+
textAlign: string;
|
|
3513
3520
|
};
|
|
3514
|
-
'& .SCEditCourse-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
padding: string;
|
|
3521
|
+
'& .SCEditCourse-cell-align-right': {
|
|
3522
|
+
textAlign: string;
|
|
3523
|
+
};
|
|
3524
|
+
'& .SCEditCourse-cell-padding': {
|
|
3525
|
+
paddingRight: number;
|
|
3526
|
+
};
|
|
3527
|
+
'& .MuiTableCell-root': {
|
|
3528
|
+
textWrapMode: string;
|
|
3529
|
+
};
|
|
3530
|
+
'& .SCEditCourse-table-header': {
|
|
3531
|
+
'& .SCEditCourse-table-header-typography': {
|
|
3532
|
+
textTransform: string;
|
|
3527
3533
|
};
|
|
3528
3534
|
};
|
|
3529
|
-
'& .SCEditCourse-
|
|
3530
|
-
|
|
3535
|
+
'& .SCEditCourse-table-body': {
|
|
3536
|
+
'& .SCEditCourse-table-body-icon-wrapper': {
|
|
3537
|
+
flexDirection: string;
|
|
3538
|
+
alignItems: string;
|
|
3531
3539
|
gap: string;
|
|
3532
3540
|
};
|
|
3533
|
-
|
|
3534
|
-
flexDirection: string;
|
|
3535
|
-
alignItems: string;
|
|
3536
|
-
gap: string;
|
|
3537
|
-
'& .SCEditCourse-change-lesson-status-published-wrapper': {
|
|
3538
|
-
color: any;
|
|
3541
|
+
'& .SCEditCourse-table-body-accordion': {
|
|
3539
3542
|
backgroundColor: any;
|
|
3540
|
-
|
|
3543
|
+
};
|
|
3544
|
+
'& .SCEditCourse-edit-mode-wrapper': {
|
|
3545
|
+
flexDirection: string;
|
|
3546
|
+
alignItems: string;
|
|
3547
|
+
gap: string;
|
|
3548
|
+
'& .SCEditCourse-edit-mode-save-button': {
|
|
3549
|
+
minWidth: string;
|
|
3550
|
+
borderRadius: string;
|
|
3551
|
+
padding: string;
|
|
3552
|
+
};
|
|
3553
|
+
'& .SCEditCourse-edit-mode-close-button': {
|
|
3554
|
+
border: string;
|
|
3555
|
+
borderRadius: string;
|
|
3556
|
+
padding: string;
|
|
3557
|
+
};
|
|
3558
|
+
};
|
|
3559
|
+
'& .SCEditCourse-actions-wrapper': {
|
|
3560
|
+
[x: number]: {
|
|
3561
|
+
gap: string;
|
|
3562
|
+
};
|
|
3563
|
+
display: string;
|
|
3564
|
+
flexDirection: string;
|
|
3565
|
+
alignItems: string;
|
|
3566
|
+
gap: string;
|
|
3567
|
+
'& .SCEditCourse-change-lesson-status-published-wrapper': {
|
|
3541
3568
|
color: any;
|
|
3569
|
+
backgroundColor: any;
|
|
3570
|
+
'& .MuiIcon-root': {
|
|
3571
|
+
color: any;
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
'& .SCEditCourse-change-lesson-status-icon-draft': {
|
|
3575
|
+
width: string;
|
|
3576
|
+
height: string;
|
|
3577
|
+
borderRadius: number;
|
|
3578
|
+
backgroundColor: any;
|
|
3542
3579
|
};
|
|
3543
3580
|
};
|
|
3544
|
-
'& .SCEditCourse-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
borderRadius: number;
|
|
3548
|
-
backgroundColor: any;
|
|
3581
|
+
'& .SCEditCourse-table-body-collapse-wrapper': {
|
|
3582
|
+
padding: number;
|
|
3583
|
+
border: number;
|
|
3549
3584
|
};
|
|
3550
3585
|
};
|
|
3551
|
-
'& .SCEditCourse-table-body-collapse-wrapper': {
|
|
3552
|
-
padding: number;
|
|
3553
|
-
border: number;
|
|
3554
|
-
};
|
|
3555
3586
|
};
|
|
3556
3587
|
};
|
|
3557
3588
|
};
|
|
@@ -3564,9 +3595,12 @@ declare const theme: {
|
|
|
3564
3595
|
marginBottom: any;
|
|
3565
3596
|
};
|
|
3566
3597
|
'& .SCEditCourse-options-container': {
|
|
3598
|
+
[x: number]: {
|
|
3599
|
+
padding: any;
|
|
3600
|
+
};
|
|
3567
3601
|
border: string;
|
|
3568
3602
|
borderRadius: string;
|
|
3569
|
-
padding:
|
|
3603
|
+
padding: any;
|
|
3570
3604
|
backgroundColor: any;
|
|
3571
3605
|
'& .SCEditCourse-options-wrapper': {
|
|
3572
3606
|
gap: any;
|
|
@@ -3580,7 +3614,7 @@ declare const theme: {
|
|
|
3580
3614
|
'& .SCEditCourse-options-button-wrapper': {
|
|
3581
3615
|
alignItems: string;
|
|
3582
3616
|
maxWidth: string;
|
|
3583
|
-
margin:
|
|
3617
|
+
margin: any;
|
|
3584
3618
|
};
|
|
3585
3619
|
};
|
|
3586
3620
|
};
|
|
@@ -3622,32 +3656,39 @@ declare const theme: {
|
|
|
3622
3656
|
gap: any;
|
|
3623
3657
|
};
|
|
3624
3658
|
};
|
|
3625
|
-
'& .SCEditCourse-lessons-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
marginTop: string;
|
|
3630
|
-
padding: any;
|
|
3659
|
+
'& .SCEditCourse-lessons-inner-wrapper': {
|
|
3660
|
+
[x: number]: {
|
|
3661
|
+
padding: any;
|
|
3662
|
+
};
|
|
3631
3663
|
border: string;
|
|
3632
3664
|
borderRadius: string;
|
|
3633
3665
|
backgroundColor: any;
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
border: string;
|
|
3638
|
-
borderBottomLeftRadius: string;
|
|
3639
|
-
borderBottomRightRadius: string;
|
|
3640
|
-
backgroundColor: any;
|
|
3641
|
-
'& .SCEditCourse-margin': {
|
|
3642
|
-
margin: string;
|
|
3643
|
-
};
|
|
3644
|
-
'& .SCEditCourse-margin-left': {
|
|
3645
|
-
marginLeft: string;
|
|
3646
|
-
};
|
|
3647
|
-
'& .SCEditCourse-actions-wrapper': {
|
|
3666
|
+
marginTop: string;
|
|
3667
|
+
padding: any;
|
|
3668
|
+
'& .SCEditCourse-lessons-sections-wrapper': {
|
|
3648
3669
|
flexDirection: string;
|
|
3670
|
+
alignItems: string;
|
|
3649
3671
|
justifyContent: string;
|
|
3650
|
-
|
|
3672
|
+
padding: any;
|
|
3673
|
+
border: string;
|
|
3674
|
+
borderRadius: string;
|
|
3675
|
+
};
|
|
3676
|
+
'& .SCEditCourse-table-container': {
|
|
3677
|
+
width: string;
|
|
3678
|
+
border: string;
|
|
3679
|
+
borderBottomLeftRadius: string;
|
|
3680
|
+
borderBottomRightRadius: string;
|
|
3681
|
+
'& .SCEditCourse-margin': {
|
|
3682
|
+
margin: string;
|
|
3683
|
+
};
|
|
3684
|
+
'& .SCEditCourse-margin-left': {
|
|
3685
|
+
marginLeft: string;
|
|
3686
|
+
};
|
|
3687
|
+
'& .SCEditCourse-actions-wrapper': {
|
|
3688
|
+
flexDirection: string;
|
|
3689
|
+
justifyContent: string;
|
|
3690
|
+
gap: string;
|
|
3691
|
+
};
|
|
3651
3692
|
};
|
|
3652
3693
|
};
|
|
3653
3694
|
'& .SCEditCourse-users-status-wrapper': {
|