@upstash/react-redis-browser 0.2.14-rc.2 → 0.2.14-rc.4
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/dist/index.css +72 -27
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1321 -591
- package/dist/index.mjs +1869 -1139
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -792,6 +792,9 @@
|
|
|
792
792
|
.ups-db .invisible {
|
|
793
793
|
visibility: hidden;
|
|
794
794
|
}
|
|
795
|
+
.ups-db .collapse {
|
|
796
|
+
visibility: collapse;
|
|
797
|
+
}
|
|
795
798
|
.ups-db .static {
|
|
796
799
|
position: static;
|
|
797
800
|
}
|
|
@@ -918,6 +921,9 @@
|
|
|
918
921
|
.ups-db .ml-2 {
|
|
919
922
|
margin-left: 0.5rem;
|
|
920
923
|
}
|
|
924
|
+
.ups-db .ml-\[15px\] {
|
|
925
|
+
margin-left: 15px;
|
|
926
|
+
}
|
|
921
927
|
.ups-db .ml-auto {
|
|
922
928
|
margin-left: auto;
|
|
923
929
|
}
|
|
@@ -1031,6 +1037,9 @@
|
|
|
1031
1037
|
.ups-db .h-\[26px\] {
|
|
1032
1038
|
height: 26px;
|
|
1033
1039
|
}
|
|
1040
|
+
.ups-db .h-\[300px\] {
|
|
1041
|
+
height: 300px;
|
|
1042
|
+
}
|
|
1034
1043
|
.ups-db .h-\[3px\] {
|
|
1035
1044
|
height: 3px;
|
|
1036
1045
|
}
|
|
@@ -1052,6 +1061,9 @@
|
|
|
1052
1061
|
.ups-db .max-h-\[300px\] {
|
|
1053
1062
|
max-height: 300px;
|
|
1054
1063
|
}
|
|
1064
|
+
.ups-db .max-h-\[600px\] {
|
|
1065
|
+
max-height: 600px;
|
|
1066
|
+
}
|
|
1055
1067
|
.ups-db .max-h-\[var\(--radix-dropdown-menu-content-available-height\)\] {
|
|
1056
1068
|
max-height: var(--radix-dropdown-menu-content-available-height);
|
|
1057
1069
|
}
|
|
@@ -1061,6 +1073,9 @@
|
|
|
1061
1073
|
.ups-db .min-h-0 {
|
|
1062
1074
|
min-height: 0px;
|
|
1063
1075
|
}
|
|
1076
|
+
.ups-db .min-h-\[150px\] {
|
|
1077
|
+
min-height: 150px;
|
|
1078
|
+
}
|
|
1064
1079
|
.ups-db .min-h-\[20px\] {
|
|
1065
1080
|
min-height: 20px;
|
|
1066
1081
|
}
|
|
@@ -1088,6 +1103,9 @@
|
|
|
1088
1103
|
.ups-db .w-24 {
|
|
1089
1104
|
width: 6rem;
|
|
1090
1105
|
}
|
|
1106
|
+
.ups-db .w-3 {
|
|
1107
|
+
width: 0.75rem;
|
|
1108
|
+
}
|
|
1091
1109
|
.ups-db .w-3\.5 {
|
|
1092
1110
|
width: 0.875rem;
|
|
1093
1111
|
}
|
|
@@ -1179,6 +1197,9 @@
|
|
|
1179
1197
|
.ups-db .max-w-md {
|
|
1180
1198
|
max-width: 28rem;
|
|
1181
1199
|
}
|
|
1200
|
+
.ups-db .max-w-xs {
|
|
1201
|
+
max-width: 20rem;
|
|
1202
|
+
}
|
|
1182
1203
|
.ups-db .flex-1 {
|
|
1183
1204
|
flex: 1 1 0%;
|
|
1184
1205
|
}
|
|
@@ -1260,9 +1281,17 @@
|
|
|
1260
1281
|
.ups-db .resize-none {
|
|
1261
1282
|
resize: none;
|
|
1262
1283
|
}
|
|
1284
|
+
.ups-db .resize-y {
|
|
1285
|
+
resize: vertical;
|
|
1286
|
+
}
|
|
1263
1287
|
.ups-db .resize {
|
|
1264
1288
|
resize: both;
|
|
1265
1289
|
}
|
|
1290
|
+
.ups-db .appearance-none {
|
|
1291
|
+
-webkit-appearance: none;
|
|
1292
|
+
-moz-appearance: none;
|
|
1293
|
+
appearance: none;
|
|
1294
|
+
}
|
|
1266
1295
|
.ups-db .grid-cols-4 {
|
|
1267
1296
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1268
1297
|
}
|
|
@@ -1413,6 +1442,10 @@
|
|
|
1413
1442
|
.ups-db .rounded-xl {
|
|
1414
1443
|
border-radius: 0.75rem;
|
|
1415
1444
|
}
|
|
1445
|
+
.ups-db .rounded-b-lg {
|
|
1446
|
+
border-bottom-right-radius: 0.5rem;
|
|
1447
|
+
border-bottom-left-radius: 0.5rem;
|
|
1448
|
+
}
|
|
1416
1449
|
.ups-db .rounded-l-lg {
|
|
1417
1450
|
border-top-left-radius: 0.5rem;
|
|
1418
1451
|
border-bottom-left-radius: 0.5rem;
|
|
@@ -1618,6 +1651,13 @@
|
|
|
1618
1651
|
--tw-bg-opacity: 1;
|
|
1619
1652
|
background-color: rgb(var(--color-indigo-200) / var(--tw-bg-opacity));
|
|
1620
1653
|
}
|
|
1654
|
+
.ups-db .bg-neutral-900 {
|
|
1655
|
+
--tw-bg-opacity: 1;
|
|
1656
|
+
background-color: rgb(23 23 23 / var(--tw-bg-opacity));
|
|
1657
|
+
}
|
|
1658
|
+
.ups-db .bg-neutral-900\/20 {
|
|
1659
|
+
background-color: rgb(23 23 23 / 0.2);
|
|
1660
|
+
}
|
|
1621
1661
|
.ups-db .bg-orange-200 {
|
|
1622
1662
|
--tw-bg-opacity: 1;
|
|
1623
1663
|
background-color: rgb(var(--color-orange-200) / var(--tw-bg-opacity));
|
|
@@ -1671,13 +1711,13 @@
|
|
|
1671
1711
|
--tw-bg-opacity: 1;
|
|
1672
1712
|
background-color: rgb(var(--color-zinc-200) / var(--tw-bg-opacity));
|
|
1673
1713
|
}
|
|
1674
|
-
.ups-db .bg-zinc-200\/70 {
|
|
1675
|
-
background-color: rgb(var(--color-zinc-200) / 0.7);
|
|
1676
|
-
}
|
|
1677
1714
|
.ups-db .bg-zinc-300 {
|
|
1678
1715
|
--tw-bg-opacity: 1;
|
|
1679
1716
|
background-color: rgb(var(--color-zinc-300) / var(--tw-bg-opacity));
|
|
1680
1717
|
}
|
|
1718
|
+
.ups-db .bg-zinc-400\/70 {
|
|
1719
|
+
background-color: rgb(var(--color-zinc-400) / 0.7);
|
|
1720
|
+
}
|
|
1681
1721
|
.ups-db .bg-zinc-50 {
|
|
1682
1722
|
--tw-bg-opacity: 1;
|
|
1683
1723
|
background-color: rgb(var(--color-zinc-50) / var(--tw-bg-opacity));
|
|
@@ -2297,6 +2337,20 @@
|
|
|
2297
2337
|
rgba(0, 0, 0, 0.08),
|
|
2298
2338
|
rgba(0, 0, 0, 0));
|
|
2299
2339
|
}
|
|
2340
|
+
.ups-db .scroll-shadow-top {
|
|
2341
|
+
background:
|
|
2342
|
+
linear-gradient(
|
|
2343
|
+
to bottom,
|
|
2344
|
+
rgba(0, 0, 0, 0.04),
|
|
2345
|
+
rgba(0, 0, 0, 0));
|
|
2346
|
+
}
|
|
2347
|
+
.ups-db .scroll-shadow-bottom {
|
|
2348
|
+
background:
|
|
2349
|
+
linear-gradient(
|
|
2350
|
+
to top,
|
|
2351
|
+
rgba(0, 0, 0, 0.04),
|
|
2352
|
+
rgba(0, 0, 0, 0));
|
|
2353
|
+
}
|
|
2300
2354
|
.ups-db svg.tabler-icon {
|
|
2301
2355
|
stroke-width: 2 !important;
|
|
2302
2356
|
}
|
|
@@ -2724,14 +2778,17 @@
|
|
|
2724
2778
|
.ups-db .data-\[state\=open\]\:slide-in-from-top-full[data-state=open] {
|
|
2725
2779
|
--tw-enter-translate-y: -100%;
|
|
2726
2780
|
}
|
|
2727
|
-
.ups-db .dark\:border-zinc-700:is(.dark *) {
|
|
2728
|
-
--tw-border-opacity: 1;
|
|
2729
|
-
border-color: rgb(var(--color-zinc-700) / var(--tw-border-opacity));
|
|
2730
|
-
}
|
|
2731
2781
|
.ups-db .dark\:border-b-zinc-200:is(.dark *) {
|
|
2732
2782
|
--tw-border-opacity: 1;
|
|
2733
2783
|
border-bottom-color: rgb(var(--color-zinc-200) / var(--tw-border-opacity));
|
|
2734
2784
|
}
|
|
2785
|
+
.ups-db .dark\:bg-neutral-50:is(.dark *) {
|
|
2786
|
+
--tw-bg-opacity: 1;
|
|
2787
|
+
background-color: rgb(250 250 250 / var(--tw-bg-opacity));
|
|
2788
|
+
}
|
|
2789
|
+
.ups-db .dark\:bg-neutral-50\/20:is(.dark *) {
|
|
2790
|
+
background-color: rgb(250 250 250 / 0.2);
|
|
2791
|
+
}
|
|
2735
2792
|
.ups-db .dark\:bg-zinc-100:is(.dark *) {
|
|
2736
2793
|
--tw-bg-opacity: 1;
|
|
2737
2794
|
background-color: rgb(var(--color-zinc-100) / var(--tw-bg-opacity));
|
|
@@ -2740,30 +2797,10 @@
|
|
|
2740
2797
|
--tw-bg-opacity: 1;
|
|
2741
2798
|
background-color: rgb(var(--color-zinc-200) / var(--tw-bg-opacity));
|
|
2742
2799
|
}
|
|
2743
|
-
.ups-db .dark\:bg-zinc-700:is(.dark *) {
|
|
2744
|
-
--tw-bg-opacity: 1;
|
|
2745
|
-
background-color: rgb(var(--color-zinc-700) / var(--tw-bg-opacity));
|
|
2746
|
-
}
|
|
2747
|
-
.ups-db .dark\:bg-zinc-800:is(.dark *) {
|
|
2748
|
-
--tw-bg-opacity: 1;
|
|
2749
|
-
background-color: rgb(var(--color-zinc-800) / var(--tw-bg-opacity));
|
|
2750
|
-
}
|
|
2751
2800
|
.ups-db .dark\:text-red-400:is(.dark *) {
|
|
2752
2801
|
--tw-text-opacity: 1;
|
|
2753
2802
|
color: rgb(var(--color-red-400) / var(--tw-text-opacity));
|
|
2754
2803
|
}
|
|
2755
|
-
.ups-db .dark\:text-zinc-100:is(.dark *) {
|
|
2756
|
-
--tw-text-opacity: 1;
|
|
2757
|
-
color: rgb(var(--color-zinc-100) / var(--tw-text-opacity));
|
|
2758
|
-
}
|
|
2759
|
-
.ups-db .dark\:text-zinc-300:is(.dark *) {
|
|
2760
|
-
--tw-text-opacity: 1;
|
|
2761
|
-
color: rgb(var(--color-zinc-300) / var(--tw-text-opacity));
|
|
2762
|
-
}
|
|
2763
|
-
.ups-db .dark\:text-zinc-400:is(.dark *) {
|
|
2764
|
-
--tw-text-opacity: 1;
|
|
2765
|
-
color: rgb(var(--color-zinc-400) / var(--tw-text-opacity));
|
|
2766
|
-
}
|
|
2767
2804
|
.ups-db .dark\:text-zinc-500:is(.dark *) {
|
|
2768
2805
|
--tw-text-opacity: 1;
|
|
2769
2806
|
color: rgb(var(--color-zinc-500) / var(--tw-text-opacity));
|
|
@@ -2816,6 +2853,14 @@
|
|
|
2816
2853
|
font-size: 0.75rem;
|
|
2817
2854
|
line-height: 1rem;
|
|
2818
2855
|
}
|
|
2856
|
+
.ups-db .\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button {
|
|
2857
|
+
-webkit-appearance: none;
|
|
2858
|
+
appearance: none;
|
|
2859
|
+
}
|
|
2860
|
+
.ups-db .\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button {
|
|
2861
|
+
-webkit-appearance: none;
|
|
2862
|
+
appearance: none;
|
|
2863
|
+
}
|
|
2819
2864
|
.ups-db .\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
|
|
2820
2865
|
display: none;
|
|
2821
2866
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -20,7 +20,7 @@ type RedisBrowserStorage = {
|
|
|
20
20
|
set: (value: string) => void;
|
|
21
21
|
get: () => string | null;
|
|
22
22
|
};
|
|
23
|
-
declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
|
|
23
|
+
declare const RedisBrowser: ({ url, token, hideTabs, hideSearchTab, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
|
|
24
24
|
/**
|
|
25
25
|
* Whether to disable telemetry.
|
|
26
26
|
*
|
|
@@ -34,6 +34,12 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
|
|
|
34
34
|
*/
|
|
35
35
|
disableTelemetry?: boolean;
|
|
36
36
|
hideTabs?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to hide the Keys/Search segmented tab selector.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
hideSearchTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
* If defined, the databrowser will have a full screen button in the tab bar.
|
|
39
45
|
* Clicking on the button will call this function.
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ type RedisBrowserStorage = {
|
|
|
20
20
|
set: (value: string) => void;
|
|
21
21
|
get: () => string | null;
|
|
22
22
|
};
|
|
23
|
-
declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
|
|
23
|
+
declare const RedisBrowser: ({ url, token, hideTabs, hideSearchTab, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
|
|
24
24
|
/**
|
|
25
25
|
* Whether to disable telemetry.
|
|
26
26
|
*
|
|
@@ -34,6 +34,12 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
|
|
|
34
34
|
*/
|
|
35
35
|
disableTelemetry?: boolean;
|
|
36
36
|
hideTabs?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to hide the Keys/Search segmented tab selector.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
hideSearchTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
* If defined, the databrowser will have a full screen button in the tab bar.
|
|
39
45
|
* Clicking on the button will call this function.
|