@tap-payments/os-micro-frontend-shared 0.0.79 → 0.0.81

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.
Files changed (43) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +12 -12
  3. package/build/components/SearchButton/styles.d.ts +1 -1
  4. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
  5. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +1 -1
  6. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +2 -2
  7. package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.d.ts +0 -2
  8. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +1 -1
  9. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +1 -1
  10. package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.d.ts +1 -1
  11. package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.js +2 -6
  12. package/build/components/VirtualTable/components/virtualScroll/VirtualScrollList.d.ts +5 -5
  13. package/build/components/VirtualTable/components/virtualScroll/VirtualScrollList.js +7 -9
  14. package/build/components/VirtualTable/hooks/useScrollBackShadow.d.ts +1 -2
  15. package/build/components/VirtualTable/hooks/useScrollBackShadow.js +2 -2
  16. package/build/components/VirtualTable/index.d.ts +0 -1
  17. package/build/components/VirtualTable/index.js +0 -1
  18. package/build/components/VirtualTable/style.d.ts +2 -3
  19. package/build/components/VirtualTable/style.js +0 -3
  20. package/build/components/index.d.ts +0 -1
  21. package/build/components/index.js +0 -1
  22. package/build/constants/apps.d.ts +0 -17
  23. package/build/constants/apps.js +0 -4
  24. package/build/constants/assets.d.ts +0 -2
  25. package/build/constants/assets.js +0 -2
  26. package/build/constants/table/cell/walletStatementTableCellWidth.d.ts +1 -1
  27. package/build/constants/table/cell/walletStatementTableCellWidth.js +1 -1
  28. package/build/constants/table.d.ts +1 -1
  29. package/build/constants/table.js +1 -1
  30. package/build/types/table.d.ts +0 -3
  31. package/package.json +129 -129
  32. package/build/components/VirtualTable/SheetView/SheetViewTableHeader.d.ts +0 -17
  33. package/build/components/VirtualTable/SheetView/SheetViewTableHeader.js +0 -69
  34. package/build/components/VirtualTable/SheetView/SheetViewVirtualTable.d.ts +0 -10
  35. package/build/components/VirtualTable/SheetView/SheetViewVirtualTable.js +0 -121
  36. package/build/components/VirtualTable/SheetView/hooks/usePinnedColumns.d.ts +0 -11
  37. package/build/components/VirtualTable/SheetView/hooks/usePinnedColumns.js +0 -62
  38. package/build/components/VirtualTable/SheetView/hooks/useSynchronizedScroll.d.ts +0 -8
  39. package/build/components/VirtualTable/SheetView/hooks/useSynchronizedScroll.js +0 -30
  40. package/build/components/VirtualTable/SheetView/index.d.ts +0 -3
  41. package/build/components/VirtualTable/SheetView/index.js +0 -3
  42. package/build/components/VirtualTable/SheetView/style.d.ts +0 -31
  43. package/build/components/VirtualTable/SheetView/style.js +0 -86
@@ -1,31 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ActionIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
3
- export declare const ColumnIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
- export declare const PinIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
- isPinned: boolean;
6
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- interface StyledHeaderProps {
8
- showBackDrop: boolean;
9
- }
10
- export declare const StyledHeader: import("@emotion/styled").StyledComponent<import("@mui/material").TableHeadOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
11
- ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
12
- }, "className" | "style" | "classes" | "children" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledHeaderProps, {}, {}>;
13
- interface StyledMUITableRowProps {
14
- component: string;
15
- }
16
- export declare const StyledMUITableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
17
- ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
18
- }, "className" | "style" | "classes" | "children" | "sx" | "hover" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledMUITableRowProps, {}, {}>;
19
- export declare const SheetViewVirtualTableWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const PinnedStartColumnWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
21
- width: number;
22
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {}, {}>;
23
- export declare const PinnedEndColumnWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
24
- width: number;
25
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {}, {}>;
26
- export declare const MainTableWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
27
- hasPinnedStart: boolean;
28
- hasPinnedEnd: boolean;
29
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
30
- export declare const UnpinnedTableHeaderWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
31
- export {};
@@ -1,86 +0,0 @@
1
- import { styled } from '@mui/material/styles';
2
- import { TableHead } from '@mui/material';
3
- import MUITableRow from '@mui/material/TableRow';
4
- export const ActionIcon = styled('img')(() => ({
5
- width: '13.3px',
6
- height: '13.3px',
7
- }));
8
- export const ColumnIcon = styled('img')(() => ({
9
- width: '8px',
10
- height: '6.4px',
11
- cursor: 'pointer',
12
- }));
13
- export const PinIconContainer = styled('div')(({ theme, isPinned }) => ({
14
- width: '16px',
15
- height: 'auto',
16
- cursor: 'pointer',
17
- display: 'flex',
18
- alignItems: 'center',
19
- justifyContent: 'center',
20
- borderRadius: '2px',
21
- padding: '2px',
22
- transition: 'all 0.2s ease',
23
- }));
24
- export const StyledHeader = styled(TableHead, {
25
- shouldForwardProp: (prop) => prop !== 'showBackDrop',
26
- })(({ showBackDrop, theme }) => ({
27
- width: '100%',
28
- minWidth: 'fit-content',
29
- flex: '0 0 auto',
30
- boxShadow: showBackDrop ? theme.shadows[23] : 'none',
31
- backgroundColor: theme.palette.background.default,
32
- zIndex: 1,
33
- }));
34
- export const StyledMUITableRow = styled(MUITableRow)(({ theme }) => ({
35
- display: 'flex',
36
- justifyContent: 'flex-start',
37
- width: '100%',
38
- minWidth: 'fit-content',
39
- height: '28px',
40
- borderBottom: `1px solid ${theme.palette.divider}`,
41
- backgroundColor: theme.palette.primary.light,
42
- }));
43
- export const SheetViewVirtualTableWrapper = styled('div')({
44
- display: 'flex',
45
- width: '100%',
46
- height: '100%',
47
- overflow: 'hidden',
48
- });
49
- const PinnedColumnBase = styled('div', {
50
- shouldForwardProp: (prop) => prop !== 'width',
51
- })(({ theme, width }) => ({
52
- width: `${width}px`,
53
- zIndex: 10,
54
- flex: '0 0 auto',
55
- minWidth: 0,
56
- display: 'flex',
57
- flexDirection: 'column',
58
- position: 'relative',
59
- backgroundColor: theme.palette.primary.light,
60
- border: '1px solid #F2F2F2',
61
- }));
62
- export const PinnedStartColumnWrapper = styled(PinnedColumnBase)({
63
- marginLeft: '32px',
64
- boxShadow: '4px 0px 24px 0px #00000014',
65
- });
66
- export const PinnedEndColumnWrapper = styled(PinnedColumnBase)({
67
- marginRight: '32px',
68
- boxShadow: '-4px 0px 24px 0px #00000014',
69
- });
70
- export const MainTableWrapper = styled('div', {
71
- shouldForwardProp: (prop) => prop !== 'hasPinnedStart' && prop !== 'hasPinnedEnd',
72
- })(({ hasPinnedStart, hasPinnedEnd }) => ({
73
- flex: '1 1 auto',
74
- minWidth: 0,
75
- display: 'flex',
76
- flexDirection: 'column',
77
- border: '1px solid #F2F2F2',
78
- marginLeft: hasPinnedStart ? '0' : '32px',
79
- marginRight: hasPinnedEnd ? '0' : '32px',
80
- position: 'relative',
81
- }));
82
- export const UnpinnedTableHeaderWrapper = styled('div')({
83
- flexShrink: 0,
84
- borderBottom: '1px solid #E0E0E0',
85
- height: 'auto',
86
- });