@sonardigital/carbon-ui 1.1.70 → 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 +1 -1
- package/src/theme/constants/components.ts +76 -1
- package/src/theme/theme.ts +0 -76
package/package.json
CHANGED
|
@@ -78,7 +78,82 @@ export const components: Components<
|
|
|
78
78
|
spacing: 'xxs',
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
|
-
|
|
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
|
+
},
|
|
82
157
|
MuiAutocomplete: {
|
|
83
158
|
defaultProps: {
|
|
84
159
|
slotProps: {
|
package/src/theme/theme.ts
CHANGED
|
@@ -99,82 +99,6 @@ export const darkTheme = createTheme({
|
|
|
99
99
|
},
|
|
100
100
|
},
|
|
101
101
|
},
|
|
102
|
-
MuiContainer: {
|
|
103
|
-
variants: [
|
|
104
|
-
{
|
|
105
|
-
props: { className: 'xs' },
|
|
106
|
-
style: {
|
|
107
|
-
paddingTop: 22.5,
|
|
108
|
-
paddingBottom: 22.5,
|
|
109
|
-
paddingLeft: 22.5,
|
|
110
|
-
paddingRight: 22.5,
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
props: { className: 'sm' },
|
|
115
|
-
style: ({ theme }: { theme: Theme }) => ({
|
|
116
|
-
paddingTop: 35,
|
|
117
|
-
paddingBottom: 35,
|
|
118
|
-
paddingLeft: 22.5,
|
|
119
|
-
paddingRight: 22.5,
|
|
120
|
-
[theme.breakpoints.down('sm')]: {
|
|
121
|
-
paddingTop: 30,
|
|
122
|
-
paddingBottom: 30,
|
|
123
|
-
},
|
|
124
|
-
}),
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
props: { className: 'md' },
|
|
128
|
-
style: ({ theme }: { theme: Theme }) => ({
|
|
129
|
-
paddingTop: 50,
|
|
130
|
-
paddingBottom: 50,
|
|
131
|
-
paddingLeft: 22.5,
|
|
132
|
-
paddingRight: 22.5,
|
|
133
|
-
[theme.breakpoints.down('sm')]: {
|
|
134
|
-
paddingTop: 40,
|
|
135
|
-
paddingBottom: 40,
|
|
136
|
-
},
|
|
137
|
-
}),
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
props: { className: 'lg' },
|
|
141
|
-
style: ({ theme }: { theme: Theme }) => ({
|
|
142
|
-
paddingTop: 80,
|
|
143
|
-
paddingBottom: 80,
|
|
144
|
-
paddingLeft: 22.5,
|
|
145
|
-
paddingRight: 22.5,
|
|
146
|
-
[theme.breakpoints.down('sm')]: {
|
|
147
|
-
paddingTop: 70,
|
|
148
|
-
paddingBottom: 70,
|
|
149
|
-
},
|
|
150
|
-
}),
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
props: { className: 'xl' },
|
|
154
|
-
style: ({ theme }: { theme: Theme }) => ({
|
|
155
|
-
paddingTop: 100,
|
|
156
|
-
paddingBottom: 100,
|
|
157
|
-
paddingLeft: 22.5,
|
|
158
|
-
paddingRight: 22.5,
|
|
159
|
-
[theme.breakpoints.down('sm')]: {
|
|
160
|
-
paddingTop: 90,
|
|
161
|
-
paddingBottom: 90,
|
|
162
|
-
},
|
|
163
|
-
}),
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
defaultProps: {
|
|
167
|
-
sx: {
|
|
168
|
-
paddingY: { xs: 11, md: 12.5 },
|
|
169
|
-
paddingX: { xs: 3 },
|
|
170
|
-
},
|
|
171
|
-
style: {
|
|
172
|
-
height: '100%',
|
|
173
|
-
alignItems: 'center',
|
|
174
|
-
justifyContent: 'center',
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
102
|
MuiAccordionDetails: {
|
|
179
103
|
defaultProps: {
|
|
180
104
|
sx: {
|