@relayprotocol/relay-kit-ui 5.0.0 → 5.0.2
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.
- package/_cjs/src/components/common/TokenSelector/ChainFilter.js +156 -18
- package/_cjs/src/components/common/TokenSelector/ChainFilter.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/ChainFilterSidebar.js +128 -26
- package/_cjs/src/components/common/TokenSelector/ChainFilterSidebar.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/TokenSelector.js +14 -4
- package/_cjs/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
- package/_cjs/src/constants/events.js +2 -0
- package/_cjs/src/constants/events.js.map +1 -1
- package/_cjs/src/styles.css +18 -10
- package/_cjs/src/utils/localStorage.js +36 -1
- package/_cjs/src/utils/localStorage.js.map +1 -1
- package/_cjs/src/utils/steps.js +3 -3
- package/_cjs/src/utils/steps.js.map +1 -1
- package/_cjs/src/utils/tokenSelector.js +31 -21
- package/_cjs/src/utils/tokenSelector.js.map +1 -1
- package/_cjs/src/version.js +1 -1
- package/_cjs/tsconfig.build.tsbuildinfo +1 -1
- package/_esm/src/components/common/TokenSelector/ChainFilter.js +163 -20
- package/_esm/src/components/common/TokenSelector/ChainFilter.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/ChainFilterSidebar.js +134 -28
- package/_esm/src/components/common/TokenSelector/ChainFilterSidebar.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/TokenSelector.js +15 -4
- package/_esm/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
- package/_esm/src/constants/events.js +2 -0
- package/_esm/src/constants/events.js.map +1 -1
- package/_esm/src/styles.css +18 -10
- package/_esm/src/utils/localStorage.js +52 -1
- package/_esm/src/utils/localStorage.js.map +1 -1
- package/_esm/src/utils/steps.js +3 -3
- package/_esm/src/utils/steps.js.map +1 -1
- package/_esm/src/utils/tokenSelector.js +39 -23
- package/_esm/src/utils/tokenSelector.js.map +1 -1
- package/_esm/src/version.js +1 -1
- package/_esm/tsconfig.build.tsbuildinfo +1 -1
- package/_types/src/components/common/TokenSelector/ChainFilter.d.ts +3 -0
- package/_types/src/components/common/TokenSelector/ChainFilter.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/ChainFilterSidebar.d.ts +2 -0
- package/_types/src/components/common/TokenSelector/ChainFilterSidebar.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/TokenSelector.d.ts.map +1 -1
- package/_types/src/constants/events.d.ts +2 -0
- package/_types/src/constants/events.d.ts.map +1 -1
- package/_types/src/utils/localStorage.d.ts +27 -0
- package/_types/src/utils/localStorage.d.ts.map +1 -1
- package/_types/src/utils/tokenSelector.d.ts +2 -2
- package/_types/src/utils/tokenSelector.d.ts.map +1 -1
- package/_types/src/version.d.ts +1 -1
- package/_types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/panda.buildinfo.json +5 -3
- package/dist/styles.css +18 -10
- package/package.json +2 -2
|
@@ -371,12 +371,16 @@
|
|
|
371
371
|
"borderRadius]___[value:dropdown-border-radius",
|
|
372
372
|
"overflowY]___[value:scroll",
|
|
373
373
|
"maxHeight]___[value:290",
|
|
374
|
+
"backgroundColor]___[value:gray3]___[cond:_hover",
|
|
375
|
+
"paddingInline]___[value:2",
|
|
376
|
+
"gap]___[value:8px",
|
|
377
|
+
"backgroundColor]___[value:gray2]___[cond:_hover",
|
|
374
378
|
"width]___[value:20",
|
|
375
379
|
"height]___[value:20",
|
|
376
380
|
"transform]___[value:rotate(180deg)",
|
|
377
381
|
"marginLeft]___[value:auto",
|
|
378
|
-
"paddingInline]___[value:2",
|
|
379
382
|
"textOverflow]___[value:ellipsis]___[cond:_placeholder_parent",
|
|
383
|
+
"color]___[value:primary9",
|
|
380
384
|
"maxWidth]___[value:212",
|
|
381
385
|
"scrollbarColor]___[value:var(--relay-colors-gray5) transparent",
|
|
382
386
|
"backgroundColor]___[value:gray6]___[cond:_hover",
|
|
@@ -464,7 +468,6 @@
|
|
|
464
468
|
"padding]___[value:12px 16px",
|
|
465
469
|
"--borderColor]___[value:colors.gray3",
|
|
466
470
|
"height]___[value:260",
|
|
467
|
-
"gap]___[value:8px",
|
|
468
471
|
"backgroundColor]___[value:gray5",
|
|
469
472
|
"borderRadius]___[value:9999999",
|
|
470
473
|
"filter]___[value:none",
|
|
@@ -533,7 +536,6 @@
|
|
|
533
536
|
"maxWidth]___[value:400px !important]___[cond:sm",
|
|
534
537
|
"height]___[value:28",
|
|
535
538
|
"minHeight]___[value:28",
|
|
536
|
-
"backgroundColor]___[value:gray3]___[cond:_hover",
|
|
537
539
|
"marginBottom]___[value:1",
|
|
538
540
|
"marginBottom]___[value:0",
|
|
539
541
|
"content]___[value:\"\"]___[cond:_before",
|
package/dist/styles.css
CHANGED
|
@@ -1900,6 +1900,14 @@
|
|
|
1900
1900
|
max-height: 290px;
|
|
1901
1901
|
}
|
|
1902
1902
|
|
|
1903
|
+
.relay-px_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1904
|
+
padding-inline: var(--relay-spacing-2);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
.relay-gap_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1908
|
+
gap: 8px;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1903
1911
|
.relay-w_20:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1904
1912
|
width: 20px;
|
|
1905
1913
|
}
|
|
@@ -1912,8 +1920,8 @@
|
|
|
1912
1920
|
transform: rotate(180deg);
|
|
1913
1921
|
}
|
|
1914
1922
|
|
|
1915
|
-
.relay-
|
|
1916
|
-
|
|
1923
|
+
.relay-text_primary9:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1924
|
+
color: var(--relay-colors-primary9);
|
|
1917
1925
|
}
|
|
1918
1926
|
|
|
1919
1927
|
.relay-max-w_212:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2128,10 +2136,6 @@
|
|
|
2128
2136
|
height: 260px;
|
|
2129
2137
|
}
|
|
2130
2138
|
|
|
2131
|
-
.relay-gap_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2132
|
-
gap: 8px;
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
2139
|
.relay-rounded_9999999:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2136
2140
|
border-radius: 9999999px;
|
|
2137
2141
|
}
|
|
@@ -3267,6 +3271,14 @@
|
|
|
3267
3271
|
background-color: var(--relay-colors-widget-selector-hover-background);
|
|
3268
3272
|
}
|
|
3269
3273
|
|
|
3274
|
+
.hover\:relay-bg_gray3:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3275
|
+
background-color: var(--relay-colors-gray3);
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
.hover\:relay-bg_gray2:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3279
|
+
background-color: var(--relay-colors-gray2);
|
|
3280
|
+
}
|
|
3281
|
+
|
|
3270
3282
|
.hover\:relay-bg_gray6:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3271
3283
|
background-color: var(--relay-colors-gray6);
|
|
3272
3284
|
}
|
|
@@ -3275,10 +3287,6 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3275
3287
|
background-color: var(--relay-colors-gray5);
|
|
3276
3288
|
}
|
|
3277
3289
|
|
|
3278
|
-
.hover\:relay-bg_gray3:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3279
|
-
background-color: var(--relay-colors-gray3);
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
3290
|
.active\:relay-shadow_inset_0_0_0_2px_var\(--focusColor\):is(:active, [data-active]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3283
3291
|
box-shadow: inset 0 0 0 2px var(--focusColor);
|
|
3284
3292
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relayprotocol/relay-kit-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./_cjs/src/index.js",
|
|
6
6
|
"module": "./_esm/src/index.js",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"pandacss-preset-radix-colors": "^0.2.0",
|
|
80
80
|
"qrcode.react": "^4.1.0",
|
|
81
81
|
"usehooks-ts": "^3.1.0",
|
|
82
|
-
"@relayprotocol/relay-kit-hooks": "2.0.6",
|
|
83
82
|
"@relayprotocol/relay-design-system": "^1.0.0",
|
|
83
|
+
"@relayprotocol/relay-kit-hooks": "2.0.6",
|
|
84
84
|
"@relayprotocol/relay-sdk": "3.0.0"
|
|
85
85
|
},
|
|
86
86
|
"keywords": [
|