@hyperbridge/ui 0.0.9 → 0.0.10

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -4
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -685,7 +685,7 @@ function SwapForm({
685
685
  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"
686
686
  }
687
687
  ),
688
- /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-3 py-[13px]", children: /* @__PURE__ */ jsx10(
688
+ /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-0 py-[13px]", children: /* @__PURE__ */ jsx10(
689
689
  SwapTokenButton,
690
690
  {
691
691
  network: sender.token.network,
@@ -805,7 +805,7 @@ function SwapForm({
805
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"
806
806
  }
807
807
  ),
808
- /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-3 py-[13px]", children: /* @__PURE__ */ jsx10(
808
+ /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-0 py-[13px]", children: /* @__PURE__ */ jsx10(
809
809
  SwapTokenButton,
810
810
  {
811
811
  network: receiver.token.network,
@@ -1151,7 +1151,7 @@ function DrawerContent(_a) {
1151
1151
  )
1152
1152
  }, props), {
1153
1153
  children: [
1154
- /* @__PURE__ */ jsx14("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
1154
+ /* @__PURE__ */ jsx14("div", { className: "bg-brand-black-350 mx-auto my-2 hidden h-[5px] w-16 shrink-0 rounded-[2.5px] group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
1155
1155
  children
1156
1156
  ]
1157
1157
  })
@@ -4606,6 +4606,7 @@ function HBDrawerContent(_a) {
4606
4606
  "children"
4607
4607
  ]);
4608
4608
  return /* @__PURE__ */ jsxs33(Fragment12, { children: [
4609
+ /* @__PURE__ */ jsx47(HBDrawerPortal, {}),
4609
4610
  /* @__PURE__ */ jsx47(HBDrawerOverlay, {}),
4610
4611
  /* @__PURE__ */ jsxs33(
4611
4612
  DrawerPrimitive2.Content,
@@ -4754,7 +4755,7 @@ function CWDrawerContent(_a) {
4754
4755
  ]);
4755
4756
  const isMobile = useIsMobile();
4756
4757
  if (isMobile) {
4757
- return /* @__PURE__ */ jsx48(HBDrawer, { open: true, children: /* @__PURE__ */ jsx48(HBDrawerContent, { className: "bg-brand-black-550 rounded-t-[1rem] w-full px-[1rem] !max-h-[95vh] h-full border-t border-brand-black-300", children: /* @__PURE__ */ jsx48("div", { className: "flex flex-col", children }) }) });
4758
+ return /* @__PURE__ */ jsx48(HBDrawerContent, { className: "bg-brand-black-550 rounded-t-[1rem] w-full px-[1rem] border-t border-brand-black-300 min-h-[90dvh]", children: /* @__PURE__ */ jsx48("div", { className: "flex flex-col", children }) });
4758
4759
  }
4759
4760
  return /* @__PURE__ */ jsx48(
4760
4761
  SheetContent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbridge/ui",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
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",