@pythia-software/query-table-ui 0.7.0 → 0.8.0

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/theme.css CHANGED
@@ -43,6 +43,13 @@
43
43
  text-overflow: ellipsis;
44
44
  white-space: nowrap;
45
45
  }
46
+ .qt-line-clamp {
47
+ display: -webkit-box;
48
+ -webkit-box-orient: vertical;
49
+ overflow: hidden;
50
+ white-space: pre-line;
51
+ overflow-wrap: anywhere;
52
+ }
46
53
  .qt-link {
47
54
  color: var(--qt-accent);
48
55
  text-decoration: none;
@@ -4455,6 +4462,63 @@
4455
4462
  animation: none;
4456
4463
  }
4457
4464
  }
4465
+ .qt-metric-chart-body {
4466
+ display: flex;
4467
+ flex: 1;
4468
+ flex-direction: column;
4469
+ min-width: 0;
4470
+ min-height: 0;
4471
+ position: relative;
4472
+ }
4473
+ .qt-metric-tooltip {
4474
+ display: flex;
4475
+ align-items: baseline;
4476
+ gap: .4rem;
4477
+ }
4478
+ .qt-metric-tooltip > .qt-metric-swatch {
4479
+ flex: none;
4480
+ }
4481
+ .qt-metric--compact :is(.qt-metric-legend-top, .qt-metric-legend-bottom) > .qt-metric-legend--composition {
4482
+ display: grid;
4483
+ grid-template-columns: repeat(var(--qt-metric-legend-columns,2), minmax(0, 1fr));
4484
+ flex: none;
4485
+ width: 100%;
4486
+ max-width: 100%;
4487
+ max-height: none;
4488
+ gap: .25rem .75rem;
4489
+ }
4490
+ .qt-metric--compact .qt-metric-legend li {
4491
+ display: flex;
4492
+ min-width: 0;
4493
+ font-size: .6875rem;
4494
+ }
4495
+ .qt-metric--compact .qt-metric-legend-label {
4496
+ flex: 1;
4497
+ min-width: 0;
4498
+ overflow: hidden;
4499
+ text-overflow: ellipsis;
4500
+ white-space: nowrap;
4501
+ }
4502
+ .qt-metric--compact :is(.qt-metric-legend-value, .qt-metric-legend-share) {
4503
+ flex: none;
4504
+ font-variant-numeric: tabular-nums;
4505
+ white-space: nowrap;
4506
+ }
4507
+ .qt-metric--compact .qt-metric-legend-share {
4508
+ color: var(--qt-metric-muted,var(--qt-muted,#68717d));
4509
+ }
4510
+ .qt-metric .qt-metric-inspectable {
4511
+ cursor: pointer;
4512
+ outline: none;
4513
+ border-radius: 3px;
4514
+ }
4515
+ .qt-metric .qt-metric-inspectable:hover {
4516
+ background: color-mix(in srgb, var(--qt-metric-accent, var(--qt-accent, #3979c3)) 8%, transparent);
4517
+ }
4518
+ .qt-metric .qt-metric-inspectable:focus-visible {
4519
+ outline: 2px solid var(--qt-metric-accent, var(--qt-accent, #3979c3));
4520
+ outline-offset: 2px;
4521
+ }
4458
4522
 
4459
4523
  /* src/metricsEditor.css */
4460
4524
  .qt-metrics-editor.qt-modal {
@@ -4880,6 +4944,15 @@
4880
4944
  flex-direction: column;
4881
4945
  gap: 10px;
4882
4946
  }
4947
+ .qt-metric-where {
4948
+ display: grid;
4949
+ gap: 6px;
4950
+ margin-top: 4px;
4951
+ min-width: 0;
4952
+ }
4953
+ .qt-metric-where > strong {
4954
+ font-size: 0.85em;
4955
+ }
4883
4956
  .qt-metric-scope {
4884
4957
  display: flex;
4885
4958
  background: var(--qt-header-bg, #f6f8fa);
@@ -7237,6 +7310,28 @@
7237
7310
  font-size: 12px;
7238
7311
  line-height: 1.5;
7239
7312
  }
7313
+ .qt-column-link-spec {
7314
+ display: grid;
7315
+ gap: 8px;
7316
+ margin: 8px 0 12px;
7317
+ font-size: 12px;
7318
+ }
7319
+ .qt-column-link-spec > div {
7320
+ display: grid;
7321
+ grid-template-columns: minmax(90px, max-content) minmax(0, 1fr);
7322
+ gap: 10px;
7323
+ }
7324
+ .qt-column-link-spec dt {
7325
+ color: var(--qt-muted);
7326
+ }
7327
+ .qt-column-link-spec dd {
7328
+ margin: 0;
7329
+ overflow-wrap: anywhere;
7330
+ }
7331
+ .qt-column-link > .qt-muted {
7332
+ font-size: 11px;
7333
+ line-height: 1.5;
7334
+ }
7240
7335
  .qt-column-another {
7241
7336
  margin-top: 18px;
7242
7337
  font-size: 12px;
@@ -7706,6 +7801,23 @@
7706
7801
  width: 100%;
7707
7802
  box-sizing: border-box;
7708
7803
  }
7804
+ .qt-column-format-controls {
7805
+ display: flex;
7806
+ flex-wrap: wrap;
7807
+ gap: 6px;
7808
+ }
7809
+ .qt-column-format-controls select {
7810
+ flex: 1 1 110px;
7811
+ min-width: 0;
7812
+ }
7813
+ .qt-column-format-controls input {
7814
+ flex: 0 0 72px;
7815
+ width: 72px;
7816
+ box-sizing: border-box;
7817
+ }
7818
+ .qt-column-format + .qt-column-custom-choice {
7819
+ margin-top: 12px;
7820
+ }
7709
7821
  .qt-column-formula .qt-formula-editor {
7710
7822
  min-width: 0;
7711
7823
  }