@mailstep/design-system 0.7.42-beta.3 → 0.7.43

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": "@mailstep/design-system",
3
- "version": "0.7.42-beta.3",
3
+ "version": "0.7.43",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -2,7 +2,7 @@ import { FC } from 'react';
2
2
  import { ColumnDefinitions, DataRow } from './types';
3
3
  type Props = {
4
4
  columnDefinitions: ColumnDefinitions;
5
- data?: DataRow[];
5
+ data?: DataRow[] | null;
6
6
  onRowClick?: (dataRow: DataRow) => void;
7
7
  };
8
8
  export declare const Table: FC<Props>;
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("react").FC<{
5
5
  columnDefinitions: import("../types").ColumnDefinitions;
6
- data?: import("../types").DataRow[] | undefined;
6
+ data?: import("../types").DataRow[] | null | undefined;
7
7
  onRowClick?: ((dataRow: import("../types").DataRow) => void) | undefined;
8
8
  }>;
9
9
  tags: string[];
@@ -20,7 +20,6 @@ import styled, { th } from '@xstyled/styled-components';
20
20
  var StyledNumber = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n height: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n border-radius: md;\n padding: 2px 6px;\n"], ["\n background: ", ";\n height: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n border-radius: md;\n padding: 2px 6px;\n"])), th.color('lightGray7'));
21
21
  var CountMultiValue = function (props) {
22
22
  var _a, _b;
23
- console.log('props', props);
24
23
  var shortValues = props.selectProps.shortValues;
25
24
  var selectVal = props.selectProps.value;
26
25
  var inputVal = props.selectProps.inputValue;