@selfcommunity/react-theme-default 0.4.5-payments.149 → 0.4.5-payments.151

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 (74) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +3 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +3 -0
  3. package/lib/cjs/components/SCCategoryFollowButton.d.ts +8 -0
  4. package/lib/cjs/components/SCCategoryFollowButton.js +10 -0
  5. package/lib/cjs/components/SCCategoryHeader.d.ts +4 -0
  6. package/lib/cjs/components/SCCategoryHeader.js +5 -1
  7. package/lib/cjs/components/SCCheckout.d.ts +3 -1
  8. package/lib/cjs/components/SCCheckout.js +3 -1
  9. package/lib/cjs/components/SCCommentObjectReply.d.ts +7 -0
  10. package/lib/cjs/components/SCCommentObjectReply.js +8 -1
  11. package/lib/cjs/components/SCComposer.d.ts +13 -0
  12. package/lib/cjs/components/SCComposer.js +14 -22
  13. package/lib/cjs/components/SCCourse.d.ts +25 -6
  14. package/lib/cjs/components/SCCourse.js +28 -9
  15. package/lib/cjs/components/SCCourseDashboard.d.ts +15 -1
  16. package/lib/cjs/components/SCCourseDashboard.js +16 -2
  17. package/lib/cjs/components/SCCourses.d.ts +0 -1
  18. package/lib/cjs/components/SCCourses.js +0 -1
  19. package/lib/cjs/components/SCEditCourse.d.ts +6 -0
  20. package/lib/cjs/components/SCEditCourse.js +6 -0
  21. package/lib/cjs/components/SCEditor.d.ts +0 -20
  22. package/lib/cjs/components/SCEditor.js +0 -20
  23. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  24. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  25. package/lib/cjs/components/SCLessonCommentObject.d.ts +3 -0
  26. package/lib/cjs/components/SCLessonCommentObject.js +3 -0
  27. package/lib/cjs/components/SCLessonFilePreview.d.ts +31 -0
  28. package/lib/cjs/components/SCLessonFilePreview.js +33 -0
  29. package/lib/cjs/components/SCLessonObject.d.ts +22 -4
  30. package/lib/cjs/components/SCLessonObject.js +22 -5
  31. package/lib/cjs/components/SCLessonTemplate.d.ts +5 -1
  32. package/lib/cjs/components/SCLessonTemplate.js +6 -1
  33. package/lib/cjs/components/SCPaymentProduct.d.ts +0 -7
  34. package/lib/cjs/components/SCPaymentProduct.js +3 -10
  35. package/lib/cjs/index.d.ts +151 -44
  36. package/lib/cjs/index.js +7 -1
  37. package/lib/esm/components/SCAccordionLessons.d.ts +3 -0
  38. package/lib/esm/components/SCAccordionLessons.js +3 -0
  39. package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
  40. package/lib/esm/components/SCCategoryFollowButton.js +8 -0
  41. package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
  42. package/lib/esm/components/SCCategoryHeader.js +5 -1
  43. package/lib/esm/components/SCCheckout.d.ts +3 -1
  44. package/lib/esm/components/SCCheckout.js +3 -1
  45. package/lib/esm/components/SCCommentObjectReply.d.ts +7 -0
  46. package/lib/esm/components/SCCommentObjectReply.js +8 -1
  47. package/lib/esm/components/SCComposer.d.ts +13 -0
  48. package/lib/esm/components/SCComposer.js +14 -22
  49. package/lib/esm/components/SCCourse.d.ts +25 -6
  50. package/lib/esm/components/SCCourse.js +28 -9
  51. package/lib/esm/components/SCCourseDashboard.d.ts +15 -1
  52. package/lib/esm/components/SCCourseDashboard.js +16 -2
  53. package/lib/esm/components/SCCourses.d.ts +0 -1
  54. package/lib/esm/components/SCCourses.js +0 -1
  55. package/lib/esm/components/SCEditCourse.d.ts +6 -0
  56. package/lib/esm/components/SCEditCourse.js +6 -0
  57. package/lib/esm/components/SCEditor.d.ts +0 -20
  58. package/lib/esm/components/SCEditor.js +0 -20
  59. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  60. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  61. package/lib/esm/components/SCLessonCommentObject.d.ts +3 -0
  62. package/lib/esm/components/SCLessonCommentObject.js +3 -0
  63. package/lib/esm/components/SCLessonFilePreview.d.ts +31 -0
  64. package/lib/esm/components/SCLessonFilePreview.js +31 -0
  65. package/lib/esm/components/SCLessonObject.d.ts +22 -4
  66. package/lib/esm/components/SCLessonObject.js +22 -5
  67. package/lib/esm/components/SCLessonTemplate.d.ts +5 -1
  68. package/lib/esm/components/SCLessonTemplate.js +6 -1
  69. package/lib/esm/components/SCPaymentProduct.d.ts +0 -7
  70. package/lib/esm/components/SCPaymentProduct.js +3 -10
  71. package/lib/esm/index.d.ts +151 -44
  72. package/lib/esm/index.js +7 -1
  73. package/lib/umd/react-theme-default.js +1 -1
  74. package/package.json +2 -2
@@ -1,17 +1,21 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ padding: any;
6
+ };
4
7
  display: string;
5
8
  flexDirection: string;
6
- padding: any;
7
9
  '& .SCLessonObject-content': {
8
10
  padding: string;
9
11
  '& .SCLessonObject-text': {
10
12
  '& > div:first-of-type': {
11
- height: string;
12
13
  img: {
13
- height: string;
14
- objectFit: string;
14
+ display: string;
15
+ margin: string;
16
+ width: string;
17
+ maxWidth: string;
18
+ position: string;
15
19
  };
16
20
  padding: string;
17
21
  };
@@ -25,6 +29,20 @@ declare const Component: {
25
29
  color: string;
26
30
  };
27
31
  };
32
+ '& .SCLessonObject-medias-section': {
33
+ display: string;
34
+ '& .SCLessonFilePreview-root': {
35
+ marginBottom: any;
36
+ };
37
+ '& .SCMediaLink-display-root': {
38
+ marginBottom: any;
39
+ '& > div > div': {
40
+ [x: number]: {
41
+ height: string;
42
+ };
43
+ };
44
+ };
45
+ };
28
46
  };
29
47
  '& .SCLessonObject-content-edit': {
30
48
  padding: string;
@@ -5,19 +5,22 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  display: 'flex',
7
7
  flexDirection: 'column',
8
- padding: theme.spacing(1),
8
+ [theme.breakpoints.up('sm')]: {
9
+ padding: theme.spacing(1)
10
+ },
9
11
  '& .SCLessonObject-content': {
10
12
  padding: `${theme.spacing(2)} !important`,
11
13
  '& .SCLessonObject-text': {
12
14
  '& > div:first-of-type': {
13
- height: '240px',
14
15
  img: {
15
- height: '240px',
16
- objectFit: 'cover'
16
+ display: 'block',
17
+ margin: '0 auto',
18
+ width: 'auto !important',
19
+ maxWidth: '100% !important',
20
+ position: 'relative !important'
17
21
  },
18
22
  padding: '0 !important'
19
23
  },
20
- // '& .SCEditor-paragraph': {}
21
24
  '& > div:has(> a)': {
22
25
  borderRadius: '5px',
23
26
  padding: theme.spacing(1),
@@ -27,6 +30,20 @@ const Component = {
27
30
  textDecoration: 'none',
28
31
  color: 'inherit'
29
32
  }
33
+ },
34
+ '& .SCLessonObject-medias-section': {
35
+ display: 'flex',
36
+ '& .SCLessonFilePreview-root': {
37
+ marginBottom: theme.spacing(1)
38
+ },
39
+ '& .SCMediaLink-display-root': {
40
+ marginBottom: theme.spacing(1),
41
+ '& > div > div': {
42
+ [theme.breakpoints.down('md')]: {
43
+ height: '240px !important'
44
+ }
45
+ }
46
+ }
30
47
  }
31
48
  },
32
49
  '& .SCLessonObject-content-edit': {
@@ -8,10 +8,14 @@ declare const Component: {
8
8
  justifyContent: string;
9
9
  marginBottom: any;
10
10
  };
11
+ '& .SCLessonTemplate-button': {
12
+ alignSelf: string;
13
+ marginTop: string;
14
+ };
11
15
  width: string;
12
16
  display: string;
13
17
  flexDirection: string;
14
- overflow: string;
18
+ paddingBottom: any;
15
19
  transition: any;
16
20
  marginRight: number;
17
21
  };
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
5
  root: () => ({}),
6
- containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', overflow: 'hidden', transition: theme.transitions.create('margin', {
6
+ containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', paddingBottom: theme.mixins.toolbar.minHeight,
7
+ //overflow: 'hidden',
8
+ transition: theme.transitions.create('margin', {
7
9
  easing: theme.transitions.easing.sharp,
8
10
  duration: theme.transitions.duration.leavingScreen
9
11
  }), marginRight: 0 }, (open && {
@@ -14,6 +16,9 @@ const Component = {
14
16
  alignItems: 'center',
15
17
  justifyContent: 'space-between',
16
18
  marginBottom: theme.spacing(1)
19
+ }, '& .SCLessonTemplate-button': {
20
+ alignSelf: 'center',
21
+ marginTop: 'auto'
17
22
  } }))
18
23
  }
19
24
  };
@@ -25,10 +25,6 @@ declare const Component: {
25
25
  };
26
26
  };
27
27
  '& .SCPaymentProductPrice-root': {
28
- [x: number]: {
29
- width: string;
30
- borderRadius: string;
31
- };
32
28
  marginBottom: any;
33
29
  width: string;
34
30
  borderRadius: string;
@@ -46,9 +42,6 @@ declare const Component: {
46
42
  };
47
43
  };
48
44
  '& .SCPaymentProductPrice-skeleton-root': {
49
- [x: number]: {
50
- width: string;
51
- };
52
45
  marginBottom: any;
53
46
  width: string;
54
47
  };
@@ -26,12 +26,8 @@ const Component = {
26
26
  },
27
27
  '& .SCPaymentProductPrice-root': {
28
28
  marginBottom: theme.spacing(),
29
- width: '95%',
30
- borderRadius: '3px',
31
- [theme.breakpoints.down('md')]: {
32
- width: '88%',
33
- borderRadius: '3px'
34
- }
29
+ width: 'auto',
30
+ borderRadius: '3px'
35
31
  }
36
32
  }),
37
33
  skeletonRoot: ({ theme }) => ({
@@ -45,10 +41,7 @@ const Component = {
45
41
  },
46
42
  '& .SCPaymentProductPrice-skeleton-root': {
47
43
  marginBottom: theme.spacing(),
48
- width: '95%',
49
- [theme.breakpoints.down('md')]: {
50
- width: '88%'
51
- }
44
+ width: 'auto'
52
45
  }
53
46
  })
54
47
  }
@@ -240,6 +240,9 @@ declare const theme: {
240
240
  }) => {
241
241
  border: string;
242
242
  borderRadius: string;
243
+ '& .SCAccordionLessons-empty': {
244
+ padding: any;
245
+ };
243
246
  '& .SCAccordionLessons-accordion': {
244
247
  '& .SCAccordionLessons-summary': {
245
248
  flexDirection: string;
@@ -814,6 +817,13 @@ declare const theme: {
814
817
  dialogRoot: () => {};
815
818
  };
816
819
  };
820
+ SCCategoryFollowButton: {
821
+ styleOverrides: {
822
+ root: ({ theme }: any) => {
823
+ padding: any;
824
+ };
825
+ };
826
+ };
817
827
  SCCategoryHeader: {
818
828
  defaultProps: {
819
829
  CategoryFollowButtonProps: {
@@ -862,6 +872,10 @@ declare const theme: {
862
872
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
863
873
  textAlign: string;
864
874
  marginBottom: any;
875
+ '& button': {
876
+ marginLeft: any;
877
+ marginRight: any;
878
+ };
865
879
  };
866
880
  '& .SCCategoryHeader-followed': {
867
881
  marginBottom: string;
@@ -1182,6 +1196,13 @@ declare const theme: {
1182
1196
  '& .SCCommentObjectReply-comment': {
1183
1197
  overflow: string;
1184
1198
  borderRadius: number;
1199
+ '& .SCCommentObjectReply-media': {
1200
+ maxWidth: number;
1201
+ padding: any;
1202
+ '& .SCMediaFile-media': {
1203
+ height: string;
1204
+ };
1205
+ };
1185
1206
  };
1186
1207
  '& .SCCommentObjectReply-actions': {
1187
1208
  marginLeft: any;
@@ -1445,11 +1466,24 @@ declare const theme: {
1445
1466
  };
1446
1467
  };
1447
1468
  contentLessonRoot: ({ theme }: any) => {
1469
+ padding: any;
1448
1470
  '& .SCEditor-root': {
1449
1471
  '& .SCEditor-content': {
1450
1472
  paddingTop: any;
1451
1473
  };
1452
1474
  };
1475
+ '& .SCComposer-content-lesson-medias': {
1476
+ '& .SCMediaFile-preview-root': {
1477
+ marginBottom: any;
1478
+ '& .SCMediaFile-media': {
1479
+ height: string;
1480
+ maxWidth: number;
1481
+ };
1482
+ };
1483
+ '& .SCMediaLink-preview-root': {
1484
+ marginBottom: any;
1485
+ };
1486
+ };
1453
1487
  };
1454
1488
  layerTransitionRoot: ({ theme }: any) => {
1455
1489
  position: string;
@@ -1771,7 +1805,10 @@ declare const theme: {
1771
1805
  };
1772
1806
  };
1773
1807
  previewRoot: ({ theme }: any) => {
1774
- minHeight: string;
1808
+ [x: number]: {
1809
+ minHeight: string;
1810
+ };
1811
+ height: string;
1775
1812
  '& .SCCourse-preview-image-wrapper': {
1776
1813
  position: string;
1777
1814
  '& .SCCourse-preview-image': {
@@ -1797,12 +1834,19 @@ declare const theme: {
1797
1834
  height: any;
1798
1835
  border: string;
1799
1836
  };
1837
+ '.MuiBadge-badge': {
1838
+ left: any;
1839
+ top: any;
1840
+ };
1800
1841
  };
1801
1842
  '& .SCCourse-preview-content': {
1802
1843
  padding: any;
1803
1844
  '& .SCCourse-preview-creator': {
1804
- paddingTop: number;
1805
- marginBottom: any;
1845
+ textDecoration: string;
1846
+ color: string;
1847
+ '& .MuiTypography-root': {
1848
+ marginBottom: any;
1849
+ };
1806
1850
  };
1807
1851
  '& .SCCourse-preview-name-wrapper': {
1808
1852
  textDecoration: string;
@@ -1866,7 +1910,10 @@ declare const theme: {
1866
1910
  };
1867
1911
  };
1868
1912
  createPlaceholderRoot: ({ theme }: any) => {
1869
- minHeight: string;
1913
+ [x: number]: {
1914
+ minHeight: string;
1915
+ };
1916
+ height: string;
1870
1917
  '& .SCCourse-create-placeholder-image-wrapper': {
1871
1918
  position: string;
1872
1919
  '& .SCCourse-create-placeholder-image': {
@@ -1908,18 +1955,24 @@ declare const theme: {
1908
1955
  };
1909
1956
  skeletonRoot: ({ theme }: any) => {
1910
1957
  '& .SCCourse-skeleton-preview-root': {
1958
+ [x: number]: {
1959
+ minHeight: string;
1960
+ };
1961
+ height: string;
1911
1962
  '& .SCCourse-skeleton-preview-avatar': {
1912
1963
  position: string;
1913
- bottom: string;
1964
+ bottom: any;
1914
1965
  left: any;
1966
+ width: any;
1967
+ height: any;
1915
1968
  border: string;
1916
1969
  };
1917
1970
  '& .SCCourse-skeleton-preview-content': {
1918
1971
  padding: string;
1972
+ minHeight: number;
1919
1973
  };
1920
1974
  '& .SCCourse-skeleton-preview-actions': {
1921
1975
  display: string;
1922
- marginTop: any;
1923
1976
  justifyContent: string;
1924
1977
  padding: any;
1925
1978
  };
@@ -1995,6 +2048,9 @@ declare const theme: {
1995
2048
  root: ({ theme }: {
1996
2049
  theme: any;
1997
2050
  }) => {
2051
+ [x: number]: {
2052
+ marginBottom: string;
2053
+ };
1998
2054
  '& .SCCourseDashboard-header': {
1999
2055
  [x: number]: {
2000
2056
  paddingLeft: string;
@@ -2140,9 +2196,20 @@ declare const theme: {
2140
2196
  width: string;
2141
2197
  height: string;
2142
2198
  };
2199
+ '& a': {
2200
+ textDecoration: string;
2201
+ color: string;
2202
+ };
2203
+ '& .MuiBadge-root': {
2204
+ marginRight: any;
2205
+ };
2143
2206
  };
2144
2207
  '& .SCCourseDashboard-actions-wrapper': {
2145
- flexDirection: string;
2208
+ [x: number]: {
2209
+ flexDirection: string;
2210
+ margin: number;
2211
+ };
2212
+ margin: string;
2146
2213
  gap: string;
2147
2214
  };
2148
2215
  };
@@ -2380,7 +2447,6 @@ declare const theme: {
2380
2447
  };
2381
2448
  };
2382
2449
  '& .SCCourses-no-results': {
2383
- marginTop: any;
2384
2450
  display: string;
2385
2451
  flexDirection: string;
2386
2452
  alignItems: string;
@@ -3080,26 +3146,6 @@ declare const theme: {
3080
3146
  '& .SCEditor-listItem': {
3081
3147
  margin: string;
3082
3148
  };
3083
- '& .SCEditor-document': {
3084
- '& .selected': {
3085
- border: string;
3086
- };
3087
- '& .MuiBox-root': {
3088
- padding: any;
3089
- borderRadius: string;
3090
- background: any;
3091
- '& a': {
3092
- display: string;
3093
- alignItems: string;
3094
- width: string;
3095
- '& img': {
3096
- height: any;
3097
- width: any;
3098
- marginRight: any;
3099
- };
3100
- };
3101
- };
3102
- };
3103
3149
  };
3104
3150
  toolbar: ({ theme }: any) => {
3105
3151
  '& .SCEditor-placeholder': {
@@ -3245,6 +3291,9 @@ declare const theme: {
3245
3291
  root: ({ theme }: {
3246
3292
  theme: any;
3247
3293
  }) => {
3294
+ [x: number]: {
3295
+ marginBottom: string;
3296
+ };
3248
3297
  '& .SCEditCourse-header': {
3249
3298
  [x: number]: {
3250
3299
  paddingLeft: any;
@@ -3344,6 +3393,9 @@ declare const theme: {
3344
3393
  '& .SCEditCourse-cell-padding': {
3345
3394
  paddingRight: number;
3346
3395
  };
3396
+ '& .MuiTableCell-root': {
3397
+ textWrapMode: string;
3398
+ };
3347
3399
  '& .SCEditCourse-table-header': {
3348
3400
  '& .SCEditCourse-table-header-typography': {
3349
3401
  textTransform: string;
@@ -5366,6 +5418,9 @@ declare const theme: {
5366
5418
  maxWidth: string;
5367
5419
  };
5368
5420
  };
5421
+ '& .SCLessonCommentObject-media-content': {
5422
+ marginBottom: any;
5423
+ };
5369
5424
  };
5370
5425
  '& .SCLessonCommentObject-avatar': {
5371
5426
  top: any;
@@ -5514,6 +5569,36 @@ declare const theme: {
5514
5569
  };
5515
5570
  };
5516
5571
  };
5572
+ SCLessonFilePreview: {
5573
+ styleOverrides: {
5574
+ root: ({ theme }: any) => {
5575
+ backgroundSize: string;
5576
+ backgroundPosition: string;
5577
+ position: string;
5578
+ borderRadius: number;
5579
+ margin: any;
5580
+ width: string;
5581
+ height: string;
5582
+ flexBasis: number;
5583
+ flexGrow: number;
5584
+ flexShrink: number;
5585
+ '& .SCLessonFilePreview-title': {
5586
+ position: string;
5587
+ left: any;
5588
+ top: any;
5589
+ borderRadius: any;
5590
+ background: string;
5591
+ color: any;
5592
+ fontSize: string;
5593
+ padding: any;
5594
+ maxWidth: number;
5595
+ textOverflow: string;
5596
+ overflow: string;
5597
+ whiteSpace: string;
5598
+ };
5599
+ };
5600
+ };
5601
+ };
5517
5602
  SCLessonTemplate: {
5518
5603
  styleOverrides: {
5519
5604
  root: () => {};
@@ -5524,10 +5609,14 @@ declare const theme: {
5524
5609
  justifyContent: string;
5525
5610
  marginBottom: any;
5526
5611
  };
5612
+ '& .SCLessonTemplate-button': {
5613
+ alignSelf: string;
5614
+ marginTop: string;
5615
+ };
5527
5616
  width: string;
5528
5617
  display: string;
5529
5618
  flexDirection: string;
5530
- overflow: string;
5619
+ paddingBottom: any;
5531
5620
  transition: any;
5532
5621
  marginRight: number;
5533
5622
  };
@@ -5536,17 +5625,21 @@ declare const theme: {
5536
5625
  SCLessonObject: {
5537
5626
  styleOverrides: {
5538
5627
  root: ({ theme }: any) => {
5628
+ [x: number]: {
5629
+ padding: any;
5630
+ };
5539
5631
  display: string;
5540
5632
  flexDirection: string;
5541
- padding: any;
5542
5633
  '& .SCLessonObject-content': {
5543
5634
  padding: string;
5544
5635
  '& .SCLessonObject-text': {
5545
5636
  '& > div:first-of-type': {
5546
- height: string;
5547
5637
  img: {
5548
- height: string;
5549
- objectFit: string;
5638
+ display: string;
5639
+ margin: string;
5640
+ width: string;
5641
+ maxWidth: string;
5642
+ position: string;
5550
5643
  };
5551
5644
  padding: string;
5552
5645
  };
@@ -5560,6 +5653,20 @@ declare const theme: {
5560
5653
  color: string;
5561
5654
  };
5562
5655
  };
5656
+ '& .SCLessonObject-medias-section': {
5657
+ display: string;
5658
+ '& .SCLessonFilePreview-root': {
5659
+ marginBottom: any;
5660
+ };
5661
+ '& .SCMediaLink-display-root': {
5662
+ marginBottom: any;
5663
+ '& > div > div': {
5664
+ [x: number]: {
5665
+ height: string;
5666
+ };
5667
+ };
5668
+ };
5669
+ };
5563
5670
  };
5564
5671
  '& .SCLessonObject-content-edit': {
5565
5672
  padding: string;
@@ -7481,9 +7588,7 @@ declare const theme: {
7481
7588
  };
7482
7589
  '& .SCOnBoardingWidget-app-summary': {
7483
7590
  whiteSpace: string;
7484
- margin: any; /**
7485
- * Style assets - Imports - Start
7486
- */
7591
+ margin: any;
7487
7592
  };
7488
7593
  '& .SCOnBoardingWidget-app-tabs': {
7489
7594
  padding: any;
@@ -11225,10 +11330,6 @@ declare const theme: {
11225
11330
  };
11226
11331
  };
11227
11332
  '& .SCPaymentProductPrice-root': {
11228
- [x: number]: {
11229
- width: string;
11230
- borderRadius: string;
11231
- };
11232
11333
  marginBottom: any;
11233
11334
  width: string;
11234
11335
  borderRadius: string;
@@ -11246,9 +11347,6 @@ declare const theme: {
11246
11347
  };
11247
11348
  };
11248
11349
  '& .SCPaymentProductPrice-skeleton-root': {
11249
- [x: number]: {
11250
- width: string;
11251
- };
11252
11350
  marginBottom: any;
11253
11351
  width: string;
11254
11352
  };
@@ -11323,8 +11421,10 @@ declare const theme: {
11323
11421
  bottom: any;
11324
11422
  };
11325
11423
  "& .SCCheckout-object": {
11424
+ [x: number]: {
11425
+ minWidth: number;
11426
+ };
11326
11427
  marginTop: any;
11327
- minWidth: number;
11328
11428
  };
11329
11429
  };
11330
11430
  };
@@ -11354,6 +11454,13 @@ declare const theme: {
11354
11454
  };
11355
11455
  };
11356
11456
  };
11457
+ SCHiddenPurchasableContent: {
11458
+ styleOverrides: {
11459
+ root: ({ theme }: any) => {
11460
+ padding: any;
11461
+ };
11462
+ };
11463
+ };
11357
11464
  };
11358
11465
  selfcommunity: {
11359
11466
  user: {
package/lib/cjs/index.js CHANGED
@@ -41,6 +41,7 @@ const SCCategory_1 = tslib_1.__importDefault(require("./components/SCCategory"))
41
41
  const SCCategoryAutocomplete_1 = tslib_1.__importDefault(require("./components/SCCategoryAutocomplete"));
42
42
  const SCCategoryFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCCategoryFeedTemplate"));
43
43
  const SCCategoryFollowersButton_1 = tslib_1.__importDefault(require("./components/SCCategoryFollowersButton"));
44
+ const SCCategoryFollowButton_1 = tslib_1.__importDefault(require("./components/SCCategoryFollowButton"));
44
45
  const SCCategoryHeader_1 = tslib_1.__importDefault(require("./components/SCCategoryHeader"));
45
46
  const SCCategoryTemplate_1 = tslib_1.__importDefault(require("./components/SCCategoryTemplate"));
46
47
  const SCCategoryTrendingFeedWidget_1 = tslib_1.__importDefault(require("./components/SCCategoryTrendingFeedWidget"));
@@ -129,6 +130,7 @@ const SCLessonCommentObject_1 = tslib_1.__importDefault(require("./components/SC
129
130
  const SCLessonCommentObjects_1 = tslib_1.__importDefault(require("./components/SCLessonCommentObjects"));
130
131
  const SCCourseCompletedDialog_1 = tslib_1.__importDefault(require("./components/SCCourseCompletedDialog"));
131
132
  const SCLessonEditForm_1 = tslib_1.__importDefault(require("./components/SCLessonEditForm"));
133
+ const SCLessonFilePreview_1 = tslib_1.__importDefault(require("./components/SCLessonFilePreview"));
132
134
  const SCLessonTemplate_1 = tslib_1.__importDefault(require("./components/SCLessonTemplate"));
133
135
  const SCLessonObject_1 = tslib_1.__importDefault(require("./components/SCLessonObject"));
134
136
  const SCLessonReleaseMenu_1 = tslib_1.__importDefault(require("./components/SCLessonReleaseMenu"));
@@ -208,6 +210,7 @@ const SCPaymentProduct_1 = tslib_1.__importDefault(require("./components/SCPayme
208
210
  const SCPaymentProductPrice_1 = tslib_1.__importDefault(require("./components/SCPaymentProductPrice"));
209
211
  const SCCheckout_1 = tslib_1.__importDefault(require("./components/SCCheckout"));
210
212
  const SCCheckoutReturnDialog_1 = tslib_1.__importDefault(require("./components/SCCheckoutReturnDialog"));
213
+ const SCHiddenPurchasableContent_1 = tslib_1.__importDefault(require("./components/SCHiddenPurchasableContent"));
211
214
  /**
212
215
  * Style fragments - Imports - End
213
216
  */
@@ -331,6 +334,7 @@ const theme = {
331
334
  SCCategoryAutocomplete: SCCategoryAutocomplete_1.default,
332
335
  SCCategoryFeedTemplate: SCCategoryFeedTemplate_1.default,
333
336
  SCCategoryFollowersButton: SCCategoryFollowersButton_1.default,
337
+ SCCategoryFollowButton: SCCategoryFollowButton_1.default,
334
338
  SCCategoryHeader: SCCategoryHeader_1.default,
335
339
  SCCategoryTemplate: SCCategoryTemplate_1.default,
336
340
  SCCategoryTrendingFeedWidget: SCCategoryTrendingFeedWidget_1.default,
@@ -401,6 +405,7 @@ const theme = {
401
405
  SCLessonCommentObjects: SCLessonCommentObjects_1.default,
402
406
  SCCourseCompletedDialog: SCCourseCompletedDialog_1.default,
403
407
  SCLessonEditForm: SCLessonEditForm_1.default,
408
+ SCLessonFilePreview: SCLessonFilePreview_1.default,
404
409
  SCLessonTemplate: SCLessonTemplate_1.default,
405
410
  SCLessonObject: SCLessonObject_1.default,
406
411
  SCLessonReleaseMenu: SCLessonReleaseMenu_1.default,
@@ -498,7 +503,8 @@ const theme = {
498
503
  SCPaymentProduct: SCPaymentProduct_1.default,
499
504
  SCPaymentProductPrice: SCPaymentProductPrice_1.default,
500
505
  SCCheckout: SCCheckout_1.default,
501
- SCCheckoutReturnDialog: SCCheckoutReturnDialog_1.default
506
+ SCCheckoutReturnDialog: SCCheckoutReturnDialog_1.default,
507
+ SCHiddenPurchasableContent: SCHiddenPurchasableContent_1.default
502
508
  },
503
509
  selfcommunity: {
504
510
  user: {
@@ -5,6 +5,9 @@ declare const Component: {
5
5
  }) => {
6
6
  border: string;
7
7
  borderRadius: string;
8
+ '& .SCAccordionLessons-empty': {
9
+ padding: any;
10
+ };
8
11
  '& .SCAccordionLessons-accordion': {
9
12
  '& .SCAccordionLessons-summary': {
10
13
  flexDirection: string;
@@ -3,6 +3,9 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  border: `1px solid ${theme.palette.grey['300']}`,
5
5
  borderRadius: '5px',
6
+ '& .SCAccordionLessons-empty': {
7
+ padding: theme.spacing('19px', 3)
8
+ },
6
9
  '& .SCAccordionLessons-accordion': {
7
10
  '& .SCAccordionLessons-summary': {
8
11
  flexDirection: 'row-reverse',
@@ -0,0 +1,8 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ padding: any;
5
+ };
6
+ };
7
+ };
8
+ export default Component;
@@ -0,0 +1,8 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ padding: theme.spacing(0.75, 3)
5
+ })
6
+ }
7
+ };
8
+ export default Component;