@meridianlabs/log-viewer 0.3.177 → 0.3.179

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.
@@ -1 +1 @@
1
- {"version":3,"file":"useLoadSample.d.ts","sourceRoot":"","sources":["../../src/state/useLoadSample.ts"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,aAAa,SAoL5B"}
1
+ {"version":3,"file":"useLoadSample.d.ts","sourceRoot":"","sources":["../../src/state/useLoadSample.ts"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,aAAa,SAqL5B"}
@@ -14330,6 +14330,11 @@ pre[class*="language-"] {
14330
14330
  /* Inspect Glass */
14331
14331
  --inspect-glass-color: #000000;
14332
14332
  --inspect-glass-opacity: 0.3;
14333
+
14334
+ --inspect-event-panel-sticky-top: 30px;
14335
+ --inspect-event-panel-sticky-margin: -5px -10px -5px 0;
14336
+ --inspect-event-panel-sticky-stuck-margin-left: -22px;
14337
+ --inspect-event-panel-sticky-stuck-margin-right: -10px;
14333
14338
  }
14334
14339
 
14335
14340
  body:not([class^="vscode-"]) button {
@@ -14460,7 +14465,7 @@ body[class^="vscode-"] {
14460
14465
  --bs-card-bg: var(--vscode-editor-background);
14461
14466
  --bs-table-bg: var(--vscode-editor-background);
14462
14467
  --bs-light-bg-subtle: var(--vscode-sideBar-background);
14463
- --bs-light-border-subtle: var(--vscode-sideBarSectionHeader-border);
14468
+ --bs-light-border-subtle: var(--vscode-editorHoverWidget-border);
14464
14469
  --bs-body-color: var(--vscode-editor-foreground);
14465
14470
  --bs-table-color: var(--vscode-editor-foreground);
14466
14471
  --bs-accordion-btn-color: var(--vscode-editor-foreground);
@@ -14490,6 +14495,10 @@ body[class^="vscode-"] {
14490
14495
  --inspect-diff-remove-color: var(--vscode-diffEditor-removedTextBackground);
14491
14496
  --inspect-glass-color: var(--vscode-editor-foreground);
14492
14497
  --inspect-glass-opacity: 0.15;
14498
+ --inspect-event-panel-sticky-top: 25px;
14499
+ --inspect-event-panel-sticky-margin: 0px -10px -5px 0;
14500
+ --inspect-event-panel-sticky-stuck-margin-left: -19px;
14501
+ --inspect-event-panel-sticky-stuck-margin-right: -10px;
14493
14502
  }
14494
14503
 
14495
14504
  html.vscode {
@@ -17186,26 +17195,30 @@ button._segment_mhb7y_9 {
17186
17195
  ._transcriptContainer_6o9gh_58 {
17187
17196
  padding-bottom: 1em;
17188
17197
  }
17189
- ._flatBody_1cs2j_1 {
17198
+ ._body_x9ww7_1 {
17190
17199
  color: var(--bs-danger);
17191
17200
  display: grid;
17192
- grid-template-columns: max-content max-content;
17193
- column-gap: 0.2em;
17194
- margin-top: 0.4rem;
17201
+ grid-template-columns: 1fr;
17202
+ align-content: baseline;
17203
+ justify-items: center;
17195
17204
  }
17196
17205
 
17197
- ._iconSmall_1cs2j_9 {
17198
- font-size: var(--inspect-font-size-smallest);
17199
- line-height: var(--inspect-font-size-smaller);
17200
- height: var(--inspect-font-size-smaller);
17201
- margin-top: 1px;
17206
+ ._body_x9ww7_1._safe_x9ww7_9 {
17207
+ color: var(--bs-secondary);
17202
17208
  }
17203
17209
 
17204
- ._lineBase_1cs2j_16 {
17205
- font-size: var(--inspect-font-size-base);
17206
- line-height: var(--inspect-font-size-base);
17207
- height: var(--inspect-font-size-base);
17208
- max-width: 30em;
17210
+ ._iconSmall_x9ww7_13 {
17211
+ font-size: var(--inspect-font-size-small);
17212
+ line-height: var(--inspect-font-size-small);
17213
+ height: var(--inspect-font-size-small);
17214
+ }
17215
+
17216
+ ._message_x9ww7_19 {
17217
+ text-align: center;
17218
+ max-width: 100%;
17219
+ overflow: hidden;
17220
+ text-overflow: ellipsis;
17221
+ white-space: nowrap;
17209
17222
  }
17210
17223
  ._target_10p8e_1 {
17211
17224
  padding-left: 0;
@@ -17540,45 +17553,45 @@ button._segment_mhb7y_9 {
17540
17553
  ._navs_1vm6p_1 {
17541
17554
  margin-right: 0;
17542
17555
  }
17543
- ._stickyWrapper_16okh_1 {
17556
+ ._stickyWrapper_1yfru_1 {
17544
17557
  position: sticky;
17545
- /* top needs to be in sync with a hardcoded rootMargin of IntersectionObserver, negative margins are combined from multiple parents */
17546
- top: 30px;
17558
+ top: var(--inspect-event-panel-sticky-top);
17547
17559
  padding: 5px 10px 5px 0;
17548
- margin: -5px -10px -5px 0;
17560
+ margin: var(--inspect-event-panel-sticky-margin);
17549
17561
  background-color: transparent;
17550
17562
  z-index: 1;
17551
17563
  border-bottom: solid 1px transparent;
17552
17564
  border-left: solid 1px transparent;
17553
17565
  }
17554
17566
 
17555
- ._stickyWrapper_16okh_1[data-useStickyObserver-stuck] {
17567
+ ._stickyWrapper_1yfru_1[data-useStickyObserver-stuck] {
17556
17568
  background-color: var(--bs-light);
17557
17569
  padding-left: 10px;
17558
- margin-left: -22px;
17559
- margin-right: -10px;
17570
+ margin-left: var(--inspect-event-panel-sticky-stuck-margin-left);
17571
+ margin-right: var(--inspect-event-panel-sticky-stuck-margin-right);
17560
17572
  border-bottom-color: var(--bs-light-border-subtle);
17561
17573
  border-left-color: var(--bs-light-border-subtle);
17574
+ border-right-color: var(--bs-light-border-subtle);
17562
17575
  }
17563
17576
 
17564
- ._label_16okh_22 {
17577
+ ._label_1yfru_22 {
17565
17578
  margin-right: 0.2em;
17566
17579
  justify-self: end;
17567
17580
  }
17568
17581
 
17569
- ._navs_16okh_27 {
17582
+ ._navs_1yfru_27 {
17570
17583
  justify-self: end;
17571
17584
  display: flex;
17572
17585
  align-items: baseline;
17573
17586
  }
17574
17587
 
17575
- ._turnLabel_16okh_33 {
17588
+ ._turnLabel_1yfru_33 {
17576
17589
  margin-left: 0.625rem;
17577
17590
  opacity: 0.5;
17578
17591
  font-size: var(--inspect-font-size-smallest);
17579
17592
  }
17580
17593
 
17581
- ._card_16okh_39 {
17594
+ ._card_1yfru_39 {
17582
17595
  position: relative;
17583
17596
  background-color: var(--bs-body-bg);
17584
17597
  padding: 0.625rem;
@@ -17586,20 +17599,20 @@ button._segment_mhb7y_9 {
17586
17599
  border-radius: var(--bs-border-radius);
17587
17600
  }
17588
17601
 
17589
- ._cardContent_16okh_47 {
17602
+ ._cardContent_1yfru_47 {
17590
17603
  padding: 0;
17591
17604
  display: inherit;
17592
17605
  }
17593
17606
 
17594
- ._cardContent_16okh_47._hidden_16okh_52 {
17607
+ ._cardContent_1yfru_47._hidden_1yfru_52 {
17595
17608
  display: none;
17596
17609
  }
17597
17610
 
17598
- ._hidden_16okh_52 {
17611
+ ._hidden_1yfru_52 {
17599
17612
  display: none;
17600
17613
  }
17601
17614
 
17602
- ._copyLink_16okh_60 {
17615
+ ._copyLink_1yfru_60 {
17603
17616
  font-size: 1.2em;
17604
17617
  height: 1em;
17605
17618
  opacity: 0;
@@ -17607,16 +17620,16 @@ button._segment_mhb7y_9 {
17607
17620
  padding-right: 2em;
17608
17621
  }
17609
17622
 
17610
- ._hover_16okh_68 ._copyLink_16okh_60 {
17623
+ ._hover_1yfru_68 ._copyLink_1yfru_60 {
17611
17624
  opacity: 0.75;
17612
17625
  }
17613
17626
 
17614
- ._root_16okh_72 {
17627
+ ._root_1yfru_72 {
17615
17628
  background-color: var(--bs-light-bg-subtle);
17616
17629
  border-radius: unset;
17617
17630
  }
17618
17631
 
17619
- ._bottomDongle_16okh_77 {
17632
+ ._bottomDongle_1yfru_77 {
17620
17633
  display: block;
17621
17634
  position: absolute;
17622
17635
  margin: 0 auto;
@@ -17633,22 +17646,26 @@ button._segment_mhb7y_9 {
17633
17646
  cursor: pointer;
17634
17647
  }
17635
17648
 
17636
- ._dongleIcon_16okh_94 {
17649
+ ._dongleIcon_1yfru_94 {
17637
17650
  padding-right: 0.3em;
17638
17651
  }
17639
17652
  ._panel_vz394_1 {
17640
17653
  margin: 0.2em 0;
17641
17654
  }
17642
- ._grid_1eq5o_1 {
17655
+ ._grid_159mg_1 {
17643
17656
  width: 100%;
17644
17657
  display: grid;
17645
17658
  grid-template-columns: 1fr max-content;
17646
17659
  column-gap: 1em;
17647
17660
  }
17648
17661
 
17649
- ._jsonPanel_1eq5o_8 {
17662
+ ._jsonPanel_159mg_8 {
17650
17663
  padding: 0 !important;
17651
17664
  }
17665
+
17666
+ ._wrap_159mg_12 {
17667
+ overflow-wrap: anywhere;
17668
+ }
17652
17669
  ._container_1ww70_1 {
17653
17670
  margin: 1em 0 0 0;
17654
17671
  }
@@ -19163,25 +19180,7 @@ span.ap-marker-container:hover span.ap-marker {
19163
19180
  ._bodyColorButton_uvlpz_54 {
19164
19181
  background-color: var(--bs-body-bg);
19165
19182
  }
19166
- ._body_12gn4_1 {
19167
- color: var(--bs-danger);
19168
- display: grid;
19169
- grid-template-columns: 1fr;
19170
- align-content: baseline;
19171
- justify-items: center;
19172
- }
19173
-
19174
- ._iconSmall_12gn4_9 {
19175
- font-size: var(--inspect-font-size-small);
19176
- line-height: var(--inspect-font-size-small);
19177
- height: var(--inspect-font-size-small);
19178
- }
19179
-
19180
- ._message_12gn4_15 {
19181
- text-align: center;
19182
- width: 300px;
19183
- }
19184
- ._grid_1213u_1 {
19183
+ ._grid_173xh_1 {
19185
19184
  display: grid;
19186
19185
  padding-top: 1em;
19187
19186
  padding-bottom: 1em;
@@ -19191,63 +19190,67 @@ span.ap-marker-container:hover span.ap-marker {
19191
19190
  padding-left: 0.5rem;
19192
19191
  }
19193
19192
 
19194
- ._selected_1213u_11 {
19193
+ ._selected_173xh_11 {
19195
19194
  box-shadow: inset 0 0 0px 2px var(--bs-focus-ring-color);
19196
19195
  }
19197
19196
 
19198
- ._sampleLink_1213u_15:hover,
19199
- ._sampleRowLink_1213u_16:hover {
19197
+ ._sampleLink_173xh_15:hover,
19198
+ ._sampleRowLink_173xh_16:hover {
19200
19199
  text-decoration: none;
19201
19200
  color: inherit;
19202
19201
  display: block;
19203
19202
  }
19204
19203
 
19205
- ._sampleRowLink_1213u_16 {
19204
+ ._sampleRowLink_173xh_16 {
19206
19205
  text-decoration: none;
19207
19206
  color: inherit;
19208
19207
  display: block;
19209
19208
  }
19210
19209
 
19211
- ._sampleLink_1213u_15 {
19210
+ ._sampleLink_173xh_15 {
19212
19211
  text-decoration: none;
19213
19212
  color: inherit;
19214
19213
  display: block;
19215
19214
  }
19216
19215
 
19217
- ._disabledRow_1213u_34 {
19216
+ ._disabledRow_173xh_34 {
19218
19217
  cursor: not-allowed;
19219
19218
  opacity: 0.7;
19220
19219
  }
19221
19220
 
19222
- ._disabled_1213u_34 {
19221
+ ._disabled_173xh_34 {
19223
19222
  cursor: not-allowed;
19224
19223
  opacity: 0.7;
19225
19224
  }
19226
19225
 
19227
- ._cell_1213u_44 {
19226
+ ._cell_173xh_44 {
19228
19227
  padding-left: 0;
19229
19228
  padding-right: 0;
19230
19229
  }
19231
19230
 
19232
- ._wrapAnywhere_1213u_49 {
19231
+ ._wrapAnywhere_173xh_49 {
19233
19232
  word-wrap: anywhere;
19234
19233
  }
19235
19234
 
19236
- ._noLeft_1213u_53 {
19235
+ ._noLeft_173xh_53 {
19237
19236
  padding-left: 0;
19238
19237
  }
19239
19238
 
19240
- ._score_1213u_57 {
19239
+ ._score_173xh_57 {
19241
19240
  display: flex;
19242
19241
  justify-self: center;
19243
19242
  }
19244
19243
 
19245
- ._centered_1213u_62 {
19244
+ ._centered_173xh_62 {
19246
19245
  display: flex;
19247
19246
  justify-content: center;
19248
19247
  }
19249
19248
 
19250
- ._spinner_1213u_67 {
19249
+ ._error_173xh_67 {
19250
+ display: flex;
19251
+ }
19252
+
19253
+ ._spinner_173xh_71 {
19251
19254
  height: 1.4em;
19252
19255
  width: 1.4em;
19253
19256
  color: var(--bs-focus-ring-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianlabs/log-viewer",
3
- "version": "0.3.177",
3
+ "version": "0.3.179",
4
4
  "description": "Log viewer for inspect_ai logs.",
5
5
  "license": "MIT",
6
6
  "type": "module",