@registrucentras/rc-ses-react-components 2.2.0 → 2.3.0
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/dist/components/common/AdvancedList/components/AdvancedListItem/index.d.ts +3 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItemShell/AdvancedListItemShell.types.d.ts +31 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItemShell/index.d.ts +11 -0
- package/dist/library/index.d.ts +2 -1
- package/dist/library/types.d.ts +2 -0
- package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
- package/dist/registrucentras-rc-ses-react-components.js +2775 -2619
- package/package.json +1 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/index.tsx +4 -0
- package/src/components/common/AdvancedList/components/AdvancedListItemShell/AdvancedListItemShell.types.ts +35 -0
- package/src/components/common/AdvancedList/components/AdvancedListItemShell/index.test.tsx +350 -0
- package/src/components/common/AdvancedList/components/AdvancedListItemShell/index.tsx +247 -0
- package/src/library/index.ts +2 -1
- package/src/library/types.ts +10 -0
- package/src/stories/organisms/AdvancedListItem.stories.tsx +1 -1
- package/src/stories/organisms/AdvancedListItemShell.stories.tsx +866 -0
- package/src/theme/light/MuiTypography.tsx +24 -24
|
@@ -5,15 +5,15 @@ import palette from '@/theme/palette'
|
|
|
5
5
|
export const typography = {
|
|
6
6
|
bodyRegularMuted: {
|
|
7
7
|
color: palette.grey[500],
|
|
8
|
-
fontSize: '0.9375rem',
|
|
8
|
+
fontSize: '0.9375rem', // 15px
|
|
9
9
|
fontWeight: 400,
|
|
10
|
-
lineHeight: '1.375rem',
|
|
10
|
+
lineHeight: '1.375rem', // 22px
|
|
11
11
|
},
|
|
12
12
|
priceEmphasis: {
|
|
13
13
|
color: palette.grey[900],
|
|
14
|
-
fontSize: '1.125rem',
|
|
14
|
+
fontSize: '1.125rem', // 18px
|
|
15
15
|
fontWeight: 500,
|
|
16
|
-
lineHeight: '1.5rem',
|
|
16
|
+
lineHeight: '1.5rem', // 24px
|
|
17
17
|
},
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -22,51 +22,51 @@ const MuiTypography: Components['MuiTypography'] = {
|
|
|
22
22
|
root: {},
|
|
23
23
|
h1: {
|
|
24
24
|
fontWeight: '500',
|
|
25
|
-
lineHeight: '2rem',
|
|
25
|
+
lineHeight: '2rem', // 32px
|
|
26
26
|
},
|
|
27
27
|
h2: {
|
|
28
|
-
fontSize: '2rem',
|
|
28
|
+
fontSize: '2rem', // 32px
|
|
29
29
|
fontWeight: '500',
|
|
30
|
-
lineHeight: '2.75rem',
|
|
30
|
+
lineHeight: '2.75rem', // 44px
|
|
31
31
|
},
|
|
32
32
|
h3: {
|
|
33
|
-
fontSize: '1.75rem',
|
|
33
|
+
fontSize: '1.75rem', // 28px
|
|
34
34
|
fontWeight: '500',
|
|
35
|
-
lineHeight: '2.375rem',
|
|
35
|
+
lineHeight: '2.375rem', // 38px
|
|
36
36
|
},
|
|
37
37
|
h4: {
|
|
38
|
-
fontSize: '1.5rem',
|
|
38
|
+
fontSize: '1.5rem', // 24px
|
|
39
39
|
fontWeight: '500',
|
|
40
|
-
lineHeight: '1.75rem',
|
|
40
|
+
lineHeight: '1.75rem', // 28px
|
|
41
41
|
},
|
|
42
42
|
h5: {
|
|
43
|
-
fontSize: '1.25rem',
|
|
43
|
+
fontSize: '1.25rem', // 20px
|
|
44
44
|
fontWeight: '500',
|
|
45
|
-
lineHeight: '1.6875rem',
|
|
45
|
+
lineHeight: '1.6875rem', // 27px
|
|
46
46
|
},
|
|
47
47
|
h6: {
|
|
48
|
-
fontSize: '1.125rem',
|
|
48
|
+
fontSize: '1.125rem', // 18px
|
|
49
49
|
fontWeight: '500',
|
|
50
|
-
lineHeight: '1.5rem',
|
|
50
|
+
lineHeight: '1.5rem', // 24px
|
|
51
51
|
},
|
|
52
52
|
body1: {
|
|
53
|
-
fontSize: '.9375rem',
|
|
54
|
-
lineHeight: '1.125rem',
|
|
53
|
+
fontSize: '.9375rem', // 15px
|
|
54
|
+
lineHeight: '1.125rem', // 18px
|
|
55
55
|
},
|
|
56
56
|
body2: {
|
|
57
|
-
fontSize: '.875rem',
|
|
58
|
-
lineHeight: '1rem',
|
|
57
|
+
fontSize: '.875rem', // 14px
|
|
58
|
+
lineHeight: '1rem', // 16px
|
|
59
59
|
},
|
|
60
60
|
caption: {
|
|
61
|
-
fontSize: '.8125rem',
|
|
62
|
-
lineHeight: '1rem',
|
|
61
|
+
fontSize: '.8125rem', // 13px
|
|
62
|
+
lineHeight: '1rem', // 16px
|
|
63
63
|
},
|
|
64
64
|
subtitle1: {
|
|
65
|
-
fontSize: '.75rem',
|
|
66
|
-
lineHeight: '.875rem',
|
|
65
|
+
fontSize: '.75rem', // 12px
|
|
66
|
+
lineHeight: '.875rem', // 14px
|
|
67
67
|
},
|
|
68
68
|
subtitle2: {
|
|
69
|
-
fontSize: '.6875rem',
|
|
69
|
+
fontSize: '.6875rem', // 11px
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
}
|