Skip to content

Commit

Permalink
Merge pull request #38 from bnb-chain/feat/update-switch-network
Browse files Browse the repository at this point in the history
feat: Some ui updates & Header chain switch update
  • Loading branch information
aiden-cao authored Nov 4, 2024
2 parents 93e8416 + 3f1f337 commit aa72c88
Show file tree
Hide file tree
Showing 83 changed files with 1,260 additions and 499 deletions.
5 changes: 5 additions & 0 deletions .release/.changeset/big-ligers-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Fix Cbridge send minmax multi call
5 changes: 5 additions & 0 deletions .release/.changeset/chilled-lizards-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/cyan-boxes-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/dirty-shoes-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/early-drinks-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/fuzzy-houses-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/khaki-bears-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Fix switch to ethereum token
5 changes: 5 additions & 0 deletions .release/.changeset/long-ears-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/metal-steaks-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Fix input and checkbox style
5 changes: 5 additions & 0 deletions .release/.changeset/nasty-candles-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget
5 changes: 5 additions & 0 deletions .release/.changeset/nice-boxes-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/ninety-buckets-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Fix svg icon mask duplicate id
5 changes: 5 additions & 0 deletions .release/.changeset/polite-monkeys-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update unknown network title
38 changes: 38 additions & 0 deletions .release/.changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@bnb-chain/canonical-bridge-sdk": "0.1.2",
"@bnb-chain/canonical-bridge-widget": "0.1.4"
},
"changesets": [
"big-ligers-stare",
"chilled-lizards-compare",
"cyan-boxes-judge",
"dirty-shoes-tap",
"early-drinks-bathe",
"fuzzy-houses-complain",
"khaki-bears-rhyme",
"long-ears-press",
"metal-steaks-drive",
"nasty-candles-marry",
"nice-boxes-taste",
"ninety-buckets-cough",
"polite-monkeys-share",
"rare-grapes-act",
"rotten-nails-drop",
"rude-tools-give",
"shy-lemons-grab",
"silly-lions-clap",
"six-turtles-prove",
"sixty-scissors-protect",
"slimy-clocks-rule",
"spotty-trainers-kick",
"swift-dolls-yawn",
"swift-rivers-accept",
"swift-suits-worry",
"tasty-pianos-raise",
"thin-snakes-cheat",
"tough-colts-compare"
]
}
5 changes: 5 additions & 0 deletions .release/.changeset/rare-grapes-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Some ui updates & Header chain switch update
5 changes: 5 additions & 0 deletions .release/.changeset/rotten-nails-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/rude-tools-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Resolve multi loadingFee requst
5 changes: 5 additions & 0 deletions .release/.changeset/shy-lemons-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/silly-lions-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/six-turtles-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update icon element id
5 changes: 5 additions & 0 deletions .release/.changeset/sixty-scissors-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update ui
5 changes: 5 additions & 0 deletions .release/.changeset/slimy-clocks-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/spotty-trainers-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widge ui
5 changes: 5 additions & 0 deletions .release/.changeset/swift-dolls-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/swift-rivers-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/swift-suits-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/tasty-pianos-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/thin-snakes-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
5 changes: 5 additions & 0 deletions .release/.changeset/tough-colts-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bnb-chain/canonical-bridge-widget": patch
---

Update widget ui
2 changes: 1 addition & 1 deletion common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

156 changes: 156 additions & 0 deletions packages/canonical-bridge-widget/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,161 @@
# @bnb-chain/canonical-bridge-widget

## 0.3.2-alpha.25

### Patch Changes

- Update icon element id

## 0.3.2-alpha.24

### Patch Changes

- Fix svg icon mask duplicate id

## 0.3.2-alpha.23

### Patch Changes

- Update widget ui

## 0.3.2-alpha.22

### Patch Changes

- Fix Cbridge send minmax multi call

## 0.3.2-alpha.21

### Patch Changes

- Resolve multi loadingFee requst

## 0.3.2-alpha.20

### Patch Changes

- Fix switch to ethereum token

## 0.3.2-alpha.19

### Patch Changes

- Update widget ui

## 0.3.2-alpha.18

### Patch Changes

- Update widget

## 0.3.2-alpha.17

### Patch Changes

- Update widget ui

## 0.3.2-alpha.16

### Patch Changes

- Update widge ui

## 0.3.2-alpha.15

### Patch Changes

- Update widget ui

## 0.3.2-alpha.14

### Patch Changes

- Update widget ui

## 0.3.2-alpha.13

### Patch Changes

- Update widget ui

## 0.3.2-alpha.12

### Patch Changes

- Update widget ui

## 0.3.2-alpha.11

### Patch Changes

- Update widget ui

## 0.3.2-alpha.10

### Patch Changes

- Update widget ui

## 0.3.2-alpha.9

### Patch Changes

- Update widget ui

## 0.3.2-alpha.8

### Patch Changes

- Update widget ui

## 0.3.2-alpha.7

### Patch Changes

- Update widget ui

## 0.3.2-alpha.6

### Patch Changes

- Update widget ui

## 0.3.2-alpha.5

### Patch Changes

- Update widget ui

## 0.3.2-alpha.4

### Patch Changes

- Update widget ui

## 0.3.2-alpha.3

### Patch Changes

- Update widget ui

## 0.3.2-alpha.2

### Patch Changes

- Update widget ui

## 0.3.2-alpha.1

### Patch Changes

- Fix input and checkbox style

## 0.3.2-alpha.0

### Patch Changes

- Update ui

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/canonical-bridge-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bnb-chain/canonical-bridge-widget",
"version": "0.3.1",
"version": "0.3.2-alpha.25",
"description": "canonical bridge widget",
"author": "bnb-chain",
"private": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const InfoTooltip = (props: InfoTooltipProps) => {
const isBase = useBreakpointValue({ base: true, md: false }) ?? false;
const { isOpen, onOpen, onToggle, onClose } = useDisclosure();

if (!restProps.label) return null;
return (
<Tooltip
hasArrow
Expand Down
Loading

0 comments on commit aa72c88

Please sign in to comment.