@tap-payments/os-micro-frontend-shared 0.1.381 → 0.1.382-test.2
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/build/components/AnimatedSpinnerIcon/style.d.ts +0 -1
- package/build/components/Chip/style.d.ts +0 -1
- package/build/components/CountBadge/style.d.ts +0 -1
- package/build/components/Dialog/style.d.ts +0 -1
- package/build/components/FlippingCard/style.d.ts +0 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
- package/build/components/JSONViewer/style.d.ts +0 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +0 -1
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -1
- package/build/components/SearchButton/styles.d.ts +0 -1
- package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
- package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +4 -4
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IDButton/IDButton.d.ts +3 -2
- package/build/components/TableCells/CustomCells/IDButton/IDButton.js +7 -7
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IDButton/style.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +11 -13
- package/build/components/TableCells/CustomCells/LinkCell/style.d.ts +0 -3
- package/build/components/TableCells/CustomCells/LinkCell/style.js +0 -7
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/index.js +1 -0
- package/build/components/TableCells/CustomCells/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/type.d.ts +1 -0
- package/build/components/TableReports/components/DownloadButton/style.d.ts +0 -1
- package/build/components/TableReports/style.d.ts +0 -1
- package/build/components/VirtualTables/components/style.d.ts +0 -1
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/assets.js +2 -0
- package/package.json +3 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
import { GetSourceAnimationFunction } from './type';
|
|
4
3
|
export declare const ChipStyled: import("@emotion/styled").StyledComponent<import("react").RefAttributes<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
4
|
variant?: import("./type").ChipVariant | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -3,5 +3,5 @@ import type { ActionCellProps } from '../type';
|
|
|
3
3
|
type Props = Readonly<ActionCellProps> & {
|
|
4
4
|
onJsonViewClick?: () => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const ActionCell: React.MemoExoticComponent<({ flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown, row, showJsonViewer, isTextShown, showIdButton, rowId, onJsonViewClick, renderDropdown, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export declare const ActionCell: React.MemoExoticComponent<({ flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown, row, showJsonViewer, isTextShown, showIdButton, rowId, onJsonViewClick, renderDropdown, startSlot, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export {};
|
|
@@ -17,7 +17,7 @@ import Dropdown from '../../../DropdownMenu';
|
|
|
17
17
|
import Tooltip from '../../../Tooltip';
|
|
18
18
|
import { TableCell } from '../../../TableCells';
|
|
19
19
|
import StyledBadge, { BadgeVariants } from '../../../CountBadge';
|
|
20
|
-
import { jsonBlackIcon } from '../../../../constants/index.js';
|
|
20
|
+
import { jsonBlackIcon, rowIdIcon } from '../../../../constants/index.js';
|
|
21
21
|
import ActionIconsVariants from './components/ActionIconsVariants';
|
|
22
22
|
import { actionIcons, colorToVariant, flags } from './constant';
|
|
23
23
|
import { useActionCell } from './hooks/useActionCell';
|
|
@@ -26,12 +26,12 @@ import { IDButton } from '../IDButton';
|
|
|
26
26
|
import { BadgeWrapper, IdButtonContainer, TextLabel, TransparentButton } from '../style';
|
|
27
27
|
export const ActionCell = memo((_a) => {
|
|
28
28
|
var _b, _c;
|
|
29
|
-
var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, renderDropdown } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "renderDropdown"]);
|
|
29
|
+
var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, renderDropdown, startSlot } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "renderDropdown", "startSlot"]);
|
|
30
30
|
const { t } = useTranslation();
|
|
31
31
|
const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, setAnchorEl, } = useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown });
|
|
32
32
|
return (_jsx(TableCell, Object.assign({}, props, { sx: {
|
|
33
33
|
overflow: 'visible',
|
|
34
|
-
} }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionCell_ActionCellContainer" }, { children: [flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionCell_FlagLabel", sx: {
|
|
34
|
+
} }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionCell_ActionCellContainer" }, { children: [startSlot, flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionCell_FlagLabel", sx: {
|
|
35
35
|
textAlign: 'left',
|
|
36
36
|
justifyContent: 'flex-start',
|
|
37
37
|
} }, { children: flagTooltip })) }))) : (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsxs(BadgeWrapper, Object.assign({ "data-testid": "ActionCell_FlagBadge", sx: {
|
|
@@ -71,7 +71,7 @@ export const ActionCell = memo((_a) => {
|
|
|
71
71
|
},
|
|
72
72
|
opacity: 1,
|
|
73
73
|
},
|
|
74
|
-
} }, { children: _jsxs(StyledBadge, Object.assign({ compact: true, variant: colorToVariant[(_c = flags[flag]) === null || _c === void 0 ? void 0 : _c.color] || BadgeVariants.ORANGE, "data-testid": "ActionCell_StyledBadge" }, { children: [flagsCount, "x"] })) })))] })) }))) })), showIdButton && _jsx(IDButton, {
|
|
74
|
+
} }, { children: _jsxs(StyledBadge, Object.assign({ compact: true, variant: colorToVariant[(_c = flags[flag]) === null || _c === void 0 ? void 0 : _c.color] || BadgeVariants.ORANGE, "data-testid": "ActionCell_StyledBadge" }, { children: [flagsCount, "x"] })) })))] })) }))) })), showIdButton && _jsx(IDButton, { id: rowId || row.id, icon: rowIdIcon }), _jsxs("div", Object.assign({ "data-testid": "ActionCell_IconsContainer", style: {
|
|
75
75
|
display: 'flex',
|
|
76
76
|
alignItems: 'center',
|
|
77
77
|
justifyContent: 'center',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
import { TableMode } from '../../../../types/index.js';
|
|
4
3
|
export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
4
|
tableMode?: TableMode | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const AgreementCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledAgreementCardIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const CardContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledAppsCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const AppsStatusContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
4
3
|
export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface IDButtonI {
|
|
3
|
-
|
|
3
|
+
icon: string;
|
|
4
|
+
id?: string;
|
|
4
5
|
}
|
|
5
|
-
declare function IDButton({
|
|
6
|
+
declare function IDButton({ icon, id }: IDButtonI): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
declare const _default: import("react").MemoExoticComponent<typeof IDButton>;
|
|
7
8
|
export default _default;
|
|
@@ -3,17 +3,17 @@ import { memo, useState } from 'react';
|
|
|
3
3
|
import Box from '@mui/material/Box';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import Tooltip from '../../../Tooltip';
|
|
6
|
-
import { greenCheckIcon
|
|
6
|
+
import { greenCheckIcon } from '../../../../constants/index.js';
|
|
7
7
|
import { copyText } from '../../../../utils/index.js';
|
|
8
8
|
import { RowId, Button } from './style';
|
|
9
|
-
function IDButton({
|
|
9
|
+
function IDButton({ icon, id }) {
|
|
10
10
|
const [showCopy, setShowCopy] = useState(false);
|
|
11
11
|
const [isHover, setIsHover] = useState(false);
|
|
12
12
|
const { t } = useTranslation();
|
|
13
13
|
const handleCopyRowId = () => {
|
|
14
|
-
if (
|
|
14
|
+
if (id) {
|
|
15
15
|
setShowCopy(true);
|
|
16
|
-
copyText(
|
|
16
|
+
copyText(id);
|
|
17
17
|
const timer = setTimeout(() => {
|
|
18
18
|
setShowCopy(false);
|
|
19
19
|
}, 2000);
|
|
@@ -30,8 +30,8 @@ function IDButton({ rowId }) {
|
|
|
30
30
|
if (isHover)
|
|
31
31
|
setIsHover(false);
|
|
32
32
|
};
|
|
33
|
-
return (_jsx(Tooltip, Object.assign({ title: t('copy') }, { children: _jsx(Box, Object.assign({ sx: { position: 'relative',
|
|
34
|
-
width: isHover ? 'auto' : '
|
|
33
|
+
return (_jsx(Tooltip, Object.assign({ title: t('copy') }, { children: _jsx(Box, Object.assign({ sx: { position: 'relative', width: '24px', height: '24px', cursor: 'pointer' } }, { children: _jsxs(Button, Object.assign({ onClick: handleCopyRowId, onMouseEnter: onShow, onMouseLeave: onHide, isHover: isHover, initial: { width: '24px' }, style: Object.assign({}, (showCopy && { padding: '4px' })), animate: {
|
|
34
|
+
width: isHover ? 'auto' : '24px',
|
|
35
35
|
position: isHover ? 'absolute' : 'static',
|
|
36
36
|
} }, { children: [isHover && (_jsx(RowId, Object.assign({ initial: {
|
|
37
37
|
opacity: 0,
|
|
@@ -39,6 +39,6 @@ function IDButton({ rowId }) {
|
|
|
39
39
|
opacity: isHover ? 1 : 0,
|
|
40
40
|
}, exit: {
|
|
41
41
|
opacity: 0,
|
|
42
|
-
}, transition: { delay: isHover ? 0.3 : 0, duration: isHover ? 0.3 : 0.1 } }, { children:
|
|
42
|
+
}, transition: { delay: isHover ? 0.3 : 0, duration: isHover ? 0.3 : 0.1 } }, { children: id }))), _jsx(Box, { component: "img", src: showCopy ? greenCheckIcon : icon, alt: "id" })] })) })) })));
|
|
43
43
|
}
|
|
44
44
|
export default memo(IDButton);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from '@mui/material/styles';
|
|
2
2
|
import { motion } from 'framer-motion';
|
|
3
|
-
export const Button = styled(motion.div, { shouldForwardProp: (props) => props !== 'isHover' })(({ theme, isHover }) => (Object.assign({
|
|
3
|
+
export const Button = styled(motion.div, { shouldForwardProp: (props) => props !== 'isHover' })(({ theme, isHover }) => (Object.assign({ paddingInlineStart: '8px', border: '1px solid transparent', display: 'flex', gap: '4px', alignItems: 'center', justifyContent: 'flex-end', backgroundColor: theme.palette.common.white, float: 'right', borderRadius: '56px' }, (isHover && {
|
|
4
4
|
borderColor: 'rgba(92, 92, 92, 0.05)',
|
|
5
5
|
boxShadow: '-7px 0px 8px 0px #F2F2F2',
|
|
6
6
|
position: 'absolute',
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
2
|
-
import { memo
|
|
3
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
import toast from 'react-hot-toast';
|
|
4
|
+
import { Icon } from '../../../index.js';
|
|
4
5
|
import { gadientLink } from '../../../../constants/index.js';
|
|
5
6
|
import { copyText } from '../../../../utils/index.js';
|
|
6
|
-
import { Chip
|
|
7
|
+
import { Chip } from './style';
|
|
7
8
|
function LinkCell({ url }) {
|
|
8
|
-
const [isCopyActive, setIsCopyActive] = useState(false);
|
|
9
9
|
const onClick = () => {
|
|
10
|
-
|
|
10
|
+
// try {
|
|
11
11
|
copyText(url);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
clearTimeout(timer);
|
|
17
|
-
};
|
|
12
|
+
toast.success('Copied!');
|
|
13
|
+
// } catch {
|
|
14
|
+
// toast.error('Failed to copy link')
|
|
15
|
+
// }
|
|
18
16
|
};
|
|
19
17
|
if (!url)
|
|
20
18
|
return null;
|
|
21
|
-
return (_jsx(
|
|
19
|
+
return (_jsx(Chip, Object.assign({ onClick: onClick }, { children: _jsx(Icon, { src: gadientLink, alt: "link" }) })));
|
|
22
20
|
}
|
|
23
21
|
export default memo(LinkCell);
|
|
@@ -2,6 +2,3 @@
|
|
|
2
2
|
export declare const Chip: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -10,10 +10,3 @@ export const Chip = styled(Box)(({ theme }) => ({
|
|
|
10
10
|
border: `1px solid ${theme.palette.divider}`,
|
|
11
11
|
cursor: 'pointer',
|
|
12
12
|
}));
|
|
13
|
-
export const TooltipWrapper = styled(Box)(() => ({
|
|
14
|
-
display: 'flex',
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
justifyContent: 'center',
|
|
17
|
-
fontSize: '12px',
|
|
18
|
-
gap: '4px',
|
|
19
|
-
}));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledDownloadFileImageWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
3
|
isTextShown?: boolean | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const SalesChannelsContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
3
|
variant?: "Global" | "Regional" | "Local" | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -58,6 +58,7 @@ export interface ActionCellProps extends TableCellProps {
|
|
|
58
58
|
isTextShown?: boolean;
|
|
59
59
|
showIdButton?: boolean;
|
|
60
60
|
renderDropdown?: (anchorEl: HTMLElement | null, setAnchorEl: (anchorEl: HTMLElement | null) => void) => React.ReactNode;
|
|
61
|
+
startSlot?: React.ReactNode;
|
|
61
62
|
}
|
|
62
63
|
export interface DeviceCellProps extends TableCellProps {
|
|
63
64
|
deviceType?: 'DESKTOP' | 'PHONE' | 'TABLET';
|
|
@@ -54,6 +54,8 @@ export declare const disputeResolvedIcon: string;
|
|
|
54
54
|
export declare const reversePayoutIcon: string;
|
|
55
55
|
export declare const ellipsisHorizontalIcon: string;
|
|
56
56
|
export declare const threeDsIcon: string;
|
|
57
|
+
export declare const invoiceIdIcon: string;
|
|
58
|
+
export declare const rowIdIcon: string;
|
|
57
59
|
export declare const idIcon: string;
|
|
58
60
|
export declare const copyIcon: string;
|
|
59
61
|
export declare const codeIcon: string;
|
|
@@ -59,6 +59,8 @@ export const disputeResolvedIcon = `${lightUrl}/disputeResolved.svg`;
|
|
|
59
59
|
export const reversePayoutIcon = `${lightUrl}/reversePayout.svg`;
|
|
60
60
|
export const ellipsisHorizontalIcon = `${lightUrl}/ellipsisHorizontal.svg`;
|
|
61
61
|
export const threeDsIcon = `${lightUrl}/3ds.svg`;
|
|
62
|
+
export const invoiceIdIcon = `${lightUrl}/invoiceIdIcon3.svg`;
|
|
63
|
+
export const rowIdIcon = `${lightUrl}/idIcon3.svg`;
|
|
62
64
|
export const idIcon = `${lightUrl}/id.svg`;
|
|
63
65
|
export const copyIcon = `${appBaseUrl}/copyIcon.svg`;
|
|
64
66
|
export const codeIcon = `${appBaseUrl}/codeIcon.svg`;
|
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.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.382-test.2",
|
|
5
|
+
"testVersion": 2,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -164,4 +164,4 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"registry": "https://registry.npmjs.org/"
|
|
166
166
|
}
|
|
167
|
-
}
|
|
167
|
+
}
|