@axinom/mosaic-ui 0.50.0-rc.2 → 0.50.0-rc.4

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.50.0-rc.2",
3
+ "version": "0.50.0-rc.4",
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.2",
35
+ "@axinom/mosaic-core": "^0.4.23-rc.4",
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": "30d7ee749d5171817f91aaa3fbb6e87595230048"
108
+ "gitHead": "18e66fc172fde5b181dd5f065352721ef21768e6"
109
109
  }
@@ -22,10 +22,10 @@ export interface ListRowProps<T extends Data> {
22
22
  rowHeight?: string;
23
23
  /** Size of action button and checkbox */
24
24
  actionSize: string;
25
- /** Horizontal alignment of text */
26
- horizontalTextAlign: 'left' | 'right' | 'center';
27
- /** Vertical alignment of text */
28
- verticalTextAlign: 'start' | 'center' | 'end';
25
+ /** Horizontal alignment of text (default: left) */
26
+ horizontalTextAlign?: 'left' | 'right' | 'center';
27
+ /** Vertical alignment of text (default: right) */
28
+ verticalTextAlign?: 'start' | 'center' | 'end';
29
29
  /** If set to true, column text overflow will be wrapped to a new line. Otherwise, it will be truncated with an ellipsis (default: false) */
30
30
  textWrap?: boolean;
31
31
  /** List data */
@@ -150,8 +150,8 @@ export const ListRow = <T extends Data>({
150
150
  columnGap,
151
151
  rowHeight,
152
152
  actionSize,
153
- horizontalTextAlign,
154
- verticalTextAlign,
153
+ horizontalTextAlign = 'left',
154
+ verticalTextAlign = 'center',
155
155
  textWrap = false,
156
156
  data,
157
157
  itemSelected = false,