@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.
@@ -1190,7 +1190,7 @@ const SearchInput = ({
1190
1190
  {
1191
1191
  placeholder,
1192
1192
  className: utils.cn(
1193
- "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",
1193
+ "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",
1194
1194
  className
1195
1195
  ),
1196
1196
  value,
@@ -1381,7 +1381,7 @@ const TokenSelectModal = ({
1381
1381
  [groupedTokens.willChangeSrcChain]
1382
1382
  );
1383
1383
  const hasNoResults = tokensToRender.length === 0 && willChangeSrcTokens.length === 0;
1384
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "h-[90dvh] max-h-dvh overflow-hidden flex flex-col", children: [
1384
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col", children: [
1385
1385
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t("bridge.selectToken") }) }),
1386
1386
  /* @__PURE__ */ jsxRuntime.jsx(
1387
1387
  SearchInput,
@@ -1567,6 +1567,7 @@ const SelectTokenButton = ({
1567
1567
  onClick,
1568
1568
  size: "sm",
1569
1569
  variant: "secondary",
1570
+ className: "shrink-0 gap-2",
1570
1571
  type: "button",
1571
1572
  "aria-label": label,
1572
1573
  children: [
@@ -2237,6 +2238,7 @@ const SelectNetworkButton = ({
2237
2238
  size: "sm",
2238
2239
  variant: "secondary",
2239
2240
  type: "button",
2241
+ className: "shrink-0 gap-2",
2240
2242
  "aria-label": label,
2241
2243
  children: [
2242
2244
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2 items-center", children: [
@@ -2306,7 +2308,7 @@ const CurrencyInput = require$$0.forwardRef(
2306
2308
  pattern: "[0-9]*[.,]?[0-9]*",
2307
2309
  readOnly,
2308
2310
  className: utils.cn(
2309
- "text-[32px] 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",
2311
+ "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",
2310
2312
  className
2311
2313
  ),
2312
2314
  max,
@@ -2404,7 +2406,7 @@ const ChainSelectModal = ({
2404
2406
  chain.chainKey
2405
2407
  );
2406
2408
  };
2407
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "!h-[90dvh] flex flex-col", children: [
2409
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog, { open: isOpen, onOpenChange: (open) => !open && handleClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.DialogContent, { className: "max-h-[90dvh] h-[90dvh] overflow-hidden flex flex-col", children: [
2408
2410
  /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { children: t("bridge.selectNetwork") }) }),
2409
2411
  /* @__PURE__ */ jsxRuntime.jsx(
2410
2412
  SearchInput,
@@ -2704,7 +2706,7 @@ const AnotherAddress = () => {
2704
2706
  input.Input,
2705
2707
  {
2706
2708
  className: utils.cn(
2707
- "p-0 h-auto text-base leading-5 font-semibold w-full bg-transparent dark:bg-transparent placeholder:text-muted-foreground/50 border-none"
2709
+ "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"
2708
2710
  ),
2709
2711
  placeholder: t("bridge.anotherAddressPlaceholder"),
2710
2712
  type: "text",