@axinom/mosaic-ui 0.49.1 → 0.49.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-ui",
3
- "version": "0.49.1",
3
+ "version": "0.49.2",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -105,5 +105,5 @@
105
105
  "publishConfig": {
106
106
  "access": "public"
107
107
  },
108
- "gitHead": "57b0efd7943d6a3f8bfb0d3cc33417e5be5b2171"
108
+ "gitHead": "c1b5b3e9f204889c7ebaad43ea51f7dfb3556d80"
109
109
  }
@@ -39,13 +39,18 @@
39
39
 
40
40
  span {
41
41
  padding: 5px 0;
42
- display: grid;
42
+ display: block;
43
+ width: 100%;
43
44
  }
44
45
 
45
46
  &.nowrap {
46
- white-space: nowrap;
47
- text-overflow: ellipsis;
48
47
  overflow: hidden;
48
+
49
+ span {
50
+ white-space: nowrap;
51
+ text-overflow: ellipsis;
52
+ overflow: hidden;
53
+ }
49
54
  }
50
55
  }
51
56
 
@@ -173,11 +173,11 @@ const renderData = <T extends Data>(
173
173
  export const ListRow = <T extends Data>({
174
174
  columnSizes,
175
175
  columnGap,
176
- rowHeight,
177
176
  actionSize,
178
177
  horizontalTextAlign,
179
178
  verticalTextAlign,
180
179
  textWrap = false,
180
+ rowHeight = textWrap ? undefined : '50px',
181
181
  data,
182
182
  itemSelected = false,
183
183
  isTrigger = false,
@@ -18,7 +18,7 @@ export interface ListRowLoaderProps<T extends Data> {
18
18
  export const ListRowLoader = <T extends Data>({
19
19
  columnSizes,
20
20
  columnGap,
21
- rowHeight,
21
+ rowHeight = '50px',
22
22
  columns,
23
23
  }: PropsWithChildren<ListRowLoaderProps<T>>): JSX.Element => {
24
24
  const textLoaderHeight = 10;