@meridianlabs/log-viewer 0.3.237 → 0.3.239
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/lib/index.js +323 -153
- package/lib/index.js.map +1 -1
- package/lib/src/app/log-list/LogsPanel.d.ts.map +1 -1
- package/lib/src/app/log-list/grid/LogListGrid.d.ts.map +1 -1
- package/lib/src/app/samples/SampleDisplay.d.ts.map +1 -1
- package/lib/src/app/samples/transcript/TranscriptPanel.d.ts.map +1 -1
- package/lib/src/app/shared/useKeyedMemo.d.ts +17 -0
- package/lib/src/app/shared/useKeyedMemo.d.ts.map +1 -0
- package/lib/styles/index.css +136 -27
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogsPanel.d.ts","sourceRoot":"","sources":["../../../../src/app/log-list/LogsPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"LogsPanel.d.ts","sourceRoot":"","sources":["../../../../src/app/log-list/LogsPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAyCf,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7C,UAAU,cAAc;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAuaxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogListGrid.d.ts","sourceRoot":"","sources":["../../../../../src/app/log-list/grid/LogListGrid.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EACL,EAAE,EAEF,SAAS,
|
|
1
|
+
{"version":3,"file":"LogListGrid.d.ts","sourceRoot":"","sources":["../../../../../src/app/log-list/grid/LogListGrid.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EACL,EAAE,EAEF,SAAS,EAOV,MAAM,OAAO,CAAC;AAWf,OAAO,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEzE,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,UAAU,gBAAgB;IACxB,KAAK,EAAE,KAAK,CAAC,WAAW,GAAG,aAAa,GAAG,eAAe,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC;IACpD,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAuID,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAoa5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SampleDisplay.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/SampleDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAGF,SAAS,EAMV,MAAM,OAAO,CAAC;AAkFf,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SampleDisplay.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/SampleDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAGF,SAAS,EAMV,MAAM,OAAO,CAAC;AAkFf,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA4rBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranscriptPanel.d.ts","sourceRoot":"","sources":["../../../../../src/app/samples/transcript/TranscriptPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAGF,SAAS,EAMV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,KAAK,EACL,QAAQ,IAAI,cAAc,EAC3B,MAAM,8BAA8B,CAAC;AAgBtC,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"TranscriptPanel.d.ts","sourceRoot":"","sources":["../../../../../src/app/samples/transcript/TranscriptPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAGF,SAAS,EAMV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,KAAK,EACL,QAAQ,IAAI,cAAc,EAC3B,MAAM,8BAA8B,CAAC;AAgBtC,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAetD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAErC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA4anD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map a list to derived values, reusing the prior output object for any item
|
|
3
|
+
* whose per-item deps are unchanged.
|
|
4
|
+
*
|
|
5
|
+
* `useMemo` is all-or-nothing: any dep change rebuilds every element, handing
|
|
6
|
+
* a consumer (e.g. AG-Grid) all-new identities and forcing a full refresh.
|
|
7
|
+
* This keeps a per-key cache so only the items that actually changed get a new
|
|
8
|
+
* object — the rest keep reference identity. Reuse is gated on `itemDeps`, so
|
|
9
|
+
* the cache must be pure: same deps must always yield the same value.
|
|
10
|
+
*
|
|
11
|
+
* The list is re-walked on every render; reuse keeps that cheap (a shallow dep
|
|
12
|
+
* compare per item, builds only on change). The returned array keeps the same
|
|
13
|
+
* reference when nothing changed, so consumers that key off its identity (deps
|
|
14
|
+
* arrays, AG-Grid's rowData diff) don't re-run on unrelated renders.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useKeyedMemo<S, T>(source: readonly S[], getKey: (item: S) => string, itemDeps: (item: S) => readonly unknown[], build: (item: S) => T): T[];
|
|
17
|
+
//# sourceMappingURL=useKeyedMemo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyedMemo.d.ts","sourceRoot":"","sources":["../../../../src/app/shared/useKeyedMemo.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAC/B,MAAM,EAAE,SAAS,CAAC,EAAE,EACpB,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,EAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,OAAO,EAAE,EACzC,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GACpB,CAAC,EAAE,CAqBL"}
|
package/lib/styles/index.css
CHANGED
|
@@ -15709,15 +15709,11 @@ pre[class*="language-"] {
|
|
|
15709
15709
|
padding: 1em;
|
|
15710
15710
|
margin: 0.5em 0;
|
|
15711
15711
|
overflow: auto;
|
|
15712
|
-
/* border: 0.3em solid #7a6651; */
|
|
15713
15712
|
border-radius: 0.5em;
|
|
15714
|
-
box-shadow: 1px 1px 0.5em #000 inset;
|
|
15715
15713
|
}
|
|
15716
15714
|
.vscode-dark :not(pre) > code[class*="language-"] {
|
|
15717
15715
|
padding: 0.15em 0.2em 0.05em;
|
|
15718
15716
|
border-radius: 0.3em;
|
|
15719
|
-
/* border: 0.13em solid #7a6651; */
|
|
15720
|
-
box-shadow: 1px 1px 0.3em -0.1em #000 inset;
|
|
15721
15717
|
white-space: normal;
|
|
15722
15718
|
}
|
|
15723
15719
|
.vscode-dark .token.cdata,
|
|
@@ -16592,18 +16588,53 @@ li > ul {
|
|
|
16592
16588
|
.markdown-content p:last-child {
|
|
16593
16589
|
margin-bottom: 0;
|
|
16594
16590
|
}
|
|
16595
|
-
.
|
|
16591
|
+
._panel_tison_1 {
|
|
16596
16592
|
width: 100%;
|
|
16597
16593
|
display: flex;
|
|
16598
16594
|
justify-content: center;
|
|
16599
16595
|
}
|
|
16600
16596
|
|
|
16601
|
-
.
|
|
16597
|
+
._container_tison_7 {
|
|
16602
16598
|
margin-top: 3em;
|
|
16603
16599
|
display: grid;
|
|
16604
16600
|
grid-template-columns: max-content max-content;
|
|
16605
16601
|
column-gap: 0.3em;
|
|
16606
16602
|
}
|
|
16603
|
+
|
|
16604
|
+
._ellipsis_tison_14 {
|
|
16605
|
+
display: inline-flex;
|
|
16606
|
+
}
|
|
16607
|
+
|
|
16608
|
+
._ellipsis_tison_14 i {
|
|
16609
|
+
font-style: normal;
|
|
16610
|
+
animation: _ncp-ellipsis_tison_1 1.5s ease-in-out infinite both;
|
|
16611
|
+
}
|
|
16612
|
+
|
|
16613
|
+
._ellipsis_tison_14 i:nth-child(2) {
|
|
16614
|
+
animation-delay: 0.18s;
|
|
16615
|
+
}
|
|
16616
|
+
|
|
16617
|
+
._ellipsis_tison_14 i:nth-child(3) {
|
|
16618
|
+
animation-delay: 0.36s;
|
|
16619
|
+
}
|
|
16620
|
+
|
|
16621
|
+
@keyframes _ncp-ellipsis_tison_1 {
|
|
16622
|
+
0%,
|
|
16623
|
+
80%,
|
|
16624
|
+
100% {
|
|
16625
|
+
opacity: 0.22;
|
|
16626
|
+
}
|
|
16627
|
+
40% {
|
|
16628
|
+
opacity: 1;
|
|
16629
|
+
}
|
|
16630
|
+
}
|
|
16631
|
+
|
|
16632
|
+
@media (prefers-reduced-motion: reduce) {
|
|
16633
|
+
._ellipsis_tison_14 i {
|
|
16634
|
+
animation: none;
|
|
16635
|
+
opacity: 0.55;
|
|
16636
|
+
}
|
|
16637
|
+
}
|
|
16607
16638
|
._content_13ihw_1 {
|
|
16608
16639
|
white-space: pre-wrap;
|
|
16609
16640
|
}
|
|
@@ -21239,48 +21270,131 @@ a._citationLink_1ggvf_9:hover {
|
|
|
21239
21270
|
font-variant-numeric: tabular-nums;
|
|
21240
21271
|
flex-shrink: 0;
|
|
21241
21272
|
}
|
|
21242
|
-
.
|
|
21273
|
+
._section_8yqw9_1 {
|
|
21274
|
+
margin: 1em 0 0 0;
|
|
21275
|
+
}
|
|
21276
|
+
|
|
21277
|
+
._header_8yqw9_5 {
|
|
21278
|
+
display: flex;
|
|
21279
|
+
align-items: center;
|
|
21280
|
+
gap: 0.6em;
|
|
21281
|
+
padding-bottom: 0.3em;
|
|
21282
|
+
}
|
|
21283
|
+
|
|
21284
|
+
._label_8yqw9_12 {
|
|
21285
|
+
font-weight: 600;
|
|
21286
|
+
}
|
|
21287
|
+
|
|
21288
|
+
._badge_8yqw9_16 {
|
|
21289
|
+
display: inline-flex;
|
|
21290
|
+
align-items: center;
|
|
21291
|
+
font-family: var(--bs-font-monospace);
|
|
21292
|
+
font-size: var(--inspect-font-size-smallestest);
|
|
21293
|
+
font-weight: 600;
|
|
21294
|
+
padding: 4px 11px;
|
|
21295
|
+
border-radius: 999px;
|
|
21296
|
+
border: 1px solid;
|
|
21297
|
+
color: var(--srb-fg);
|
|
21298
|
+
background: var(--srb-bg);
|
|
21299
|
+
border-color: var(--srb-bd);
|
|
21300
|
+
}
|
|
21301
|
+
|
|
21302
|
+
/* Shared chroma/lightness, hue varies — keeps the set harmonious. */
|
|
21303
|
+
._neutral_8yqw9_31 {
|
|
21304
|
+
--srb-fg: oklch(0.5 0.05 155);
|
|
21305
|
+
--srb-bg: oklch(0.972 0.018 155);
|
|
21306
|
+
--srb-bd: oklch(0.86 0.055 155);
|
|
21307
|
+
}
|
|
21308
|
+
._amber_8yqw9_36 {
|
|
21309
|
+
--srb-fg: oklch(0.52 0.09 64);
|
|
21310
|
+
--srb-bg: oklch(0.972 0.034 75);
|
|
21311
|
+
--srb-bd: oklch(0.85 0.065 75);
|
|
21312
|
+
}
|
|
21313
|
+
._blue_8yqw9_41 {
|
|
21314
|
+
--srb-fg: oklch(0.5 0.11 256);
|
|
21315
|
+
--srb-bg: oklch(0.972 0.026 256);
|
|
21316
|
+
--srb-bd: oklch(0.86 0.055 256);
|
|
21317
|
+
}
|
|
21318
|
+
._rose_8yqw9_46 {
|
|
21319
|
+
--srb-fg: oklch(0.52 0.14 22);
|
|
21320
|
+
--srb-bg: oklch(0.972 0.032 22);
|
|
21321
|
+
--srb-bd: oklch(0.87 0.06 22);
|
|
21322
|
+
}
|
|
21323
|
+
._gray_8yqw9_51 {
|
|
21324
|
+
--srb-fg: oklch(0.48 0.006 260);
|
|
21325
|
+
--srb-bg: oklch(0.972 0.003 260);
|
|
21326
|
+
--srb-bd: oklch(0.88 0.005 260);
|
|
21327
|
+
}
|
|
21328
|
+
|
|
21329
|
+
/* Dark mode — dark tinted fills with light text (the light fills above are
|
|
21330
|
+
near-white and glare on a dark surface). */
|
|
21331
|
+
[data-bs-theme="dark"] ._neutral_8yqw9_31 {
|
|
21332
|
+
--srb-fg: oklch(0.82 0.06 155);
|
|
21333
|
+
--srb-bg: oklch(0.28 0.03 155);
|
|
21334
|
+
--srb-bd: oklch(0.42 0.04 155);
|
|
21335
|
+
}
|
|
21336
|
+
[data-bs-theme="dark"] ._amber_8yqw9_36 {
|
|
21337
|
+
--srb-fg: oklch(0.83 0.09 75);
|
|
21338
|
+
--srb-bg: oklch(0.3 0.04 64);
|
|
21339
|
+
--srb-bd: oklch(0.45 0.05 70);
|
|
21340
|
+
}
|
|
21341
|
+
[data-bs-theme="dark"] ._blue_8yqw9_41 {
|
|
21342
|
+
--srb-fg: oklch(0.82 0.09 256);
|
|
21343
|
+
--srb-bg: oklch(0.3 0.04 256);
|
|
21344
|
+
--srb-bd: oklch(0.45 0.06 256);
|
|
21345
|
+
}
|
|
21346
|
+
[data-bs-theme="dark"] ._rose_8yqw9_46 {
|
|
21347
|
+
--srb-fg: oklch(0.82 0.1 22);
|
|
21348
|
+
--srb-bg: oklch(0.3 0.05 22);
|
|
21349
|
+
--srb-bd: oklch(0.46 0.08 22);
|
|
21350
|
+
}
|
|
21351
|
+
[data-bs-theme="dark"] ._gray_8yqw9_51 {
|
|
21352
|
+
--srb-fg: oklch(0.8 0.01 260);
|
|
21353
|
+
--srb-bg: oklch(0.29 0.005 260);
|
|
21354
|
+
--srb-bd: oklch(0.42 0.008 260);
|
|
21355
|
+
}
|
|
21356
|
+
._container_2vo8f_1 {
|
|
21243
21357
|
margin: 0.5em 0 0 0;
|
|
21244
21358
|
width: 100%;
|
|
21245
21359
|
}
|
|
21246
21360
|
|
|
21247
|
-
.
|
|
21361
|
+
._all_2vo8f_6 {
|
|
21248
21362
|
display: flex;
|
|
21249
21363
|
flex-direction: column;
|
|
21250
21364
|
gap: 1em;
|
|
21251
21365
|
}
|
|
21252
21366
|
|
|
21253
|
-
.
|
|
21367
|
+
._tableSelection_2vo8f_12 {
|
|
21254
21368
|
width: fit-content;
|
|
21255
21369
|
align-self: start;
|
|
21256
21370
|
justify-self: start;
|
|
21257
21371
|
}
|
|
21258
21372
|
|
|
21259
|
-
.
|
|
21373
|
+
._config_2vo8f_18 {
|
|
21260
21374
|
margin-top: 0;
|
|
21261
21375
|
}
|
|
21262
21376
|
|
|
21263
|
-
.
|
|
21377
|
+
._tools_2vo8f_22 {
|
|
21264
21378
|
grid-column: -1/1;
|
|
21265
21379
|
}
|
|
21266
21380
|
|
|
21267
|
-
.
|
|
21381
|
+
._codePre_2vo8f_26 {
|
|
21268
21382
|
background: var(--bs-light);
|
|
21269
21383
|
width: 100%;
|
|
21270
21384
|
padding: 0.5em;
|
|
21271
21385
|
border-radius: var(--bs-border-radius);
|
|
21272
21386
|
}
|
|
21273
21387
|
|
|
21274
|
-
.
|
|
21388
|
+
._code_2vo8f_26 {
|
|
21275
21389
|
white-space: pre-wrap !important;
|
|
21276
21390
|
word-wrap: anywhere !important;
|
|
21277
21391
|
}
|
|
21278
21392
|
|
|
21279
|
-
.
|
|
21393
|
+
._progress_2vo8f_38 {
|
|
21280
21394
|
margin-left: 0;
|
|
21281
21395
|
}
|
|
21282
21396
|
|
|
21283
|
-
.
|
|
21397
|
+
._error_2vo8f_42 {
|
|
21284
21398
|
color: var(--bs-danger);
|
|
21285
21399
|
padding: 0.5em;
|
|
21286
21400
|
border: 1px solid var(--bs-danger);
|
|
@@ -21291,7 +21405,7 @@ a._citationLink_1ggvf_9:hover {
|
|
|
21291
21405
|
margin: 0.5em 0;
|
|
21292
21406
|
}
|
|
21293
21407
|
|
|
21294
|
-
.
|
|
21408
|
+
._cancelled_2vo8f_53 {
|
|
21295
21409
|
display: flex;
|
|
21296
21410
|
align-items: center;
|
|
21297
21411
|
gap: 0.5em;
|
|
@@ -21304,36 +21418,31 @@ a._citationLink_1ggvf_9:hover {
|
|
|
21304
21418
|
margin: 0.5em 0;
|
|
21305
21419
|
}
|
|
21306
21420
|
|
|
21307
|
-
.
|
|
21421
|
+
._showAllLink_2vo8f_66 {
|
|
21308
21422
|
text-align: center;
|
|
21309
21423
|
padding: 0.5em 0 0.7em;
|
|
21310
21424
|
}
|
|
21311
21425
|
|
|
21312
|
-
.
|
|
21426
|
+
._showAllLink_2vo8f_66 a {
|
|
21313
21427
|
cursor: pointer;
|
|
21314
21428
|
color: var(--bs-secondary-color);
|
|
21315
21429
|
text-decoration: none;
|
|
21316
21430
|
}
|
|
21317
21431
|
|
|
21318
|
-
.
|
|
21432
|
+
._showAllIcon_2vo8f_77 {
|
|
21319
21433
|
margin-right: 0.35em;
|
|
21320
21434
|
}
|
|
21321
21435
|
|
|
21322
|
-
.
|
|
21436
|
+
._showAllLink_2vo8f_66 a:hover {
|
|
21323
21437
|
color: var(--bs-body-color);
|
|
21324
21438
|
text-decoration: underline;
|
|
21325
21439
|
}
|
|
21326
21440
|
|
|
21327
|
-
.
|
|
21328
|
-
display: grid;
|
|
21329
|
-
grid-template-columns: max-content minmax(0, auto);
|
|
21330
|
-
column-gap: 1em;
|
|
21331
|
-
row-gap: 0.5em;
|
|
21441
|
+
._toolConfig_2vo8f_86 {
|
|
21332
21442
|
padding-top: 0.5em;
|
|
21333
|
-
overflow-wrap: anywhere;
|
|
21334
21443
|
}
|
|
21335
21444
|
|
|
21336
|
-
.
|
|
21445
|
+
._toolChoice_2vo8f_90 {
|
|
21337
21446
|
border-top: solid var(--bs-light-border-subtle) 1px;
|
|
21338
21447
|
display: grid;
|
|
21339
21448
|
grid-template-columns: max-content minmax(0, auto);
|