@orderly.network/ui-transfer 2.10.1 → 2.10.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/dist/index.js +4 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -7
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +13 -13
package/dist/index.mjs
CHANGED
|
@@ -344,13 +344,13 @@ var BrokerWallet = () => {
|
|
|
344
344
|
const brokerName = useConfig("brokerName");
|
|
345
345
|
const icon = useMemo(() => {
|
|
346
346
|
const { secondary } = appIcons || {};
|
|
347
|
-
if (!secondary?.img && secondary?.component) return null;
|
|
348
347
|
if (secondary?.img) {
|
|
349
|
-
return /* @__PURE__ */ jsx("img", { src: secondary?.img, className: "oui-
|
|
348
|
+
return /* @__PURE__ */ jsx("img", { src: secondary?.img, className: "oui-size-5" });
|
|
350
349
|
}
|
|
351
350
|
if (secondary?.component) {
|
|
352
351
|
return /* @__PURE__ */ jsx(Fragment, { children: secondary.component });
|
|
353
352
|
}
|
|
353
|
+
return null;
|
|
354
354
|
}, [appIcons]);
|
|
355
355
|
return /* @__PURE__ */ jsxs(Flex, { justify: "between", children: [
|
|
356
356
|
/* @__PURE__ */ jsx(Text, { size: "sm", intensity: 98, children: t("transfer.brokerAccount", { brokerName }) }),
|
|
@@ -2480,9 +2480,6 @@ var useSwapTokens = (chainId, enableSwapDeposit) => {
|
|
|
2480
2480
|
logo_uri: item.logoURI
|
|
2481
2481
|
}));
|
|
2482
2482
|
}, [data]);
|
|
2483
|
-
if (!enableSwapDeposit) {
|
|
2484
|
-
return [];
|
|
2485
|
-
}
|
|
2486
2483
|
return tokens;
|
|
2487
2484
|
};
|
|
2488
2485
|
|
|
@@ -5495,8 +5492,8 @@ var AddWalletDialog = ({
|
|
|
5495
5492
|
onValueChange: onAddressChange,
|
|
5496
5493
|
autoFocus: true,
|
|
5497
5494
|
color: showBorderDanger ? "danger" : void 0,
|
|
5498
|
-
className: cn("oui-bg-
|
|
5499
|
-
classNames: { input: "oui-text-
|
|
5495
|
+
className: cn("oui-bg-base-6 oui-bg-transparent"),
|
|
5496
|
+
classNames: { input: "oui-text-base-contrast" },
|
|
5500
5497
|
suffix: address && /* @__PURE__ */ jsx(Box, { className: "oui-ml-2.5 oui-mr-2 oui-cursor-pointer", children: /* @__PURE__ */ jsx(
|
|
5501
5498
|
CloseRoundFillIcon,
|
|
5502
5499
|
{
|