@moderneinc/neo-styled-components 5.0.0-next.1225ac → 5.0.0-next.bd2a49
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/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2785,18 +2785,21 @@ NeoDataGridColumnsButton.displayName = 'NeoDataGridColumnsButton';
|
|
|
2785
2785
|
const sizeStyles = {
|
|
2786
2786
|
small: {
|
|
2787
2787
|
height: 16,
|
|
2788
|
+
minWidth: 16,
|
|
2788
2789
|
paddingLeft: spacing.spacing_1_2, // 4px
|
|
2789
2790
|
paddingRight: spacing.spacing_1_2, // 4px
|
|
2790
2791
|
},
|
|
2791
2792
|
medium: {
|
|
2792
2793
|
height: 18,
|
|
2794
|
+
minWidth: 18,
|
|
2793
2795
|
paddingLeft: spacing.spacing_3_4, // 6px
|
|
2794
2796
|
paddingRight: spacing.spacing_3_4, // 6px
|
|
2795
2797
|
},
|
|
2796
2798
|
large: {
|
|
2797
2799
|
height: 20,
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
+
minWidth: 20,
|
|
2801
|
+
paddingLeft: spacing.spacing_1, // 8px
|
|
2802
|
+
paddingRight: spacing.spacing_1, // 8px
|
|
2800
2803
|
},
|
|
2801
2804
|
};
|
|
2802
2805
|
const outlinedColorStyles = {
|
|
@@ -2847,8 +2850,10 @@ const filledColorStyles = {
|
|
|
2847
2850
|
};
|
|
2848
2851
|
const StyledChip$1 = styled(Chip)(({ theme, size, variant, color }) => ({
|
|
2849
2852
|
padding: 0,
|
|
2853
|
+
boxSizing: 'border-box',
|
|
2850
2854
|
borderRadius: borderRadius.full,
|
|
2851
2855
|
fontSize: theme.typography.pxToRem(typography.fontSize.xs),
|
|
2856
|
+
lineHeight: 1,
|
|
2852
2857
|
fontWeight: typography.fontWeight.medium,
|
|
2853
2858
|
...(size && sizeStyles[size]),
|
|
2854
2859
|
[`& .${chipClasses.label}`]: {
|