@upstash/react-redis-browser 0.2.14-rc.1 → 0.2.14-rc.10

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 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
  }
@@ -864,6 +867,9 @@
864
867
  .ups-db .z-\[100\] {
865
868
  z-index: 100;
866
869
  }
870
+ .ups-db .col-span-2 {
871
+ grid-column: span 2 / span 2;
872
+ }
867
873
  .ups-db .-mx-1 {
868
874
  margin-left: -0.25rem;
869
875
  margin-right: -0.25rem;
@@ -894,6 +900,9 @@
894
900
  .ups-db .mb-1 {
895
901
  margin-bottom: 0.25rem;
896
902
  }
903
+ .ups-db .mb-1\.5 {
904
+ margin-bottom: 0.375rem;
905
+ }
897
906
  .ups-db .mb-2 {
898
907
  margin-bottom: 0.5rem;
899
908
  }
@@ -912,6 +921,9 @@
912
921
  .ups-db .ml-2 {
913
922
  margin-left: 0.5rem;
914
923
  }
924
+ .ups-db .ml-\[15px\] {
925
+ margin-left: 15px;
926
+ }
915
927
  .ups-db .ml-auto {
916
928
  margin-left: auto;
917
929
  }
@@ -924,9 +936,15 @@
924
936
  .ups-db .mt-0\.5 {
925
937
  margin-top: 0.125rem;
926
938
  }
939
+ .ups-db .mt-1 {
940
+ margin-top: 0.25rem;
941
+ }
927
942
  .ups-db .mt-2 {
928
943
  margin-top: 0.5rem;
929
944
  }
945
+ .ups-db .mt-3 {
946
+ margin-top: 0.75rem;
947
+ }
930
948
  .ups-db .mt-4 {
931
949
  margin-top: 1rem;
932
950
  }
@@ -1013,6 +1031,9 @@
1013
1031
  .ups-db .h-\[18px\] {
1014
1032
  height: 18px;
1015
1033
  }
1034
+ .ups-db .h-\[200px\] {
1035
+ height: 200px;
1036
+ }
1016
1037
  .ups-db .h-\[20px\] {
1017
1038
  height: 20px;
1018
1039
  }
@@ -1034,9 +1055,15 @@
1034
1055
  .ups-db .h-px {
1035
1056
  height: 1px;
1036
1057
  }
1058
+ .ups-db .max-h-\[200px\] {
1059
+ max-height: 200px;
1060
+ }
1037
1061
  .ups-db .max-h-\[300px\] {
1038
1062
  max-height: 300px;
1039
1063
  }
1064
+ .ups-db .max-h-\[40vh\] {
1065
+ max-height: 40vh;
1066
+ }
1040
1067
  .ups-db .max-h-\[var\(--radix-dropdown-menu-content-available-height\)\] {
1041
1068
  max-height: var(--radix-dropdown-menu-content-available-height);
1042
1069
  }
@@ -1046,6 +1073,9 @@
1046
1073
  .ups-db .min-h-0 {
1047
1074
  min-height: 0px;
1048
1075
  }
1076
+ .ups-db .min-h-\[150px\] {
1077
+ min-height: 150px;
1078
+ }
1049
1079
  .ups-db .min-h-\[20px\] {
1050
1080
  min-height: 20px;
1051
1081
  }
@@ -1073,6 +1103,9 @@
1073
1103
  .ups-db .w-24 {
1074
1104
  width: 6rem;
1075
1105
  }
1106
+ .ups-db .w-3 {
1107
+ width: 0.75rem;
1108
+ }
1076
1109
  .ups-db .w-3\.5 {
1077
1110
  width: 0.875rem;
1078
1111
  }
@@ -1131,6 +1164,9 @@
1131
1164
  .ups-db .min-w-24 {
1132
1165
  min-width: 6rem;
1133
1166
  }
1167
+ .ups-db .min-w-\[140px\] {
1168
+ min-width: 140px;
1169
+ }
1134
1170
  .ups-db .min-w-\[30px\] {
1135
1171
  min-width: 30px;
1136
1172
  }
@@ -1143,9 +1179,15 @@
1143
1179
  .ups-db .max-w-0 {
1144
1180
  max-width: 0px;
1145
1181
  }
1182
+ .ups-db .max-w-2xl {
1183
+ max-width: 42rem;
1184
+ }
1146
1185
  .ups-db .max-w-32 {
1147
1186
  max-width: 8rem;
1148
1187
  }
1188
+ .ups-db .max-w-4xl {
1189
+ max-width: 56rem;
1190
+ }
1149
1191
  .ups-db .max-w-\[370px\] {
1150
1192
  max-width: 370px;
1151
1193
  }
@@ -1158,6 +1200,9 @@
1158
1200
  .ups-db .max-w-md {
1159
1201
  max-width: 28rem;
1160
1202
  }
1203
+ .ups-db .max-w-xs {
1204
+ max-width: 20rem;
1205
+ }
1161
1206
  .ups-db .flex-1 {
1162
1207
  flex: 1 1 0%;
1163
1208
  }
@@ -1239,9 +1284,20 @@
1239
1284
  .ups-db .resize-none {
1240
1285
  resize: none;
1241
1286
  }
1287
+ .ups-db .resize-y {
1288
+ resize: vertical;
1289
+ }
1242
1290
  .ups-db .resize {
1243
1291
  resize: both;
1244
1292
  }
1293
+ .ups-db .appearance-none {
1294
+ -webkit-appearance: none;
1295
+ -moz-appearance: none;
1296
+ appearance: none;
1297
+ }
1298
+ .ups-db .grid-cols-4 {
1299
+ grid-template-columns: repeat(4, minmax(0, 1fr));
1300
+ }
1245
1301
  .ups-db .flex-col {
1246
1302
  flex-direction: column;
1247
1303
  }
@@ -1330,9 +1386,6 @@
1330
1386
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
1331
1387
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
1332
1388
  }
1333
- .ups-db .overflow-auto {
1334
- overflow: auto;
1335
- }
1336
1389
  .ups-db .overflow-hidden {
1337
1390
  overflow: hidden;
1338
1391
  }
@@ -1359,9 +1412,6 @@
1359
1412
  .ups-db .whitespace-nowrap {
1360
1413
  white-space: nowrap;
1361
1414
  }
1362
- .ups-db .whitespace-pre-wrap {
1363
- white-space: pre-wrap;
1364
- }
1365
1415
  .ups-db .text-balance {
1366
1416
  text-wrap: balance;
1367
1417
  }
@@ -1395,6 +1445,10 @@
1395
1445
  .ups-db .rounded-xl {
1396
1446
  border-radius: 0.75rem;
1397
1447
  }
1448
+ .ups-db .rounded-b-lg {
1449
+ border-bottom-right-radius: 0.5rem;
1450
+ border-bottom-left-radius: 0.5rem;
1451
+ }
1398
1452
  .ups-db .rounded-l-lg {
1399
1453
  border-top-left-radius: 0.5rem;
1400
1454
  border-bottom-left-radius: 0.5rem;
@@ -1407,6 +1461,10 @@
1407
1461
  border-top-left-radius: 0px;
1408
1462
  border-bottom-left-radius: 0px;
1409
1463
  }
1464
+ .ups-db .rounded-r-lg {
1465
+ border-top-right-radius: 0.5rem;
1466
+ border-bottom-right-radius: 0.5rem;
1467
+ }
1410
1468
  .ups-db .rounded-r-md {
1411
1469
  border-top-right-radius: 0.375rem;
1412
1470
  border-bottom-right-radius: 0.375rem;
@@ -1422,6 +1480,9 @@
1422
1480
  .ups-db .border {
1423
1481
  border-width: 1px;
1424
1482
  }
1483
+ .ups-db .border-2 {
1484
+ border-width: 2px;
1485
+ }
1425
1486
  .ups-db .border-\[4px\] {
1426
1487
  border-width: 4px;
1427
1488
  }
@@ -1506,6 +1567,10 @@
1506
1567
  --tw-border-opacity: 1;
1507
1568
  border-bottom-color: rgb(var(--color-zinc-100) / var(--tw-border-opacity));
1508
1569
  }
1570
+ .ups-db .border-t-zinc-600 {
1571
+ --tw-border-opacity: 1;
1572
+ border-top-color: rgb(var(--color-zinc-600) / var(--tw-border-opacity));
1573
+ }
1509
1574
  .ups-db .\!bg-amber-50 {
1510
1575
  --tw-bg-opacity: 1 !important;
1511
1576
  background-color: rgb(var(--color-amber-50) / var(--tw-bg-opacity)) !important;
@@ -1577,6 +1642,14 @@
1577
1642
  --tw-bg-opacity: 1;
1578
1643
  background-color: rgb(var(--color-emerald-500) / var(--tw-bg-opacity));
1579
1644
  }
1645
+ .ups-db .bg-emerald-600 {
1646
+ --tw-bg-opacity: 1;
1647
+ background-color: rgb(var(--color-emerald-600) / var(--tw-bg-opacity));
1648
+ }
1649
+ .ups-db .bg-emerald-800 {
1650
+ --tw-bg-opacity: 1;
1651
+ background-color: rgb(var(--color-emerald-800) / var(--tw-bg-opacity));
1652
+ }
1580
1653
  .ups-db .bg-gray-200 {
1581
1654
  --tw-bg-opacity: 1;
1582
1655
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
@@ -1589,6 +1662,13 @@
1589
1662
  --tw-bg-opacity: 1;
1590
1663
  background-color: rgb(var(--color-indigo-200) / var(--tw-bg-opacity));
1591
1664
  }
1665
+ .ups-db .bg-neutral-900 {
1666
+ --tw-bg-opacity: 1;
1667
+ background-color: rgb(23 23 23 / var(--tw-bg-opacity));
1668
+ }
1669
+ .ups-db .bg-neutral-900\/20 {
1670
+ background-color: rgb(23 23 23 / 0.2);
1671
+ }
1592
1672
  .ups-db .bg-orange-200 {
1593
1673
  --tw-bg-opacity: 1;
1594
1674
  background-color: rgb(var(--color-orange-200) / var(--tw-bg-opacity));
@@ -1642,13 +1722,13 @@
1642
1722
  --tw-bg-opacity: 1;
1643
1723
  background-color: rgb(var(--color-zinc-200) / var(--tw-bg-opacity));
1644
1724
  }
1645
- .ups-db .bg-zinc-200\/70 {
1646
- background-color: rgb(var(--color-zinc-200) / 0.7);
1647
- }
1648
1725
  .ups-db .bg-zinc-300 {
1649
1726
  --tw-bg-opacity: 1;
1650
1727
  background-color: rgb(var(--color-zinc-300) / var(--tw-bg-opacity));
1651
1728
  }
1729
+ .ups-db .bg-zinc-400\/70 {
1730
+ background-color: rgb(var(--color-zinc-400) / 0.7);
1731
+ }
1652
1732
  .ups-db .bg-zinc-50 {
1653
1733
  --tw-bg-opacity: 1;
1654
1734
  background-color: rgb(var(--color-zinc-50) / var(--tw-bg-opacity));
@@ -1680,6 +1760,9 @@
1680
1760
  .ups-db .p-2 {
1681
1761
  padding: 0.5rem;
1682
1762
  }
1763
+ .ups-db .p-3 {
1764
+ padding: 0.75rem;
1765
+ }
1683
1766
  .ups-db .p-4 {
1684
1767
  padding: 1rem;
1685
1768
  }
@@ -1751,6 +1834,10 @@
1751
1834
  padding-top: 0.75rem;
1752
1835
  padding-bottom: 0.75rem;
1753
1836
  }
1837
+ .ups-db .py-4 {
1838
+ padding-top: 1rem;
1839
+ padding-bottom: 1rem;
1840
+ }
1754
1841
  .ups-db .py-5 {
1755
1842
  padding-top: 1.25rem;
1756
1843
  padding-bottom: 1.25rem;
@@ -1763,6 +1850,13 @@
1763
1850
  padding-top: 3px;
1764
1851
  padding-bottom: 3px;
1765
1852
  }
1853
+ .ups-db .py-\[5px\] {
1854
+ padding-top: 5px;
1855
+ padding-bottom: 5px;
1856
+ }
1857
+ .ups-db .pb-1\.5 {
1858
+ padding-bottom: 0.375rem;
1859
+ }
1766
1860
  .ups-db .pb-5 {
1767
1861
  padding-bottom: 1.25rem;
1768
1862
  }
@@ -1893,6 +1987,10 @@
1893
1987
  --tw-text-opacity: 1;
1894
1988
  color: rgb(var(--color-blue-600) / var(--tw-text-opacity));
1895
1989
  }
1990
+ .ups-db .text-emerald-100 {
1991
+ --tw-text-opacity: 1;
1992
+ color: rgb(var(--color-emerald-100) / var(--tw-text-opacity));
1993
+ }
1896
1994
  .ups-db .text-emerald-600 {
1897
1995
  --tw-text-opacity: 1;
1898
1996
  color: rgb(var(--color-emerald-600) / var(--tw-text-opacity));
@@ -1989,6 +2087,9 @@
1989
2087
  --tw-text-opacity: 1;
1990
2088
  color: rgb(var(--color-sky-900) / var(--tw-text-opacity));
1991
2089
  }
2090
+ .ups-db .text-transparent {
2091
+ color: transparent;
2092
+ }
1992
2093
  .ups-db .text-white {
1993
2094
  --tw-text-opacity: 1;
1994
2095
  color: rgb(var(--color-white) / var(--tw-text-opacity));
@@ -2028,6 +2129,9 @@
2028
2129
  .ups-db .text-zinc-950\/50 {
2029
2130
  color: rgb(var(--color-zinc-950) / 0.5);
2030
2131
  }
2132
+ .ups-db .underline {
2133
+ text-decoration-line: underline;
2134
+ }
2031
2135
  .ups-db .underline-offset-2 {
2032
2136
  text-underline-offset: 2px;
2033
2137
  }
@@ -2241,6 +2345,11 @@
2241
2345
  .ups-db .ease-out {
2242
2346
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
2243
2347
  }
2348
+ .ups-db .\[appearance\:textfield\] {
2349
+ -webkit-appearance: textfield;
2350
+ -moz-appearance: textfield;
2351
+ appearance: textfield;
2352
+ }
2244
2353
  .ups-db .tabs-shadow-left {
2245
2354
  background:
2246
2355
  linear-gradient(
@@ -2255,6 +2364,20 @@
2255
2364
  rgba(0, 0, 0, 0.08),
2256
2365
  rgba(0, 0, 0, 0));
2257
2366
  }
2367
+ .ups-db .scroll-shadow-top {
2368
+ background:
2369
+ linear-gradient(
2370
+ to bottom,
2371
+ rgba(0, 0, 0, 0.04),
2372
+ rgba(0, 0, 0, 0));
2373
+ }
2374
+ .ups-db .scroll-shadow-bottom {
2375
+ background:
2376
+ linear-gradient(
2377
+ to top,
2378
+ rgba(0, 0, 0, 0.04),
2379
+ rgba(0, 0, 0, 0));
2380
+ }
2258
2381
  .ups-db svg.tabler-icon {
2259
2382
  stroke-width: 2 !important;
2260
2383
  }
@@ -2317,6 +2440,14 @@
2317
2440
  .ups-db .file\:font-medium::file-selector-button {
2318
2441
  font-weight: 500;
2319
2442
  }
2443
+ .ups-db .placeholder\:text-zinc-400::-moz-placeholder {
2444
+ --tw-text-opacity: 1;
2445
+ color: rgb(var(--color-zinc-400) / var(--tw-text-opacity));
2446
+ }
2447
+ .ups-db .placeholder\:text-zinc-400::placeholder {
2448
+ --tw-text-opacity: 1;
2449
+ color: rgb(var(--color-zinc-400) / var(--tw-text-opacity));
2450
+ }
2320
2451
  .ups-db .placeholder\:text-zinc-500::-moz-placeholder {
2321
2452
  --tw-text-opacity: 1;
2322
2453
  color: rgb(var(--color-zinc-500) / var(--tw-text-opacity));
@@ -2328,10 +2459,18 @@
2328
2459
  .ups-db .hover\:bg-black\/10:hover {
2329
2460
  background-color: rgb(var(--color-black) / 0.1);
2330
2461
  }
2462
+ .ups-db .hover\:bg-emerald-100:hover {
2463
+ --tw-bg-opacity: 1;
2464
+ background-color: rgb(var(--color-emerald-100) / var(--tw-bg-opacity));
2465
+ }
2331
2466
  .ups-db .hover\:bg-emerald-600:hover {
2332
2467
  --tw-bg-opacity: 1;
2333
2468
  background-color: rgb(var(--color-emerald-600) / var(--tw-bg-opacity));
2334
2469
  }
2470
+ .ups-db .hover\:bg-emerald-700:hover {
2471
+ --tw-bg-opacity: 1;
2472
+ background-color: rgb(var(--color-emerald-700) / var(--tw-bg-opacity));
2473
+ }
2335
2474
  .ups-db .hover\:bg-red-500\/90:hover {
2336
2475
  background-color: rgb(var(--color-red-500) / 0.9);
2337
2476
  }
@@ -2352,9 +2491,9 @@
2352
2491
  .ups-db .hover\:bg-zinc-300\/10:hover {
2353
2492
  background-color: rgb(var(--color-zinc-300) / 0.1);
2354
2493
  }
2355
- .ups-db .hover\:bg-zinc-800:hover {
2494
+ .ups-db .hover\:bg-zinc-50:hover {
2356
2495
  --tw-bg-opacity: 1;
2357
- background-color: rgb(var(--color-zinc-800) / var(--tw-bg-opacity));
2496
+ background-color: rgb(var(--color-zinc-50) / var(--tw-bg-opacity));
2358
2497
  }
2359
2498
  .ups-db .hover\:text-red-500:hover {
2360
2499
  --tw-text-opacity: 1;
@@ -2666,14 +2805,17 @@
2666
2805
  .ups-db .data-\[state\=open\]\:slide-in-from-top-full[data-state=open] {
2667
2806
  --tw-enter-translate-y: -100%;
2668
2807
  }
2669
- .ups-db .dark\:border-zinc-700:is(.dark *) {
2670
- --tw-border-opacity: 1;
2671
- border-color: rgb(var(--color-zinc-700) / var(--tw-border-opacity));
2672
- }
2673
2808
  .ups-db .dark\:border-b-zinc-200:is(.dark *) {
2674
2809
  --tw-border-opacity: 1;
2675
2810
  border-bottom-color: rgb(var(--color-zinc-200) / var(--tw-border-opacity));
2676
2811
  }
2812
+ .ups-db .dark\:bg-neutral-50:is(.dark *) {
2813
+ --tw-bg-opacity: 1;
2814
+ background-color: rgb(250 250 250 / var(--tw-bg-opacity));
2815
+ }
2816
+ .ups-db .dark\:bg-neutral-50\/20:is(.dark *) {
2817
+ background-color: rgb(250 250 250 / 0.2);
2818
+ }
2677
2819
  .ups-db .dark\:bg-zinc-100:is(.dark *) {
2678
2820
  --tw-bg-opacity: 1;
2679
2821
  background-color: rgb(var(--color-zinc-100) / var(--tw-bg-opacity));
@@ -2682,30 +2824,14 @@
2682
2824
  --tw-bg-opacity: 1;
2683
2825
  background-color: rgb(var(--color-zinc-200) / var(--tw-bg-opacity));
2684
2826
  }
2685
- .ups-db .dark\:bg-zinc-700:is(.dark *) {
2686
- --tw-bg-opacity: 1;
2687
- background-color: rgb(var(--color-zinc-700) / var(--tw-bg-opacity));
2688
- }
2689
- .ups-db .dark\:bg-zinc-800:is(.dark *) {
2827
+ .ups-db .dark\:bg-zinc-300:is(.dark *) {
2690
2828
  --tw-bg-opacity: 1;
2691
- background-color: rgb(var(--color-zinc-800) / var(--tw-bg-opacity));
2829
+ background-color: rgb(var(--color-zinc-300) / var(--tw-bg-opacity));
2692
2830
  }
2693
2831
  .ups-db .dark\:text-red-400:is(.dark *) {
2694
2832
  --tw-text-opacity: 1;
2695
2833
  color: rgb(var(--color-red-400) / var(--tw-text-opacity));
2696
2834
  }
2697
- .ups-db .dark\:text-zinc-100:is(.dark *) {
2698
- --tw-text-opacity: 1;
2699
- color: rgb(var(--color-zinc-100) / var(--tw-text-opacity));
2700
- }
2701
- .ups-db .dark\:text-zinc-400:is(.dark *) {
2702
- --tw-text-opacity: 1;
2703
- color: rgb(var(--color-zinc-400) / var(--tw-text-opacity));
2704
- }
2705
- .ups-db .dark\:text-zinc-500:is(.dark *) {
2706
- --tw-text-opacity: 1;
2707
- color: rgb(var(--color-zinc-500) / var(--tw-text-opacity));
2708
- }
2709
2835
  .ups-db .dark\:text-zinc-600:is(.dark *) {
2710
2836
  --tw-text-opacity: 1;
2711
2837
  color: rgb(var(--color-zinc-600) / var(--tw-text-opacity));
@@ -2754,6 +2880,14 @@
2754
2880
  font-size: 0.75rem;
2755
2881
  line-height: 1rem;
2756
2882
  }
2883
+ .ups-db .\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button {
2884
+ -webkit-appearance: none;
2885
+ appearance: none;
2886
+ }
2887
+ .ups-db .\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button {
2888
+ -webkit-appearance: none;
2889
+ appearance: none;
2890
+ }
2757
2891
  .ups-db .\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
2758
2892
  display: none;
2759
2893
  }
package/dist/index.d.mts CHANGED
@@ -20,7 +20,8 @@ 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
+ type TabType = "keys" | "search" | "all";
24
+ declare const RedisBrowser: ({ url, token, hideTabs, tabType, storage, disableTelemetry, onFullScreenClick, theme, allowSearch, }: RedisCredentials & {
24
25
  /**
25
26
  * Whether to disable telemetry.
26
27
  *
@@ -34,6 +35,15 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
34
35
  */
35
36
  disableTelemetry?: boolean;
36
37
  hideTabs?: boolean;
38
+ /**
39
+ * Which tab(s) to show in the databrowser.
40
+ * - "keys": Only show the Keys tab
41
+ * - "search": Only show the Search tab
42
+ * - "all": Show both tabs with a segmented selector
43
+ *
44
+ * @default "all"
45
+ */
46
+ tabType?: TabType;
37
47
  /**
38
48
  * If defined, the databrowser will have a full screen button in the tab bar.
39
49
  * Clicking on the button will call this function.
@@ -66,6 +76,14 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
66
76
  * ```
67
77
  */
68
78
  theme?: DarkModeOption;
79
+ /**
80
+ * Whether to allow picking the "Search Index" type filter in keys search.
81
+ *
82
+ * This option is temporary
83
+ *
84
+ * @default true
85
+ */
86
+ allowSearch?: boolean;
69
87
  }) => react_jsx_runtime.JSX.Element;
70
88
 
71
89
  export { type DarkModeOption, RedisBrowser, type RedisBrowserStorage };
package/dist/index.d.ts CHANGED
@@ -20,7 +20,8 @@ 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
+ type TabType = "keys" | "search" | "all";
24
+ declare const RedisBrowser: ({ url, token, hideTabs, tabType, storage, disableTelemetry, onFullScreenClick, theme, allowSearch, }: RedisCredentials & {
24
25
  /**
25
26
  * Whether to disable telemetry.
26
27
  *
@@ -34,6 +35,15 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
34
35
  */
35
36
  disableTelemetry?: boolean;
36
37
  hideTabs?: boolean;
38
+ /**
39
+ * Which tab(s) to show in the databrowser.
40
+ * - "keys": Only show the Keys tab
41
+ * - "search": Only show the Search tab
42
+ * - "all": Show both tabs with a segmented selector
43
+ *
44
+ * @default "all"
45
+ */
46
+ tabType?: TabType;
37
47
  /**
38
48
  * If defined, the databrowser will have a full screen button in the tab bar.
39
49
  * Clicking on the button will call this function.
@@ -66,6 +76,14 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
66
76
  * ```
67
77
  */
68
78
  theme?: DarkModeOption;
79
+ /**
80
+ * Whether to allow picking the "Search Index" type filter in keys search.
81
+ *
82
+ * This option is temporary
83
+ *
84
+ * @default true
85
+ */
86
+ allowSearch?: boolean;
69
87
  }) => react_jsx_runtime.JSX.Element;
70
88
 
71
89
  export { type DarkModeOption, RedisBrowser, type RedisBrowserStorage };