@axinom/mosaic-ui 0.50.0-rc.6 → 0.50.0-rc.8
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/components/List/ListRow/ListRow.d.ts +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/List/ListRow/ListRow.scss +8 -3
- package/src/components/List/ListRow/ListRow.tsx +1 -1
- package/src/components/List/ListRow/ListRowLoader.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-ui",
|
|
3
|
-
"version": "0.50.0-rc.
|
|
3
|
+
"version": "0.50.0-rc.8",
|
|
4
4
|
"description": "UI components for building Axinom Mosaic applications",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build-storybook": "storybook build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@axinom/mosaic-core": "^0.4.23-rc.
|
|
35
|
+
"@axinom/mosaic-core": "^0.4.23-rc.8",
|
|
36
36
|
"@faker-js/faker": "^7.4.0",
|
|
37
37
|
"@popperjs/core": "^2.11.8",
|
|
38
38
|
"clsx": "^1.1.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"publishConfig": {
|
|
106
106
|
"access": "public"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "6f1b1ae0137a2c53cce3316f9d8a2d2b48783ce2"
|
|
109
109
|
}
|
|
@@ -39,13 +39,18 @@
|
|
|
39
39
|
|
|
40
40
|
span {
|
|
41
41
|
padding: 5px 0;
|
|
42
|
-
display:
|
|
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 = 'left',
|
|
179
178
|
verticalTextAlign = 'center',
|
|
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;
|