Skip to content

Commit 695ff3e

Browse files
authored
[core-v2.3.0-alpha.3, react-v2.2.0-alpha.4, vue-v2.1.0-alpha.3] : Update - Line height and documentation (#1084)
* Update react package version * Update lineHeight to equal font size so letters with tails below the line dont get chopped, update docks for camel case * Update line space to show full letter height in the case of letters with tails, update docs and versions
1 parent d68360b commit 695ff3e

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export type Notification = {
172172
message: string
173173
autoDismiss: number
174174
link?: string
175-
onclick?: (event: Event) => void
175+
onClick?: (event: Event) => void
176176
}
177177

178178
export type NotificationType = 'pending' | 'success' | 'error' | 'hint'

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.3.0-alpha.2",
3+
"version": "2.3.0-alpha.3",
44
"scripts": {
55
"build": "rollup -c",
66
"dev": "rollup -c -w",

packages/core/src/views/notify/NotificationContent.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
--notify-onboard-primary-100,
5757
var(--onboard-primary-100, var(--primary-100))
5858
);
59-
line-height: 14px;
59+
line-height: var(
60+
--notify-onboard-font-size-5,
61+
var(--onboard-font-size-5, var(--font-size-5))
62+
);
6063
font-weight: 400;
6164
overflow: hidden;
6265
text-overflow: ellipsis;

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/react",
3-
"version": "2.2.0-alpha.3",
3+
"version": "2.2.0-alpha.4",
44
"description": "Collection of React Hooks for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -23,7 +23,7 @@
2323
"typescript": "^4.5.5"
2424
},
2525
"dependencies": {
26-
"@web3-onboard/core": "^2.3.0-alpha.2",
26+
"@web3-onboard/core": "^2.3.0-alpha.3",
2727
"@web3-onboard/common": "^2.1.2-alpha.2",
2828
"use-sync-external-store": "1.0.0"
2929
},

packages/vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/vue",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0-alpha.3",
44
"description": "Vue Composable for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -24,7 +24,7 @@
2424
"@vueuse/core": "^8.4.2",
2525
"@vueuse/rxjs": "^8.2.0",
2626
"@web3-onboard/common": "^2.1.2-alpha.2",
27-
"@web3-onboard/core": "^2.3.0-alpha.2",
27+
"@web3-onboard/core": "^2.3.0-alpha.3",
2828
"vue-demi": "^0.12.4"
2929
},
3030
"peerDependencies": {

0 commit comments

Comments
 (0)