@sonardigital/carbon-ui 1.1.75 → 1.1.77
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
|
@@ -143,14 +143,9 @@ export const components: Components<
|
|
|
143
143
|
},
|
|
144
144
|
],
|
|
145
145
|
defaultProps: {
|
|
146
|
-
sx: {
|
|
147
|
-
paddingY: { xs: 11, md: 12.5 },
|
|
148
|
-
paddingX: { xs: 3 },
|
|
149
|
-
},
|
|
150
146
|
style: {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
justifyContent: 'center',
|
|
147
|
+
paddingLeft: 22.5,
|
|
148
|
+
paddingRight: 22.5,
|
|
154
149
|
},
|
|
155
150
|
},
|
|
156
151
|
},
|
|
@@ -563,6 +558,42 @@ export const components: Components<
|
|
|
563
558
|
backgroundColor: 'background.paper',
|
|
564
559
|
},
|
|
565
560
|
},
|
|
561
|
+
{
|
|
562
|
+
props: {
|
|
563
|
+
// TODO: fix this type
|
|
564
|
+
// eslint-disable-next-line
|
|
565
|
+
// @ts-ignore
|
|
566
|
+
variant: 'boxed',
|
|
567
|
+
color: 'primary',
|
|
568
|
+
},
|
|
569
|
+
style: ({ theme }) => ({
|
|
570
|
+
width: 50,
|
|
571
|
+
height: 50,
|
|
572
|
+
display: 'flex',
|
|
573
|
+
backgroundColor: theme.palette.primary.light,
|
|
574
|
+
padding: 0,
|
|
575
|
+
alignItems: 'center',
|
|
576
|
+
justifyContent: 'center',
|
|
577
|
+
}),
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
props: {
|
|
581
|
+
// TODO: fix this type
|
|
582
|
+
// eslint-disable-next-line
|
|
583
|
+
// @ts-ignore
|
|
584
|
+
variant: 'boxed',
|
|
585
|
+
color: 'secondary',
|
|
586
|
+
},
|
|
587
|
+
style: ({ theme }) => ({
|
|
588
|
+
width: 50,
|
|
589
|
+
height: 50,
|
|
590
|
+
display: 'flex',
|
|
591
|
+
backgroundColor: theme.palette.secondary.light,
|
|
592
|
+
padding: 0,
|
|
593
|
+
alignItems: 'center',
|
|
594
|
+
justifyContent: 'center',
|
|
595
|
+
}),
|
|
596
|
+
},
|
|
566
597
|
{
|
|
567
598
|
props: {
|
|
568
599
|
// TODO: fix this type
|