@tap-payments/os-micro-frontend-shared 0.1.65-test.2-test.3 → 0.1.66

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Tap Payments
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tap Payments
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # os-micro-frontend-shared
2
-
3
- ## Publishing Workflow
4
-
5
- 1. Update version in package.json
6
- 2. Commit changes
7
- 3. Create and push a tag:
8
-
9
- ```bash
10
- npm version patch # or minor, major
11
- git push origin main --tags
12
- ```
1
+ # os-micro-frontend-shared
2
+
3
+ ## Publishing Workflow
4
+
5
+ 1. Update version in package.json
6
+ 2. Commit changes
7
+ 3. Create and push a tag:
8
+
9
+ ```bash
10
+ npm version patch # or minor, major
11
+ git push origin main --tags
12
+ ```
@@ -8,7 +8,7 @@ function FilteredIds({ Ids, onCancelClick, isShown, cardNumber }) {
8
8
  var _a;
9
9
  if (!isShown)
10
10
  return null;
11
- return (_jsxs(FilteredIdsContainer, Object.assign({ centered: !!cardNumber, isLongerString: ((_a = cardNumber === null || cardNumber === void 0 ? void 0 : cardNumber.length) !== null && _a !== void 0 ? _a : 0) > 11 }, { children: [cardNumber ? _jsx(StyledFilterName, { children: cardNumber }) : _jsx("span", { children: Ids === null || Ids === void 0 ? void 0 : Ids.join(',') }), _jsx(StyledBadge, Object.assign({ pointer: true, round: true, onClick: onCancelClick, variant: BadgeVariants.ACTIVE }, { children: _jsx("img", { src: whiteCloseIcon, alt: "close", style: {
11
+ return (_jsxs(FilteredIdsContainer, Object.assign({ isLongerString: ((_a = cardNumber === null || cardNumber === void 0 ? void 0 : cardNumber.length) !== null && _a !== void 0 ? _a : 0) > 11 }, { children: [cardNumber ? _jsx(StyledFilterName, { children: cardNumber }) : _jsx("span", { children: Ids === null || Ids === void 0 ? void 0 : Ids.join(',') }), _jsx(StyledBadge, Object.assign({ pointer: true, round: true, onClick: onCancelClick, variant: BadgeVariants.ACTIVE, sx: { position: 'absolute', right: '8px' } }, { children: _jsx("img", { src: whiteCloseIcon, alt: "close", style: {
12
12
  width: '8px',
13
13
  height: '7px',
14
14
  } }) }))] })));
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  interface FilteredIdsContainerProps {
3
- centered: boolean;
4
3
  isLongerString: boolean;
5
4
  }
6
5
  export declare const FilteredIdsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
@@ -1,12 +1,11 @@
1
1
  import { Box, styled } from '@mui/material';
2
2
  export const FilteredIdsContainer = styled(Box, {
3
- shouldForwardProp: (props) => props !== 'centered' && props !== 'isLongerString',
4
- })(({ theme, centered, isLongerString }) => ({
3
+ shouldForwardProp: (props) => props !== 'isLongerString',
4
+ })(({ theme, isLongerString }) => ({
5
5
  display: 'flex',
6
- justifyContent: centered ? 'space-between' : 'flex-start',
6
+ justifyContent: 'center',
7
7
  alignItems: 'center',
8
- paddingRight: theme.spacing(1.3),
9
- paddingLeft: theme.spacing(3),
8
+ padding: '6px 16px',
10
9
  height: '32px',
11
10
  background: theme.palette.background.gradient.shadedBlue,
12
11
  color: theme.palette.common.white,
@@ -5,6 +5,7 @@ export const StyledFormControlLabel = styled(FormControlLabel, {
5
5
  })(({ size = 'small', showHoverEffects = true, labelSx }) => (Object.assign(Object.assign({ margin: '0', width: '100%', cursor: 'pointer', padding: size === 'small' ? '7.5px 16px 7.5px 8px' : size === 'medium' ? '9px 16px 9px 10px' : '11px 16px 11px 12px', maxHeight: size === 'small' ? '35px' : size === 'medium' ? '40px' : '45px' }, (showHoverEffects && {
6
6
  '&:hover': {
7
7
  boxShadow: '0px 0px 16px 0px #00000021',
8
+ borderLeft: '1px solid transparent',
8
9
  },
9
10
  })), { '& .MuiFormControlLabel-label': Object.assign({ fontSize: size === 'small' ? '11px' : size === 'medium' ? '13px' : '15px', fontWeight: '500', color: '#20232B', width: '100%', cursor: 'pointer' }, labelSx), '& .MuiRadio-root': {
10
11
  cursor: 'pointer',
@@ -19,5 +19,5 @@ import IconWithBadge from '../../../IconWithBadge';
19
19
  export default function BrandsCell(_a) {
20
20
  var { brand, verificationStatus, hideStatus } = _a, props = __rest(_a, ["brand", "verificationStatus", "hideStatus"]);
21
21
  const icon = verificationIcon[verificationStatus !== null && verificationStatus !== void 0 ? verificationStatus : 'incomplete'];
22
- return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden', width: '100%' } }, { children: [_jsx(IconWithBadge, { mainIcon: brand.logo, mainIconSize: 16, containerSize: 16, borderColor: "transparent" }), _jsx(Label, Object.assign({ sx: Object.assign({}, (!brand.name && { color: '#B1B1B1' })) }, { children: brand.name || 'Not Available' })), !hideStatus && (_jsx(IconWithBadge, { mainIcon: icon, mainIconSize: 16, containerSize: 16, borderColor: "transparent", containerSx: { marginLeft: 'auto' } }))] })) })) })) })));
22
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden', width: '100%' } }, { children: [_jsx(IconWithBadge, { mainIcon: brand.logo, mainIconSize: 16, containerSize: 16, borderColor: "transparent" }), _jsx(Label, Object.assign({ sx: Object.assign({}, (!brand.name && { color: '#B1B1B1' })) }, { children: brand.name || 'Not Available' })), !hideStatus && (_jsx(IconWithBadge, { mainIcon: icon, mainIconSize: 10, containerSize: 10, borderColor: "transparent", containerSx: { marginLeft: 'auto' } }))] })) })) })) })));
23
23
  }
@@ -17,5 +17,5 @@ import Tooltip from '../../../Tooltip';
17
17
  export default function IndividualsCell(_a) {
18
18
  var { id, status, count, name } = _a, props = __rest(_a, ["id", "status", "count", "name"]);
19
19
  const icon = verificationIcons[status !== null && status !== void 0 ? status : 'incomplete'];
20
- return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(IndividualsWrapper, { children: id ? (_jsxs(IndividualContainer, { children: [_jsx(Tooltip, Object.assign({ title: name }, { children: _jsx(IndividualName, { children: id }) })), _jsxs(VerificationContainer, { children: [_jsx(VerificationIcon, { src: icon }), count > 1 && (_jsx("div", { children: _jsxs(Count, { children: ["+", count] }) }))] })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })));
20
+ return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(IndividualsWrapper, { children: id ? (_jsxs(IndividualContainer, { children: [_jsx(Tooltip, Object.assign({ title: name }, { children: _jsx(IndividualName, { children: id }) })), _jsxs(VerificationContainer, { children: [_jsx(VerificationIcon, { src: icon }), count > 0 && (_jsx("div", { children: _jsxs(Count, { children: ["+", count] }) }))] })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })));
21
21
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ISheetViewVirtualTable } from './types';
3
- declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout, isPinnable, tableMode, overscanCount, }: Readonly<ISheetViewVirtualTable>): import("react/jsx-runtime").JSX.Element;
3
+ declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout, isPinnable, tableMode, }: Readonly<ISheetViewVirtualTable>): import("react/jsx-runtime").JSX.Element;
4
4
  declare const _default: import("react").MemoExoticComponent<typeof SheetViewVirtualTable>;
5
5
  export default _default;
@@ -6,7 +6,7 @@ import { SheetViewTableContainer } from '../components/style';
6
6
  import { SheetViewVirtualTableWrapper } from './style';
7
7
  import { usePinnedColumns, useSynchronizedScroll, useTableState, useTableData, useVirtualTableContainer, usePinnedColumnsWidths } from './hooks';
8
8
  import { PinnedColumn, MainTable, LoadingMainTable, NoDataView, VirtualTable } from './components';
9
- function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = 28, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded = false, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout = 100, isPinnable = false, tableMode, overscanCount, }) {
9
+ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = 28, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, areAllRowsLoaded = false, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout = 100, isPinnable = false, tableMode, }) {
10
10
  const { selectedCell, selectedColumn, selectedRow, showBackDrop, setShowBackdrop, handleCellClick, handleColumnClick, handleChipClick, selectedChip, } = useTableState();
11
11
  const { isError, tableLoading, tableError, tableEmpty, hasTimeoutError, showNoDataView, lastItemIndex, areTotalRowsNotFillingHeight, itemsCount, isDelayedFetchingNextPage, } = useTableData({
12
12
  rows,
@@ -43,7 +43,7 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
43
43
  const source = containerKey === 'pinnedStart' ? 'start' : containerKey === 'pinnedEnd' ? 'end' : 'scrollable';
44
44
  handleScroll(scrollProps, source);
45
45
  };
46
- return (_jsx(VirtualTable, { columnsData: columnsData, itemCount: itemsCount, lastItemIndex: lastItemIndex, areAllRowsLoaded: areAllRowsLoaded, loadMoreItems: loadMoreItems, threshold: threshold, getItemSize: getItemSize, getItemData: getItemDataForContainer, isPinned: isPinned, fixedWidth: fixedWidth, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, onScroll: handleScrollCallback, setBackdropVisibility: setShowBackdrop, listRef: listRef, overscanCount: overscanCount }));
46
+ return (_jsx(VirtualTable, { columnsData: columnsData, itemCount: itemsCount, lastItemIndex: lastItemIndex, areAllRowsLoaded: areAllRowsLoaded, loadMoreItems: loadMoreItems, threshold: threshold, getItemSize: getItemSize, getItemData: getItemDataForContainer, isPinned: isPinned, fixedWidth: fixedWidth, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, onScroll: handleScrollCallback, setBackdropVisibility: setShowBackdrop, listRef: listRef }));
47
47
  }, [
48
48
  itemsCount,
49
49
  lastItemIndex,
@@ -39,8 +39,7 @@ interface VirtualTableProps {
39
39
  onScroll?: (scrollProps: ListOnScrollProps) => void;
40
40
  setBackdropVisibility: (visible: boolean) => void;
41
41
  listRef: React.RefObject<VariableSizeList>;
42
- overscanCount?: number;
43
42
  }
44
- declare function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, overscanCount, }: VirtualTableProps): import("react/jsx-runtime").JSX.Element;
43
+ declare function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, }: VirtualTableProps): import("react/jsx-runtime").JSX.Element;
45
44
  declare const _default: import("react").MemoExoticComponent<typeof VirtualTable>;
46
45
  export default _default;
@@ -11,10 +11,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { memo } from 'react';
12
12
  import InfiniteLoader from 'react-window-infinite-loader';
13
13
  import AutoSizer from 'react-virtualized-auto-sizer';
14
- import { SHEET_VIEW_TABLE_LIST_OVER_SCAN } from '../../../../constants/index.js';
14
+ import { TABLE_LIST_OVER_SCAN } from '../../../../constants/index.js';
15
15
  import ListItemWrapper from '../../components/virtualScroll/ListItemWrapper';
16
16
  import { StyledVirtualList } from '../../components/style';
17
- function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, overscanCount, }) {
17
+ function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded, loadMoreItems, threshold, getItemSize, getItemData, isPinned, fixedWidth, scrollToIndex, areTotalRowsNotFillingHeight, clearBackdropVisibilityTimeout, onScroll, setBackdropVisibility, listRef, }) {
18
18
  const handleOnLoadMoreItems = () => __awaiter(this, void 0, void 0, function* () {
19
19
  if (areAllRowsLoaded)
20
20
  return;
@@ -23,7 +23,7 @@ function VirtualTable({ columnsData, itemCount, lastItemIndex, areAllRowsLoaded,
23
23
  return (_jsx(InfiniteLoader, Object.assign({ isItemLoaded: (index) => index !== lastItemIndex, itemCount: itemCount, loadMoreItems: handleOnLoadMoreItems, threshold: threshold }, { children: ({ onItemsRendered, ref }) => (_jsx(AutoSizer, Object.assign({ ref: ref }, { children: ({ height, width }) => {
24
24
  const itemSize = (index) => getItemSize(index, height);
25
25
  const itemData = getItemData(columnsData, isPinned, height);
26
- return (_jsx(StyledVirtualList, Object.assign({ listRef: listRef, height: height, width: fixedWidth || width, itemCount: itemCount, itemSize: itemSize, itemData: itemData, onItemsRendered: onItemsRendered, overscanCount: overscanCount || SHEET_VIEW_TABLE_LIST_OVER_SCAN, setBackdropVisibility: setBackdropVisibility, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, useIsScrolling: true, onScroll: onScroll, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, style: {
26
+ return (_jsx(StyledVirtualList, Object.assign({ listRef: listRef, height: height, width: fixedWidth || width, itemCount: itemCount, itemSize: itemSize, itemData: itemData, onItemsRendered: onItemsRendered, overscanCount: TABLE_LIST_OVER_SCAN, setBackdropVisibility: setBackdropVisibility, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, useIsScrolling: true, onScroll: onScroll, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, style: {
27
27
  overflowX: isPinned ? 'hidden' : 'auto',
28
28
  paddingBottom: isPinned ? '25px' : '13px',
29
29
  backgroundColor: isPinned ? 'transparent' : '#F6F8FACC',
@@ -5,7 +5,6 @@ export interface ISheetViewVirtualTable extends Omit<IVirtualTable, 'isSheetView
5
5
  onColumnPin?: (columnId: string, isPinned: boolean) => void;
6
6
  isPinnable?: boolean;
7
7
  clearBackdropVisibilityTimeout?: number;
8
- overscanCount?: number;
9
8
  }
10
9
  export interface SheetViewTableHeaderProps {
11
10
  columns: IColumnProps[];
@@ -5,19 +5,19 @@ export declare const merchantsTableCellWidth: {
5
5
  readonly sheet: "225px";
6
6
  };
7
7
  readonly entity: {
8
- readonly default: "150px";
8
+ readonly default: "146px";
9
9
  readonly text: "180px";
10
10
  readonly sheet: "180px";
11
11
  };
12
12
  readonly created: {
13
- readonly default: "170px";
13
+ readonly default: "160px";
14
14
  readonly text: "170px";
15
15
  readonly sheet: "170px";
16
16
  };
17
17
  readonly brands: {
18
- readonly default: "116px";
19
- readonly text: "120px";
20
- readonly sheet: "120px";
18
+ readonly default: "140px";
19
+ readonly text: "140px";
20
+ readonly sheet: "140px";
21
21
  };
22
22
  readonly marketplace: {
23
23
  readonly default: "110px";
@@ -25,9 +25,9 @@ export declare const merchantsTableCellWidth: {
25
25
  readonly sheet: "110px";
26
26
  };
27
27
  readonly individuals: {
28
- readonly default: "116px";
29
- readonly text: "120px";
30
- readonly sheet: "120px";
28
+ readonly default: "185px";
29
+ readonly text: "185px";
30
+ readonly sheet: "185px";
31
31
  };
32
32
  readonly segments: {
33
33
  readonly default: "70px";
@@ -35,17 +35,17 @@ export declare const merchantsTableCellWidth: {
35
35
  readonly sheet: "180px";
36
36
  };
37
37
  readonly psp: {
38
- readonly default: "60px";
38
+ readonly default: "70px";
39
39
  readonly text: "180px";
40
40
  readonly sheet: "180px";
41
41
  };
42
42
  readonly status: {
43
- readonly default: "80px";
43
+ readonly default: "64px";
44
44
  readonly text: "100px";
45
45
  readonly sheet: "100px";
46
46
  };
47
47
  readonly partners: {
48
- readonly default: "75px";
48
+ readonly default: "88px";
49
49
  readonly text: "100px";
50
50
  readonly sheet: "100px";
51
51
  };
@@ -65,8 +65,13 @@ export declare const merchantsTableCellWidth: {
65
65
  readonly sheet: "180px";
66
66
  };
67
67
  readonly channels: {
68
- readonly default: "110px";
68
+ readonly default: "94px";
69
69
  readonly text: "120px";
70
70
  readonly sheet: "120px";
71
71
  };
72
+ readonly merchant: {
73
+ readonly default: "175px";
74
+ readonly text: "180px";
75
+ readonly sheet: "180px";
76
+ };
72
77
  };
@@ -5,19 +5,19 @@ export const merchantsTableCellWidth = {
5
5
  sheet: '225px',
6
6
  },
7
7
  entity: {
8
- default: '150px',
8
+ default: '146px',
9
9
  text: '180px',
10
10
  sheet: '180px',
11
11
  },
12
12
  created: {
13
- default: '170px',
13
+ default: '160px',
14
14
  text: '170px',
15
15
  sheet: '170px',
16
16
  },
17
17
  brands: {
18
- default: '116px',
19
- text: '120px',
20
- sheet: '120px',
18
+ default: '140px',
19
+ text: '140px',
20
+ sheet: '140px',
21
21
  },
22
22
  marketplace: {
23
23
  default: '110px',
@@ -25,9 +25,9 @@ export const merchantsTableCellWidth = {
25
25
  sheet: '110px',
26
26
  },
27
27
  individuals: {
28
- default: '116px',
29
- text: '120px',
30
- sheet: '120px',
28
+ default: '185px',
29
+ text: '185px',
30
+ sheet: '185px',
31
31
  },
32
32
  segments: {
33
33
  default: '70px',
@@ -35,17 +35,17 @@ export const merchantsTableCellWidth = {
35
35
  sheet: '180px',
36
36
  },
37
37
  psp: {
38
- default: '60px',
38
+ default: '70px',
39
39
  text: '180px',
40
40
  sheet: '180px',
41
41
  },
42
42
  status: {
43
- default: '80px',
43
+ default: '64px',
44
44
  text: '100px',
45
45
  sheet: '100px',
46
46
  },
47
47
  partners: {
48
- default: '75px',
48
+ default: '88px',
49
49
  text: '100px',
50
50
  sheet: '100px',
51
51
  },
@@ -65,8 +65,13 @@ export const merchantsTableCellWidth = {
65
65
  sheet: '180px',
66
66
  },
67
67
  channels: {
68
- default: '110px',
68
+ default: '94px',
69
69
  text: '120px',
70
70
  sheet: '120px',
71
71
  },
72
+ merchant: {
73
+ default: '175px',
74
+ text: '180px',
75
+ sheet: '180px',
76
+ },
72
77
  };
@@ -3,5 +3,4 @@ export declare const TABLE_CONTENT_ROW_HEIGHT = 70;
3
3
  export declare const TABLE_ROW_HEIGHT = 57;
4
4
  export declare const TABLE_THRESHOLD = 200;
5
5
  export declare const TABLE_LIST_OVER_SCAN = 5;
6
- export declare const SHEET_VIEW_TABLE_LIST_OVER_SCAN = 100;
7
6
  export declare const SHEET_VIEW_TABLE_ROW_HEIGHT = 28;
@@ -3,5 +3,4 @@ export const TABLE_CONTENT_ROW_HEIGHT = 70;
3
3
  export const TABLE_ROW_HEIGHT = 57;
4
4
  export const TABLE_THRESHOLD = 200;
5
5
  export const TABLE_LIST_OVER_SCAN = 5;
6
- export const SHEET_VIEW_TABLE_LIST_OVER_SCAN = 100;
7
6
  export const SHEET_VIEW_TABLE_ROW_HEIGHT = 28;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.65-test.2-test.3",
5
- "testVersion": 3,
4
+ "version": "0.1.66",
5
+ "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -134,4 +134,4 @@
134
134
  "publishConfig": {
135
135
  "registry": "https://registry.npmjs.org/"
136
136
  }
137
- }
137
+ }