@hyperbridge/ui 0.0.30 → 0.0.31

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -494,7 +494,7 @@ function TagButton(props) {
494
494
  }
495
495
  function SwapTokenButton(props) {
496
496
  const _a = props, { token, network } = _a, _props = __objRest(_a, ["token", "network"]);
497
- return /* @__PURE__ */ jsxs6(BaseButton, __spreadProps(__spreadValues({ className: "cursor-pointer" }, _props), { children: [
497
+ return /* @__PURE__ */ jsxs6(BaseButton, __spreadProps(__spreadValues({ className: "cursor-pointer !transition-none" }, _props), { children: [
498
498
  /* @__PURE__ */ jsx7("span", { className: "inline-flex text-[0.875rem]", children: /* @__PURE__ */ jsx7(
499
499
  BadgeIcon,
500
500
  {
@@ -505,7 +505,7 @@ function SwapTokenButton(props) {
505
505
  }
506
506
  ) }),
507
507
  /* @__PURE__ */ jsxs6("span", { className: "flex flex-col font-medium shrink-0 text-start max-w-[10ch]", children: [
508
- /* @__PURE__ */ jsx7("span", { className: "text-sm uppercase text-brand-white-500 leading-[1.2]", children: token.symbol.toLowerCase() }),
508
+ /* @__PURE__ */ jsx7("span", { className: "text-sm uppercase text-brand-white-500 leading-[1.2]", children: token.symbol.toLowerCase() }),
509
509
  /* @__PURE__ */ jsxs6("span", { className: "text-xs text-brand-black-100 leading-[1.2]", children: [
510
510
  "on ",
511
511
  /* @__PURE__ */ jsx7("span", { className: "capitalize", children: network.name.toLowerCase() })
@@ -714,7 +714,7 @@ function SwapForm({
714
714
  onClick: () => onPercentageChange == null ? void 0 : onPercentageChange(percent_value),
715
715
  disabled: isLoading,
716
716
  className: cn(
717
- "rounded-[60px] h-6 py-1 px-[9.5px] text-caption transition-colors",
717
+ "rounded-[60px] h-6 py-1 px-[9.5px] text-caption transition-none",
718
718
  percentage.value === percent_value ? "bg-white text-brand-black-500 hover:bg-white/90" : "text-brand-black-100 hover:text-white hover:bg-brand-black-200"
719
719
  ),
720
720
  variant: "message",
@@ -1098,7 +1098,7 @@ function NetworkSwitcherButton(props) {
1098
1098
  "button",
1099
1099
  __spreadProps(__spreadValues({}, _props), {
1100
1100
  type: "button",
1101
- className: "bg-brand-black-500 select-none rounded-[16px] py-[10px] px-3 w-[49%] cursor-pointer hover:bg-brand-black-300 duration-200 transition-all",
1101
+ className: "bg-brand-black-500 select-none rounded-[16px] py-[10px] px-3 w-[49%] cursor-pointer hover:brightness-110",
1102
1102
  children: /* @__PURE__ */ jsxs9("span", { className: "flex gap-3 items-center", children: [
1103
1103
  /* @__PURE__ */ jsx14(TokenImage, { className: "size-8", src: image.src, alt: image.alt }),
1104
1104
  /* @__PURE__ */ jsxs9("span", { className: "flex flex-col items-start", children: [
@@ -2139,7 +2139,7 @@ function BridgeInput(props) {
2139
2139
  disabled: isLoading,
2140
2140
  variant: "message",
2141
2141
  className: cn(
2142
- "rounded-[60px] h-6 py-1 px-[9.5px] text-caption transition-colors",
2142
+ "rounded-[60px] h-6 py-1 px-[9.5px] text-caption transition-none",
2143
2143
  percentage.value === percent_value ? "bg-white text-brand-black-500 hover:bg-white/90" : "text-brand-black-100 hover:text-white hover:bg-brand-black-200"
2144
2144
  ),
2145
2145
  onClick: () => props.onPercentageChange(percent_value),
@@ -2236,14 +2236,14 @@ function BridgeForm({
2236
2236
  senderBalance = "0",
2237
2237
  senderUsdValue = "0",
2238
2238
  senderToken = {
2239
- image: "https://app.hyperbridge.network/networks/polkadot.png",
2239
+ image: "https://app.hyperbridge.network/networks/polkadot.svg",
2240
2240
  symbol: "DOT"
2241
2241
  },
2242
2242
  onSenderAmountChange,
2243
2243
  receiverAmount = "0",
2244
2244
  receiverUsdValue = "0",
2245
2245
  receiverToken = {
2246
- image: "https://app.hyperbridge.network/networks/polkadot.png",
2246
+ image: "https://app.hyperbridge.network/networks/polkadot.svg",
2247
2247
  symbol: "DOT"
2248
2248
  },
2249
2249
  percentagePresets = [25, 50, 100],
@@ -2428,7 +2428,7 @@ function BridgeForm({
2428
2428
  TokenChangeButton: /* @__PURE__ */ jsx24(TokenSelectorDialog, { children: /* @__PURE__ */ jsx24(
2429
2429
  TagButton,
2430
2430
  {
2431
- className: "cursor-pointer",
2431
+ className: "cursor-pointer !transition-none",
2432
2432
  src: senderToken.image,
2433
2433
  symbol: senderToken.symbol,
2434
2434
  variant: "trigger",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbridge/ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "sideEffects": false,
5
5
  "license": "MIT",
6
6
  "private": false,