@hyperbridge/ui 0.0.6 → 0.0.8

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.
@@ -816,7 +816,7 @@ var SvgLoader = (props) => /* @__PURE__ */ jsxs3(
816
816
  width: 16,
817
817
  height: 16,
818
818
  fill: "#000",
819
- children: /* @__PURE__ */ jsx30("path", { fill: "transparent", d: "M0 0h16v16H0z" })
819
+ children: /* @__PURE__ */ jsx30("path", { fill: "white", d: "M0 0h16v16H0z" })
820
820
  }
821
821
  ),
822
822
  /* @__PURE__ */ jsx30(
@@ -49,7 +49,7 @@ import {
49
49
  Wallet_default,
50
50
  XCircle_default,
51
51
  XIcon_default
52
- } from "../chunk-DO43LZ75.mjs";
52
+ } from "../chunk-WFHDED45.mjs";
53
53
  export {
54
54
  Alert_default as Alert,
55
55
  ArrowBottomTop_default as ArrowBottomTop,
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  __objRest,
30
30
  __spreadProps,
31
31
  __spreadValues
32
- } from "./chunk-DO43LZ75.mjs";
32
+ } from "./chunk-WFHDED45.mjs";
33
33
 
34
34
  // src/components/atoms/search-input.tsx
35
35
  import { cva } from "class-variance-authority";
@@ -795,13 +795,14 @@ function SwapForm({
795
795
  onChange: (event) => {
796
796
  var _a2;
797
797
  (_a2 = receiver.onAmountChange) == null ? void 0 : _a2.call(receiver, event.target.value, event);
798
+ onPercentageChange == null ? void 0 : onPercentageChange(null);
798
799
  },
799
800
  onKeyDown: handleKeyDown,
800
801
  onFocus: () => setFocusedSection("receiver"),
801
802
  onBlur: () => setFocusedSection(null),
802
803
  disabled: isLoading,
803
804
  "data-testid": "receiver-amount-input",
804
- className: "border-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-brand-black-100 placeholder:text-brand-black-100 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:opacity-50 !rounded-none"
805
+ className: "border-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-white placeholder:text-brand-black-100 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:opacity-50 !rounded-none"
805
806
  }
806
807
  ),
807
808
  /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-3 py-[13px]", children: /* @__PURE__ */ jsx10(
@@ -3366,7 +3367,7 @@ function TimelineItem(props) {
3366
3367
  );
3367
3368
  }
3368
3369
  function TimelineListGroup(props) {
3369
- return /* @__PURE__ */ jsx35("ul", { className: cn("flex flex-col"), children: props.children });
3370
+ return /* @__PURE__ */ jsx35("ul", { className: cn("flex flex-col overflow-hidden"), children: props.children });
3370
3371
  }
3371
3372
  var TimelineRoot = React13.forwardRef((props, ref) => {
3372
3373
  return /* @__PURE__ */ jsx35(
@@ -3645,7 +3646,7 @@ function StatusBadge({
3645
3646
  children
3646
3647
  }) {
3647
3648
  return /* @__PURE__ */ jsxs26("span", { className: "text-xs h-[1rem] flex items-center gap-[0.125rem]", children: [
3648
- variant === "success" ? /* @__PURE__ */ jsxs26(Fragment9, { children: [
3649
+ variant === "success" ? /* @__PURE__ */ jsxs26("span", { className: "text-brand-success-400 flex items-center gap-[0.125rem]", children: [
3649
3650
  /* @__PURE__ */ jsx37(Check_default, { width: "0.75rem", height: "0.75rem" }),
3650
3651
  " ",
3651
3652
  /* @__PURE__ */ jsx37("span", { children: "Success" })
@@ -4756,7 +4757,7 @@ function CWDrawerContent(_a) {
4756
4757
  __spreadProps(__spreadValues({}, props), {
4757
4758
  side: "right",
4758
4759
  className: "h-full max-h-auto max-w-[calc(29.75rem_+_1.25rem)] select-none border-none shadow-none text-brand-white-500 w-full sm:w-[540px] bg-transparent p-[0.625rem]",
4759
- children: /* @__PURE__ */ jsx48("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem] w-[23.75rem] px-[1rem]", children })
4760
+ children: /* @__PURE__ */ jsx48("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem] px-[1rem] overflow-hidden", children })
4760
4761
  })
4761
4762
  );
4762
4763
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbridge/ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "sideEffects": false,
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -33,8 +33,8 @@
33
33
  "typescript": "5.8.3",
34
34
  "vite": "^6.3.4",
35
35
  "vitest": "^3.1.2",
36
- "@repo/typescript-config": "0.0.0",
37
- "@repo/eslint-config": "0.0.0"
36
+ "@repo/eslint-config": "0.0.0",
37
+ "@repo/typescript-config": "0.0.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "@radix-ui/react-dialog": "^1.1.14",