@rash2x/bridge-widget 0.1.22 → 0.1.24
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/evaa-bridge.cjs +7 -5
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +7 -5
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -1167,7 +1167,7 @@ const SearchInput = ({
|
|
|
1167
1167
|
{
|
|
1168
1168
|
placeholder,
|
|
1169
1169
|
className: cn(
|
|
1170
|
-
"w-full outline-none bg-transparent border-none ring-0 leading-0 p-0 h-6 text-base text-input-text placeholder:text-input-placeholder bg-none dark:bg-transparent",
|
|
1170
|
+
"w-full outline-none bg-transparent border-none ring-0 leading-0 p-0 h-6 text-base text-input-text placeholder:text-input-placeholder bg-none dark:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
1171
1171
|
className
|
|
1172
1172
|
),
|
|
1173
1173
|
value,
|
|
@@ -1358,7 +1358,7 @@ const TokenSelectModal = ({
|
|
|
1358
1358
|
[groupedTokens.willChangeSrcChain]
|
|
1359
1359
|
);
|
|
1360
1360
|
const hasNoResults = tokensToRender.length === 0 && willChangeSrcTokens.length === 0;
|
|
1361
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "h-[90dvh]
|
|
1361
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col", children: [
|
|
1362
1362
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: t2("bridge.selectToken") }) }),
|
|
1363
1363
|
/* @__PURE__ */ jsx(
|
|
1364
1364
|
SearchInput,
|
|
@@ -1544,6 +1544,7 @@ const SelectTokenButton = ({
|
|
|
1544
1544
|
onClick,
|
|
1545
1545
|
size: "sm",
|
|
1546
1546
|
variant: "secondary",
|
|
1547
|
+
className: "shrink-0 gap-2",
|
|
1547
1548
|
type: "button",
|
|
1548
1549
|
"aria-label": label,
|
|
1549
1550
|
children: [
|
|
@@ -2214,6 +2215,7 @@ const SelectNetworkButton = ({
|
|
|
2214
2215
|
size: "sm",
|
|
2215
2216
|
variant: "secondary",
|
|
2216
2217
|
type: "button",
|
|
2218
|
+
className: "shrink-0 gap-2",
|
|
2217
2219
|
"aria-label": label,
|
|
2218
2220
|
children: [
|
|
2219
2221
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-2 items-center", children: [
|
|
@@ -2283,7 +2285,7 @@ const CurrencyInput = forwardRef(
|
|
|
2283
2285
|
pattern: "[0-9]*[.,]?[0-9]*",
|
|
2284
2286
|
readOnly,
|
|
2285
2287
|
className: cn(
|
|
2286
|
-
"text-
|
|
2288
|
+
"text-4xl h-12 font-medium leading-9 rounded-none text-end bg-transparent dark:bg-transparent text-foreground shadow-none border-none outline-none ring-0 focus:outline-none focus-visible:ring-0 focus-visible:outline-0 focus-visible:ring-offset-0",
|
|
2287
2289
|
className
|
|
2288
2290
|
),
|
|
2289
2291
|
max,
|
|
@@ -2381,7 +2383,7 @@ const ChainSelectModal = ({
|
|
|
2381
2383
|
chain.chainKey
|
|
2382
2384
|
);
|
|
2383
2385
|
};
|
|
2384
|
-
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "
|
|
2386
|
+
return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col", children: [
|
|
2385
2387
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: t2("bridge.selectNetwork") }) }),
|
|
2386
2388
|
/* @__PURE__ */ jsx(
|
|
2387
2389
|
SearchInput,
|
|
@@ -2681,7 +2683,7 @@ const AnotherAddress = () => {
|
|
|
2681
2683
|
Input,
|
|
2682
2684
|
{
|
|
2683
2685
|
className: cn(
|
|
2684
|
-
"p-0 h-auto text-base leading-5 font-semibold w-full bg-transparent dark:bg-transparent placeholder:text-muted-foreground/50 border-none"
|
|
2686
|
+
"p-0 h-auto text-base leading-5 font-semibold w-full bg-transparent dark:bg-transparent placeholder:text-muted-foreground/50 border-none focus:outline-none focus:ring-0"
|
|
2685
2687
|
),
|
|
2686
2688
|
placeholder: t2("bridge.anotherAddressPlaceholder"),
|
|
2687
2689
|
type: "text",
|