@astral/ui 1.39.0 → 1.39.3

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.
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ActionCellWrapper = void 0;
4
4
  const styles_1 = require("../styles");
5
5
  exports.ActionCellWrapper = styles_1.styled.div `
6
- display: flex;
6
+ display: inline-flex;
7
7
  align-items: center;
8
8
  `;
@@ -7,7 +7,10 @@ const TABLE_ROW_HEIGHT = 44;
7
7
  exports.StyledTableBody = (0, styles_1.styled)(Table_1.TableBody, {
8
8
  shouldForwardProp: (prop) => prop !== 'empty' && prop !== 'minDisplayRows',
9
9
  }) `
10
- position: relative;
11
-
12
10
  height: ${({ empty, minDisplayRows }) => empty ? `${TABLE_ROW_HEIGHT * minDisplayRows}px` : '100%'};
11
+
12
+ /* Без этого в FF не применяется height */
13
+ &::after {
14
+ content: '';
15
+ }
13
16
  `;
@@ -4,7 +4,7 @@ exports.DataGridNoDataFigcaption = exports.DataGridNoDataIcon = exports.DataGrid
4
4
  const Typography_1 = require("../../Typography");
5
5
  const styles_1 = require("../../styles");
6
6
  exports.DataGridNoDataWrapper = styles_1.styled.tr `
7
- position: sticky;
7
+ position: absolute;
8
8
  top: 50%;
9
9
  left: 50%;
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { styled } from '../styles';
2
2
  export const ActionCellWrapper = styled.div `
3
- display: flex;
3
+ display: inline-flex;
4
4
  align-items: center;
5
5
  `;
@@ -4,7 +4,10 @@ const TABLE_ROW_HEIGHT = 44;
4
4
  export const StyledTableBody = styled(TableBody, {
5
5
  shouldForwardProp: (prop) => prop !== 'empty' && prop !== 'minDisplayRows',
6
6
  }) `
7
- position: relative;
8
-
9
7
  height: ${({ empty, minDisplayRows }) => empty ? `${TABLE_ROW_HEIGHT * minDisplayRows}px` : '100%'};
8
+
9
+ /* Без этого в FF не применяется height */
10
+ &::after {
11
+ content: '';
12
+ }
10
13
  `;
@@ -1,7 +1,7 @@
1
1
  import { Typography } from '../../Typography';
2
2
  import { styled } from '../../styles';
3
3
  export const DataGridNoDataWrapper = styled.tr `
4
- position: sticky;
4
+ position: absolute;
5
5
  top: 50%;
6
6
  left: 50%;
7
7
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "1.39.0",
3
+ "version": "1.39.3",
4
4
  "browser": "./esm/index.js",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@astral/icons": "^1.39.0",
7
+ "@astral/icons": "^1.39.3",
8
8
  "@emotion/cache": "11.7.1",
9
9
  "@emotion/react": "11.9.0",
10
10
  "@emotion/server": "11.4.0",