@moderneinc/neo-styled-components 5.1.0-next.95f3b6 → 5.1.0-next.d9ebfd

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 CHANGED
@@ -2781,18 +2781,15 @@ function NeoDataGrid({ autoHeight = false, toolbar, slots, sx, density = 'standa
2781
2781
  ...getDataGridHeaderStyles(),
2782
2782
  ...getDataGridRowStyles(),
2783
2783
  border: `1px solid ${semanticColors.border.secondary}`,
2784
- // Target `& svg` (not `.MuiSvgIcon-root`) to match the lucide icons
2785
- // NeoCheckbox renders, mirroring the header rule below.
2786
- // flexShrink: 0 stops the icon collapsing to 0 width when the checkbox
2787
- // column is narrower than the 32px box (16px icon + 16px padding) —
2788
- // without it the checkbox becomes invisible but stays clickable.
2784
+ // Style row selection checkboxes to match header (16px, proper spacing).
2785
+ // Target `& svg` (not `.MuiSvgIcon-root`) so the rule also matches the
2786
+ // lucide `<svg>` icons NeoCheckbox renders, mirroring the header rule.
2789
2787
  [`& .${gridClasses.cellCheckbox}`]: {
2790
2788
  [`& .${checkboxClasses.root}`]: {
2791
2789
  padding: `${spacing.spacing_1}px`,
2792
2790
  '& svg': {
2793
2791
  width: 16,
2794
2792
  height: 16,
2795
- flexShrink: 0,
2796
2793
  },
2797
2794
  },
2798
2795
  },