@tap-payments/os-micro-frontend-shared 0.1.87-test.5 → 0.1.87-test.6
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.
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import Tooltip from '../../../Tooltip';
|
|
14
14
|
import { ImageWrapper } from '../../../index.js';
|
|
15
15
|
import { TableCell } from '../../../TableCells';
|
|
16
|
-
import {
|
|
16
|
+
import { openUrl } from '../../../../utils/index.js';
|
|
17
17
|
import { ChannelTextLabel, ChannelTextWrapper, salesChannelAnimation, SalesChannelsContainer, StyledSourceCell, StyledSourceImage } from './style';
|
|
18
18
|
function SalesChannelCell(_a) {
|
|
19
19
|
var _b;
|
|
@@ -27,7 +27,7 @@ function SalesChannelCell(_a) {
|
|
|
27
27
|
cursor: 'pointer',
|
|
28
28
|
}, onClick: () => {
|
|
29
29
|
if (channel === null || channel === void 0 ? void 0 : channel.address)
|
|
30
|
-
|
|
30
|
+
openUrl(channel.address);
|
|
31
31
|
} }, { children: isTextShown ? (_jsx(ChannelTextWrapper, { children: _jsx(ChannelTextLabel, { children: channelCode }) })) : (_jsx(StyledSourceImage, { src: channel.logo, alt: channelCode })) })) }), `${channel}-${index}`));
|
|
32
32
|
});
|
|
33
33
|
const salesChannelsCount = (salesChannels === null || salesChannels === void 0 ? void 0 : salesChannels.length) || 0;
|
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.87-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.87-test.6",
|
|
5
|
+
"testVersion": 6,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|