flipper-ui 0.42.0 → 0.42.1

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.
@@ -25,6 +25,7 @@ export declare const STICKY_FOOTER: {
25
25
  readonly zIndex: 2;
26
26
  readonly bottom: 0;
27
27
  readonly position: "sticky";
28
+ readonly borderBottom: "none";
28
29
  readonly backgroundColor: string;
29
30
  readonly boxShadow: `0 -1px 0 ${string}, 0 -4px 12px ${string}`;
30
31
  };
@@ -43,6 +43,7 @@ var STICKY_FOOTER = exports.STICKY_FOOTER = {
43
43
  zIndex: 2,
44
44
  bottom: 0,
45
45
  position: 'sticky',
46
+ borderBottom: 'none',
46
47
  backgroundColor: neutral[50],
47
48
  boxShadow: "0 -1px 0 ".concat(gray[200], ", 0 -4px 12px ").concat((0, _styles.alpha)(gray[800], 0.04))
48
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flipper-ui",
3
- "version": "0.42.0",
3
+ "version": "0.42.1",
4
4
  "author": "NG",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
package/theme/theme.d.ts CHANGED
@@ -124,5 +124,12 @@ export declare const muiThemeOptions: {
124
124
  };
125
125
  };
126
126
  };
127
+ MuiTableCell: {
128
+ styleOverrides: {
129
+ stickyHeader: {
130
+ backgroundColor: string;
131
+ };
132
+ };
133
+ };
127
134
  };
128
135
  };
package/theme/theme.js CHANGED
@@ -35,6 +35,16 @@ var muiThemeOptions = exports.muiThemeOptions = {
35
35
  defaultProps: {
36
36
  variantMapping: _typography.variantMapping
37
37
  }
38
+ },
39
+ // a sticky head cell needs an opaque background or the rows scroll
40
+ // through it, and MUI paints it with background.default — the page
41
+ // colour set above, not the surface the table sits on
42
+ MuiTableCell: {
43
+ styleOverrides: {
44
+ stickyHeader: {
45
+ backgroundColor: _colors["default"].neutral[50]
46
+ }
47
+ }
38
48
  }
39
49
  }
40
50
  };
@@ -0,0 +1 @@
1
+ export {};