@sonardigital/carbon-ui 1.1.69 → 1.1.71
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/package.json
CHANGED
|
@@ -29,6 +29,131 @@ export const components: Components<
|
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
|
+
MuiStack: {
|
|
33
|
+
variants: [
|
|
34
|
+
{
|
|
35
|
+
props: { spacing: 'xxs' },
|
|
36
|
+
style: {
|
|
37
|
+
gap: 2.5,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
props: { spacing: 'xs' },
|
|
42
|
+
style: {
|
|
43
|
+
gap: 5,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
props: { spacing: 'sm' },
|
|
48
|
+
style: {
|
|
49
|
+
gap: 12,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
props: { spacing: 'md' },
|
|
54
|
+
style: {
|
|
55
|
+
gap: 22.5,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
props: { spacing: 'lg' },
|
|
60
|
+
style: {
|
|
61
|
+
gap: 40,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
props: { spacing: 'xl' },
|
|
66
|
+
style: {
|
|
67
|
+
gap: 55,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
props: { spacing: 'xxl' },
|
|
72
|
+
style: {
|
|
73
|
+
gap: 70,
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
defaultProps: {
|
|
78
|
+
spacing: 'xxs',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
MuiContainer: {
|
|
82
|
+
variants: [
|
|
83
|
+
{
|
|
84
|
+
props: { className: 'xs' },
|
|
85
|
+
style: {
|
|
86
|
+
paddingTop: 22.5,
|
|
87
|
+
paddingBottom: 22.5,
|
|
88
|
+
paddingLeft: 22.5,
|
|
89
|
+
paddingRight: 22.5,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
props: { className: 'sm' },
|
|
94
|
+
style: ({ theme }) => ({
|
|
95
|
+
paddingTop: 35,
|
|
96
|
+
paddingBottom: 35,
|
|
97
|
+
paddingLeft: 22.5,
|
|
98
|
+
paddingRight: 22.5,
|
|
99
|
+
[theme.breakpoints.down('sm')]: {
|
|
100
|
+
paddingTop: 30,
|
|
101
|
+
paddingBottom: 30,
|
|
102
|
+
},
|
|
103
|
+
}),
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
props: { className: 'md' },
|
|
107
|
+
style: ({ theme }) => ({
|
|
108
|
+
paddingTop: 50,
|
|
109
|
+
paddingBottom: 50,
|
|
110
|
+
paddingLeft: 22.5,
|
|
111
|
+
paddingRight: 22.5,
|
|
112
|
+
[theme.breakpoints.down('sm')]: {
|
|
113
|
+
paddingTop: 40,
|
|
114
|
+
paddingBottom: 40,
|
|
115
|
+
},
|
|
116
|
+
}),
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
props: { className: 'lg' },
|
|
120
|
+
style: ({ theme }) => ({
|
|
121
|
+
paddingTop: 80,
|
|
122
|
+
paddingBottom: 80,
|
|
123
|
+
paddingLeft: 22.5,
|
|
124
|
+
paddingRight: 22.5,
|
|
125
|
+
[theme.breakpoints.down('sm')]: {
|
|
126
|
+
paddingTop: 70,
|
|
127
|
+
paddingBottom: 70,
|
|
128
|
+
},
|
|
129
|
+
}),
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
props: { className: 'xl' },
|
|
133
|
+
style: ({ theme }) => ({
|
|
134
|
+
paddingTop: 100,
|
|
135
|
+
paddingBottom: 100,
|
|
136
|
+
paddingLeft: 22.5,
|
|
137
|
+
paddingRight: 22.5,
|
|
138
|
+
[theme.breakpoints.down('sm')]: {
|
|
139
|
+
paddingTop: 90,
|
|
140
|
+
paddingBottom: 90,
|
|
141
|
+
},
|
|
142
|
+
}),
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
defaultProps: {
|
|
146
|
+
sx: {
|
|
147
|
+
paddingY: { xs: 11, md: 12.5 },
|
|
148
|
+
paddingX: { xs: 3 },
|
|
149
|
+
},
|
|
150
|
+
style: {
|
|
151
|
+
height: '100%',
|
|
152
|
+
alignItems: 'center',
|
|
153
|
+
justifyContent: 'center',
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
32
157
|
MuiAutocomplete: {
|
|
33
158
|
defaultProps: {
|
|
34
159
|
slotProps: {
|
|
@@ -122,20 +247,6 @@ export const components: Components<
|
|
|
122
247
|
},
|
|
123
248
|
},
|
|
124
249
|
},
|
|
125
|
-
MuiContainer: {
|
|
126
|
-
defaultProps: {
|
|
127
|
-
maxWidth: 'lg',
|
|
128
|
-
sx: {
|
|
129
|
-
paddingY: { xs: 11, md: 12.5 },
|
|
130
|
-
paddingX: { xs: 3 },
|
|
131
|
-
},
|
|
132
|
-
style: {
|
|
133
|
-
height: '100%',
|
|
134
|
-
alignItems: 'center',
|
|
135
|
-
justifyContent: 'center',
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
250
|
MuiPaper: {
|
|
140
251
|
variants: [
|
|
141
252
|
{
|
|
@@ -159,14 +270,6 @@ export const components: Components<
|
|
|
159
270
|
},
|
|
160
271
|
},
|
|
161
272
|
},
|
|
162
|
-
MuiStack: {
|
|
163
|
-
defaultProps: {
|
|
164
|
-
style: {
|
|
165
|
-
borderColor: '#D4D6DE',
|
|
166
|
-
borderWidth: 1,
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
273
|
MuiChip: {
|
|
171
274
|
defaultProps: {
|
|
172
275
|
style: {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
const fontFamily = {
|
|
2
|
+
primary: 'Inter, sans-serif',
|
|
3
|
+
secondary: 'Bricolage Grotesque, sans-serif',
|
|
4
|
+
};
|
|
5
|
+
|
|
1
6
|
export const typography = {
|
|
2
|
-
fontFamily:
|
|
7
|
+
fontFamily: fontFamily.primary,
|
|
3
8
|
h1: {
|
|
4
9
|
fontSize: '3.1rem',
|
|
5
10
|
fontWeight: 500,
|
|
@@ -8,11 +13,16 @@ export const typography = {
|
|
|
8
13
|
fontSize: '3.35rem',
|
|
9
14
|
fontWeight: 600,
|
|
10
15
|
lineHeight: 1.18,
|
|
16
|
+
letterSpacing: -0.2,
|
|
11
17
|
},
|
|
12
18
|
},
|
|
13
19
|
h2: {
|
|
14
20
|
fontSize: '2.8rem',
|
|
15
21
|
fontWeight: 550,
|
|
22
|
+
'@media (max-width:600px)': {
|
|
23
|
+
fontSize: '2.8rem',
|
|
24
|
+
fontWeight: 600,
|
|
25
|
+
},
|
|
16
26
|
},
|
|
17
27
|
h3: {
|
|
18
28
|
fontSize: '2.4rem',
|
|
@@ -27,15 +37,23 @@ export const typography = {
|
|
|
27
37
|
h4: {
|
|
28
38
|
fontSize: '2.2rem',
|
|
29
39
|
fontWeight: 500,
|
|
40
|
+
'@media (max-width:600px)': {
|
|
41
|
+
fontWeight: 600,
|
|
42
|
+
},
|
|
30
43
|
},
|
|
31
44
|
h5: {
|
|
32
45
|
fontSize: '2.15rem',
|
|
33
46
|
fontWeight: 500,
|
|
47
|
+
paddingLeft: 0.4,
|
|
48
|
+
'@media (max-width:600px)': {
|
|
49
|
+
fontSize: '2.2rem',
|
|
50
|
+
},
|
|
34
51
|
},
|
|
35
52
|
h6: {
|
|
36
|
-
fontFamily:
|
|
53
|
+
fontFamily: fontFamily.secondary,
|
|
37
54
|
fontSize: '2.3rem',
|
|
38
55
|
fontWeight: 500,
|
|
56
|
+
lineHeight: 1.25,
|
|
39
57
|
'@media (max-width:600px)': {
|
|
40
58
|
fontSize: '2.2rem',
|
|
41
59
|
},
|