@selfcommunity/react-theme-default 0.4.2-courses.136 → 0.4.2-courses.138

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.
@@ -1,6 +1,9 @@
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
9
  '& .SCLessonObject-content': {
@@ -33,8 +36,10 @@ declare const Component: {
33
36
  };
34
37
  };
35
38
  '& .SCWidget-root': {
39
+ [x: number]: {
40
+ boxShadow: string;
41
+ };
36
42
  marginBottom: any;
37
- boxShadow: string;
38
43
  };
39
44
  '& .SCLessonObject-button': {
40
45
  alignSelf: string;
@@ -5,6 +5,9 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  display: 'flex',
7
7
  flexDirection: 'column',
8
+ [theme.breakpoints.up('sm')]: {
9
+ padding: theme.spacing(1)
10
+ },
8
11
  '& .SCLessonObject-content': {
9
12
  padding: `${theme.spacing(2)} !important`,
10
13
  '& .SCLessonObject-text': {
@@ -37,7 +40,9 @@ const Component = {
37
40
  },
38
41
  '& .SCWidget-root': {
39
42
  marginBottom: theme.spacing(3),
40
- boxShadow: '0px 0px 20px 0px rgba(0, 0, 0, 0.2)'
43
+ [theme.breakpoints.down('md')]: {
44
+ boxShadow: 'none'
45
+ }
41
46
  },
42
47
  '& .SCLessonObject-button': {
43
48
  alignSelf: 'center'
@@ -5541,6 +5541,9 @@ declare const theme: {
5541
5541
  SCLessonObject: {
5542
5542
  styleOverrides: {
5543
5543
  root: ({ theme }: any) => {
5544
+ [x: number]: {
5545
+ padding: any;
5546
+ };
5544
5547
  display: string;
5545
5548
  flexDirection: string;
5546
5549
  '& .SCLessonObject-content': {
@@ -5573,8 +5576,10 @@ declare const theme: {
5573
5576
  };
5574
5577
  };
5575
5578
  '& .SCWidget-root': {
5579
+ [x: number]: {
5580
+ boxShadow: string;
5581
+ };
5576
5582
  marginBottom: any;
5577
- boxShadow: string;
5578
5583
  };
5579
5584
  '& .SCLessonObject-button': {
5580
5585
  alignSelf: string;
@@ -1,6 +1,9 @@
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
9
  '& .SCLessonObject-content': {
@@ -33,8 +36,10 @@ declare const Component: {
33
36
  };
34
37
  };
35
38
  '& .SCWidget-root': {
39
+ [x: number]: {
40
+ boxShadow: string;
41
+ };
36
42
  marginBottom: any;
37
- boxShadow: string;
38
43
  };
39
44
  '& .SCLessonObject-button': {
40
45
  alignSelf: string;
@@ -3,6 +3,9 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  display: 'flex',
5
5
  flexDirection: 'column',
6
+ [theme.breakpoints.up('sm')]: {
7
+ padding: theme.spacing(1)
8
+ },
6
9
  '& .SCLessonObject-content': {
7
10
  padding: `${theme.spacing(2)} !important`,
8
11
  '& .SCLessonObject-text': {
@@ -35,7 +38,9 @@ const Component = {
35
38
  },
36
39
  '& .SCWidget-root': {
37
40
  marginBottom: theme.spacing(3),
38
- boxShadow: '0px 0px 20px 0px rgba(0, 0, 0, 0.2)'
41
+ [theme.breakpoints.down('md')]: {
42
+ boxShadow: 'none'
43
+ }
39
44
  },
40
45
  '& .SCLessonObject-button': {
41
46
  alignSelf: 'center'
@@ -5541,6 +5541,9 @@ declare const theme: {
5541
5541
  SCLessonObject: {
5542
5542
  styleOverrides: {
5543
5543
  root: ({ theme }: any) => {
5544
+ [x: number]: {
5545
+ padding: any;
5546
+ };
5544
5547
  display: string;
5545
5548
  flexDirection: string;
5546
5549
  '& .SCLessonObject-content': {
@@ -5573,8 +5576,10 @@ declare const theme: {
5573
5576
  };
5574
5577
  };
5575
5578
  '& .SCWidget-root': {
5579
+ [x: number]: {
5580
+ boxShadow: string;
5581
+ };
5576
5582
  marginBottom: any;
5577
- boxShadow: string;
5578
5583
  };
5579
5584
  '& .SCLessonObject-button': {
5580
5585
  alignSelf: string;