flexdesk 0.6.3 → 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/README.md +339 -0
- package/css/base.css +408 -0
- package/css/flexdesk.css +408 -0
- package/dist/charts.js +2 -2
- package/dist/{chunk-WLASPRGP.js → chunk-JLCJWCRS.js} +1577 -56
- package/dist/chunk-JLCJWCRS.js.map +7 -0
- package/dist/{chunk-WAVLVXYV.js → chunk-WKTYKXWF.js} +2 -2
- package/dist/flexdesk.css +408 -0
- package/dist/flow.js +24 -8
- package/dist/flow.js.map +2 -2
- package/dist/tiles.js +2 -2
- package/dist/widgets.js +672 -1
- package/dist/widgets.js.map +4 -4
- package/dist/wm.js +86 -13
- package/dist/wm.js.map +2 -2
- package/package.json +1 -1
- package/src/flow/outline/editor.js +46 -8
- package/src/tiling/shell.js +6 -2
- package/src/tiling/tile_renderer.js +116 -18
- package/src/tiling/wm.js +24 -0
- package/src/ui/components/data_table.js +1650 -66
- package/src/ui/components/fact_table.js +342 -0
- package/src/ui/components/record_list.js +594 -0
- package/src/ui/components/table_filter_chips.js +153 -0
- package/dist/chunk-WLASPRGP.js.map +0 -7
- /package/dist/{chunk-WAVLVXYV.js.map → chunk-WKTYKXWF.js.map} +0 -0
package/css/flexdesk.css
CHANGED
|
@@ -555,6 +555,18 @@ body.twm-dt-col-resizing {
|
|
|
555
555
|
.twm-preview-table.twm-dt-measuring .twm-data-table__filter-row {
|
|
556
556
|
display: none !important;
|
|
557
557
|
}
|
|
558
|
+
/* 0.7.0 `filterKinds`: a filter row holding a CONTROL stays in the measure,
|
|
559
|
+
* its text boxes out of it, and each control at its NARROWEST (the widest
|
|
560
|
+
* chip) — so a column is never narrower than one of its chips. */
|
|
561
|
+
.twm-preview-table.twm-dt-measuring .twm-data-table__filter-row.twm-data-table__filter-row--controls {
|
|
562
|
+
display: table-row !important;
|
|
563
|
+
}
|
|
564
|
+
.twm-preview-table.twm-dt-measuring .twm-data-table__filter-row--controls .twm-data-table__filter-wrapper {
|
|
565
|
+
display: none !important;
|
|
566
|
+
}
|
|
567
|
+
.twm-preview-table.twm-dt-measuring th.data-table__filter-cell--control > * {
|
|
568
|
+
width: min-content !important;
|
|
569
|
+
}
|
|
558
570
|
/* ── C10. The virtual window (`DataTable` with `virtualize`) ─────────────
|
|
559
571
|
* The column track is a `<colgroup>` (see `_createTable`), so it is the
|
|
560
572
|
* `<col>` widths the measuring pass has to lift — the same `!important` it
|
|
@@ -779,6 +791,145 @@ body.twm-dt-col-resizing {
|
|
|
779
791
|
font-size: 16px;
|
|
780
792
|
line-height: 1;
|
|
781
793
|
}
|
|
794
|
+
/* ── 0.7.0 DataTable options. Each rule below matches only a class a 0.7.0
|
|
795
|
+
* option sets, so a table that asks for none of them is styled exactly as in
|
|
796
|
+
* 0.6. ─────────────────────────────────────────────────────────────────── */
|
|
797
|
+
/* `rowDetail` — the toggle. Its chevron is drawn by CSS from the icon font
|
|
798
|
+
* (the button carries its class), so the cell's text, its clipped-cell
|
|
799
|
+
* tooltip and a copy stay the cell's own; turned down while open. Negative
|
|
800
|
+
* block margins on a line height of 1: it cannot make its row taller. */
|
|
801
|
+
.twm-preview-table td .twm-dt-detail-toggle {
|
|
802
|
+
display: inline-flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
justify-content: center;
|
|
805
|
+
width: 18px;
|
|
806
|
+
height: 18px;
|
|
807
|
+
margin: -2px 4px -2px -2px;
|
|
808
|
+
padding: 0;
|
|
809
|
+
border: 0;
|
|
810
|
+
border-radius: 3px;
|
|
811
|
+
background: transparent;
|
|
812
|
+
color: inherit;
|
|
813
|
+
font-size: 16px;
|
|
814
|
+
line-height: 1;
|
|
815
|
+
vertical-align: top;
|
|
816
|
+
cursor: pointer;
|
|
817
|
+
opacity: 0.75;
|
|
818
|
+
}
|
|
819
|
+
.twm-preview-table td .twm-dt-detail-toggle-gap {
|
|
820
|
+
display: inline-block;
|
|
821
|
+
width: 18px;
|
|
822
|
+
margin: 0 4px 0 -2px;
|
|
823
|
+
vertical-align: top;
|
|
824
|
+
}
|
|
825
|
+
.twm-preview-table td .twm-dt-detail-toggle::before {
|
|
826
|
+
content: 'chevron_right';
|
|
827
|
+
transition: transform 0.12s ease;
|
|
828
|
+
}
|
|
829
|
+
.twm-preview-table td .twm-dt-detail-toggle[aria-expanded="true"]::before {
|
|
830
|
+
transform: rotate(90deg);
|
|
831
|
+
}
|
|
832
|
+
.twm-preview-table td .twm-dt-detail-toggle:hover {
|
|
833
|
+
opacity: 1;
|
|
834
|
+
background: rgba(255, 255, 255, 0.08);
|
|
835
|
+
}
|
|
836
|
+
.twm-preview-table td .twm-dt-detail-toggle:focus-visible {
|
|
837
|
+
opacity: 1;
|
|
838
|
+
outline: 1px solid var(--accent-bright, #007acc);
|
|
839
|
+
}
|
|
840
|
+
/* The detail's row: one cell across every column. It is often the body's
|
|
841
|
+
* FIRST cell of its row, so the time column's rules reach it (see the note
|
|
842
|
+
* above the NULL rule) — hence (0,4,3): the wrapper and `tbody` in front. It
|
|
843
|
+
* wraps, it is not clipped, it is not a thing to press (a clickable table's
|
|
844
|
+
* pointer and hover stop at it), and its content does not set the columns'
|
|
845
|
+
* widths (`contain: inline-size`, and it is out of the measuring pass). */
|
|
846
|
+
.twm-data-table-component .twm-preview-table tbody tr.twm-dt-detail-row > td.twm-dt-detail-cell,
|
|
847
|
+
.twm-data-table-component .twm-preview-table tbody tr.twm-dt-detail-row:not(.twm-dt-spacer):not(.data-table__empty-row):hover > td.twm-dt-detail-cell {
|
|
848
|
+
width: auto;
|
|
849
|
+
min-width: 0;
|
|
850
|
+
max-width: none;
|
|
851
|
+
padding: 6px 10px 8px 28px;
|
|
852
|
+
white-space: normal;
|
|
853
|
+
overflow: visible;
|
|
854
|
+
text-overflow: clip;
|
|
855
|
+
font-family: inherit;
|
|
856
|
+
font-weight: normal;
|
|
857
|
+
color: inherit;
|
|
858
|
+
cursor: auto;
|
|
859
|
+
background: var(--twm-dt-detail-bg, rgba(255, 255, 255, 0.025));
|
|
860
|
+
}
|
|
861
|
+
.twm-dt-detail {
|
|
862
|
+
contain: inline-size;
|
|
863
|
+
overflow: auto;
|
|
864
|
+
user-select: text;
|
|
865
|
+
}
|
|
866
|
+
.twm-preview-table.twm-dt-measuring tr.twm-dt-detail-row {
|
|
867
|
+
display: none !important;
|
|
868
|
+
}
|
|
869
|
+
/* `follow` / `refresh()` — a row the last answer did not have, for a moment. */
|
|
870
|
+
@keyframes twm-dt-row-new {
|
|
871
|
+
from { background: var(--twm-dt-new-bg, rgba(0, 122, 204, 0.22)); }
|
|
872
|
+
to { background: transparent; }
|
|
873
|
+
}
|
|
874
|
+
.twm-preview-table tbody tr.twm-dt-row--new > td {
|
|
875
|
+
animation: twm-dt-row-new 1.6s ease-out;
|
|
876
|
+
}
|
|
877
|
+
/* `pagerLabels` — a pager button with its word beside its glyph. */
|
|
878
|
+
.twm-pagination-btn .twm-pagination-btn__label {
|
|
879
|
+
margin-left: 2px;
|
|
880
|
+
font-size: 10px;
|
|
881
|
+
white-space: nowrap;
|
|
882
|
+
}
|
|
883
|
+
/* `filterKinds` — a filter cell holding a control rather than the text box,
|
|
884
|
+
* and the built-in chips. Wraps rather than clipping its control. */
|
|
885
|
+
.twm-preview-table th.data-table__filter-cell--control {
|
|
886
|
+
white-space: normal;
|
|
887
|
+
overflow: visible;
|
|
888
|
+
}
|
|
889
|
+
.twm-dt-filter-chips {
|
|
890
|
+
display: flex;
|
|
891
|
+
flex-wrap: wrap;
|
|
892
|
+
align-items: center;
|
|
893
|
+
gap: 3px;
|
|
894
|
+
}
|
|
895
|
+
.twm-dt-filter-chip {
|
|
896
|
+
display: inline-flex;
|
|
897
|
+
align-items: center;
|
|
898
|
+
gap: 3px;
|
|
899
|
+
height: 20px;
|
|
900
|
+
padding: 0 7px 0 5px;
|
|
901
|
+
border: 1px solid var(--border-default, #3a3a3a);
|
|
902
|
+
border-radius: 10px;
|
|
903
|
+
background: transparent;
|
|
904
|
+
color: #aaa;
|
|
905
|
+
font: inherit;
|
|
906
|
+
font-size: 11px;
|
|
907
|
+
font-weight: normal;
|
|
908
|
+
line-height: 1;
|
|
909
|
+
cursor: pointer;
|
|
910
|
+
}
|
|
911
|
+
.twm-dt-filter-chip:hover {
|
|
912
|
+
background: rgba(255, 255, 255, 0.06);
|
|
913
|
+
}
|
|
914
|
+
.twm-dt-filter-chip:focus-visible {
|
|
915
|
+
outline: 1px solid var(--accent-bright, #007acc);
|
|
916
|
+
}
|
|
917
|
+
.twm-dt-filter-chip.twm-dt-filter-chip--on {
|
|
918
|
+
border-color: var(--accent-bright, #007acc);
|
|
919
|
+
background: rgba(0, 122, 204, 0.18);
|
|
920
|
+
color: #ddd;
|
|
921
|
+
}
|
|
922
|
+
.twm-dt-filter-chip.twm-dt-filter-chip--empty {
|
|
923
|
+
opacity: 0.5;
|
|
924
|
+
}
|
|
925
|
+
.twm-dt-filter-chip .twm-dt-filter-chip__icon {
|
|
926
|
+
font-size: 14px;
|
|
927
|
+
line-height: 1;
|
|
928
|
+
}
|
|
929
|
+
.twm-dt-filter-chip .twm-dt-filter-chip__count {
|
|
930
|
+
color: #888;
|
|
931
|
+
font-variant-numeric: tabular-nums;
|
|
932
|
+
}
|
|
782
933
|
/* Wizard mode: uniform column widths, no selection */
|
|
783
934
|
.twm-preview-table-wrap--wizard .twm-preview-table {
|
|
784
935
|
table-layout: auto;
|
|
@@ -5820,6 +5971,81 @@ body.twm-dragging * { user-select: none; }
|
|
|
5820
5971
|
* strip is pushed off the bottom edge. */
|
|
5821
5972
|
.twm-window-body { flex: 1 1 auto; min-height: 0; min-width: 0; }
|
|
5822
5973
|
|
|
5974
|
+
|
|
5975
|
+
/* ══ C38. THE TABS ARE THE TITLE ═════════════════════════════════════
|
|
5976
|
+
*
|
|
5977
|
+
* `tabLayout: 'header'` mounts the same strip INSIDE the chrome, in place of
|
|
5978
|
+
* the title, on every content tile (`tile_renderer.js`, C38). The renderer
|
|
5979
|
+
* marks such a leaf `twm-leaf--tabs-in-header`; a panel, which has no tabs,
|
|
5980
|
+
* is not marked and keeps its title.
|
|
5981
|
+
*
|
|
5982
|
+
* Every selector here is two classes or more, so none of it depends on
|
|
5983
|
+
* whether this sheet or the one holding `.twm-leaf__chrome` loads first.
|
|
5984
|
+
*
|
|
5985
|
+
* The chrome grows to the editor strip's 26px rather than the strip shrinking
|
|
5986
|
+
* to 22: one 26px row replaces a 22px row plus a 26px one. */
|
|
5987
|
+
.twm-leaf--tabs-in-header > .twm-leaf__chrome {
|
|
5988
|
+
height: 26px;
|
|
5989
|
+
padding-left: 0;
|
|
5990
|
+
gap: var(--space-sm);
|
|
5991
|
+
}
|
|
5992
|
+
.twm-leaf--tabs-in-header > .twm-leaf__chrome > .twm-leaf__title,
|
|
5993
|
+
.twm-leaf--tabs-in-header > .twm-leaf__chrome > .twm-leaf__icon.material-symbols-outlined {
|
|
5994
|
+
display: none;
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
/* The strip takes the room the title had, and the actions keep the right. */
|
|
5998
|
+
.twm-leaf__tabbar.twm-leaf__tabbar--header {
|
|
5999
|
+
flex: 1 1 auto;
|
|
6000
|
+
align-self: stretch;
|
|
6001
|
+
min-width: 0;
|
|
6002
|
+
height: auto;
|
|
6003
|
+
padding: 0;
|
|
6004
|
+
border: none;
|
|
6005
|
+
background: transparent;
|
|
6006
|
+
overflow: hidden;
|
|
6007
|
+
}
|
|
6008
|
+
|
|
6009
|
+
/* `0 1 auto`, not the top strip's `1 1 auto`: the list is only as wide as
|
|
6010
|
+
* its tabs, so the `+` sits right after the last one rather than at the far
|
|
6011
|
+
* end of the chrome. It still shrinks, and scrolls, when the tabs outgrow it. */
|
|
6012
|
+
.twm-leaf__tabbar--header > .tabs.notebook-tabs {
|
|
6013
|
+
flex: 0 1 auto;
|
|
6014
|
+
min-width: 0;
|
|
6015
|
+
background: transparent;
|
|
6016
|
+
}
|
|
6017
|
+
|
|
6018
|
+
/* An inactive tab is the chrome's colour, focused or not, so the active one —
|
|
6019
|
+
* the body's colour — is the only box in the row. */
|
|
6020
|
+
.twm-leaf__tabbar--header .notebook-tabs > .tab:not(.active) { background: transparent; }
|
|
6021
|
+
.twm-leaf__tabbar--header .notebook-tabs > .tab:not(.active):hover {
|
|
6022
|
+
background: var(--state-hover);
|
|
6023
|
+
color: var(--text-primary);
|
|
6024
|
+
}
|
|
6025
|
+
|
|
6026
|
+
.twm-leaf__tabbar--header > .twm-leaf__tab-new {
|
|
6027
|
+
flex: 0 0 auto;
|
|
6028
|
+
display: inline-flex;
|
|
6029
|
+
align-items: center;
|
|
6030
|
+
justify-content: center;
|
|
6031
|
+
width: 24px;
|
|
6032
|
+
padding: 0;
|
|
6033
|
+
background: transparent;
|
|
6034
|
+
border: none;
|
|
6035
|
+
border-radius: 0;
|
|
6036
|
+
color: var(--text-muted);
|
|
6037
|
+
cursor: pointer;
|
|
6038
|
+
}
|
|
6039
|
+
.twm-leaf__tabbar--header > .twm-leaf__tab-new:hover {
|
|
6040
|
+
background: var(--state-hover);
|
|
6041
|
+
color: var(--text-primary);
|
|
6042
|
+
}
|
|
6043
|
+
/* Two classes, for the Material Symbols tie — see `.twm-leaf__icon`. */
|
|
6044
|
+
.twm-leaf__tab-new .material-symbols-outlined {
|
|
6045
|
+
font-size: 16px;
|
|
6046
|
+
line-height: 1;
|
|
6047
|
+
}
|
|
6048
|
+
|
|
5823
6049
|
/* ══ NotebookTabBar ══════════════════════════════════════════════════
|
|
5824
6050
|
*
|
|
5825
6051
|
* A CLASS ONE SIDE KNOWS AND THE OTHER HAD NEVER HEARD OF — the fifth in this
|
|
@@ -7459,6 +7685,188 @@ tr:hover .twm-row-action { opacity: 1; }
|
|
|
7459
7685
|
}
|
|
7460
7686
|
|
|
7461
7687
|
|
|
7688
|
+
/* ══ RECORD LIST & FACT SHEET (0.7.0) ══════════════════════════════════
|
|
7689
|
+
* `createRecordList` (src/ui/components/record_list.js) and
|
|
7690
|
+
* `createFactTable` (src/ui/components/fact_table.js). Neither has a height
|
|
7691
|
+
* of its own: each is exactly as tall as its records, in any parent. */
|
|
7692
|
+
|
|
7693
|
+
/* ── the record list ── */
|
|
7694
|
+
.twm-record-list { display: block; min-width: 0; }
|
|
7695
|
+
.twm-record-list__items {
|
|
7696
|
+
list-style: none;
|
|
7697
|
+
margin: 0;
|
|
7698
|
+
padding: 0;
|
|
7699
|
+
display: flex;
|
|
7700
|
+
flex-direction: column;
|
|
7701
|
+
}
|
|
7702
|
+
/* A record is one flex row that WRAPS: on a narrow host the pills and verbs
|
|
7703
|
+
* go under the name rather than squeezing it to nothing. */
|
|
7704
|
+
.twm-record {
|
|
7705
|
+
display: flex;
|
|
7706
|
+
flex-wrap: wrap;
|
|
7707
|
+
align-items: center;
|
|
7708
|
+
gap: 4px 10px;
|
|
7709
|
+
padding: 7px 6px;
|
|
7710
|
+
border-bottom: 1px solid var(--border-subtle, #2a2a2a);
|
|
7711
|
+
min-width: 0;
|
|
7712
|
+
}
|
|
7713
|
+
.twm-record:last-child { border-bottom: none; }
|
|
7714
|
+
.twm-record__main {
|
|
7715
|
+
flex: 1 1 14em;
|
|
7716
|
+
min-width: 0;
|
|
7717
|
+
display: flex;
|
|
7718
|
+
flex-direction: column;
|
|
7719
|
+
gap: 2px;
|
|
7720
|
+
}
|
|
7721
|
+
.twm-record__name {
|
|
7722
|
+
color: var(--text-primary, #e0e0e0);
|
|
7723
|
+
overflow-wrap: anywhere;
|
|
7724
|
+
}
|
|
7725
|
+
.twm-record__name--mono { font-family: var(--font-family-mono, monospace); font-size: 0.95em; }
|
|
7726
|
+
/* The quiet line. It wraps by default; `facts: 'ellipsis'` keeps it to one
|
|
7727
|
+
* line and puts the whole of it on the line's title. */
|
|
7728
|
+
.twm-record__facts {
|
|
7729
|
+
color: var(--text-muted, #888);
|
|
7730
|
+
font-size: var(--ea-font-body, 11px);
|
|
7731
|
+
overflow-wrap: anywhere;
|
|
7732
|
+
}
|
|
7733
|
+
.twm-record-list--clip .twm-record__facts {
|
|
7734
|
+
white-space: nowrap;
|
|
7735
|
+
overflow: hidden;
|
|
7736
|
+
text-overflow: ellipsis;
|
|
7737
|
+
}
|
|
7738
|
+
.twm-record__error {
|
|
7739
|
+
color: var(--color-danger, #c74e4e);
|
|
7740
|
+
font-size: var(--ea-font-body, 11px);
|
|
7741
|
+
overflow-wrap: anywhere;
|
|
7742
|
+
}
|
|
7743
|
+
/* A refused verb's reason, ON the screen — never only on a tooltip. */
|
|
7744
|
+
.twm-record__refusals { display: flex; flex-direction: column; gap: 1px; }
|
|
7745
|
+
.twm-record__refusal {
|
|
7746
|
+
color: var(--color-warning, #ff9800);
|
|
7747
|
+
font-size: var(--ea-font-small, 10px);
|
|
7748
|
+
overflow-wrap: anywhere;
|
|
7749
|
+
}
|
|
7750
|
+
.twm-record__pills,
|
|
7751
|
+
.twm-record__verbs {
|
|
7752
|
+
flex: 0 0 auto;
|
|
7753
|
+
display: flex;
|
|
7754
|
+
flex-wrap: wrap;
|
|
7755
|
+
align-items: center;
|
|
7756
|
+
justify-content: flex-end;
|
|
7757
|
+
gap: 4px 6px;
|
|
7758
|
+
margin-left: auto;
|
|
7759
|
+
}
|
|
7760
|
+
.twm-record__pill {
|
|
7761
|
+
display: inline-block;
|
|
7762
|
+
padding: 1px 7px;
|
|
7763
|
+
border-radius: var(--radius-pill, 999px);
|
|
7764
|
+
background: var(--surface-3, #3c3c3c);
|
|
7765
|
+
color: var(--text-muted, #888);
|
|
7766
|
+
font-size: var(--ea-font-small, 10px);
|
|
7767
|
+
line-height: 16px;
|
|
7768
|
+
white-space: nowrap;
|
|
7769
|
+
}
|
|
7770
|
+
.twm-record__pill--info { background: rgba(33, 150, 243, 0.16); color: var(--color-info, #2196f3); }
|
|
7771
|
+
.twm-record__pill--success { background: rgba(63, 185, 80, 0.16); color: var(--color-success, #3fb950); }
|
|
7772
|
+
.twm-record__pill--warn { background: rgba(255, 152, 0, 0.16); color: var(--color-warning, #ff9800); }
|
|
7773
|
+
.twm-record__pill--danger { background: rgba(199, 78, 78, 0.18); color: var(--color-danger, #c74e4e); }
|
|
7774
|
+
.twm-record__pill--muted { background: transparent; color: var(--text-dim, #666); box-shadow: inset 0 0 0 1px var(--border-strong, #383838); }
|
|
7775
|
+
.twm-record__verb-icon.material-symbols-outlined { font-size: 14px; line-height: 1; }
|
|
7776
|
+
/* States. A paused or switched-off record dims its words and pills and NOT
|
|
7777
|
+
* its verbs: the verb that brings it back has to stay readable. A dead or
|
|
7778
|
+
* failing one carries the danger colour on its left edge. */
|
|
7779
|
+
.twm-record--state-paused > .twm-record__main,
|
|
7780
|
+
.twm-record--state-paused > .twm-record__pills,
|
|
7781
|
+
.twm-record--state-off > .twm-record__main,
|
|
7782
|
+
.twm-record--state-off > .twm-record__pills,
|
|
7783
|
+
.twm-record--state-dead > .twm-record__main,
|
|
7784
|
+
.twm-record--state-dead > .twm-record__pills { opacity: 0.55; }
|
|
7785
|
+
.twm-record--state-dead,
|
|
7786
|
+
.twm-record--state-error { box-shadow: inset 2px 0 0 0 var(--color-danger, #c74e4e); }
|
|
7787
|
+
/* `activeKey` — the record that is OPEN: the accent on the left edge, as
|
|
7788
|
+
* DataTable's `twm-dt-row--active`. It wins over a state's edge. */
|
|
7789
|
+
.twm-record.twm-record--active { box-shadow: inset 2px 0 0 0 var(--accent-bright, #007acc); }
|
|
7790
|
+
.twm-record-list--clickable .twm-record { cursor: pointer; }
|
|
7791
|
+
.twm-record-list--clickable .twm-record:hover { background: var(--state-hover, rgba(255, 255, 255, 0.05)); }
|
|
7792
|
+
.twm-record:focus { outline: none; }
|
|
7793
|
+
.twm-record:focus-visible {
|
|
7794
|
+
outline: 1px solid var(--accent-bright, #007acc);
|
|
7795
|
+
outline-offset: -1px;
|
|
7796
|
+
}
|
|
7797
|
+
.twm-record-list__empty {
|
|
7798
|
+
margin: 0;
|
|
7799
|
+
padding: 12px 6px;
|
|
7800
|
+
color: var(--text-muted, #888);
|
|
7801
|
+
font-size: var(--ea-font-body, 11px);
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7804
|
+
/* ── the fact sheet ── */
|
|
7805
|
+
.twm-facts {
|
|
7806
|
+
width: 100%;
|
|
7807
|
+
border-collapse: collapse;
|
|
7808
|
+
table-layout: auto;
|
|
7809
|
+
font-size: var(--font-size-sm, 12px);
|
|
7810
|
+
}
|
|
7811
|
+
.twm-facts thead th {
|
|
7812
|
+
text-align: left;
|
|
7813
|
+
font-size: var(--ea-font-small, 10px);
|
|
7814
|
+
font-weight: 600;
|
|
7815
|
+
letter-spacing: 0.06em;
|
|
7816
|
+
text-transform: uppercase;
|
|
7817
|
+
color: var(--text-dim, #666);
|
|
7818
|
+
white-space: nowrap;
|
|
7819
|
+
border-bottom: 1px solid var(--border-default, #303030);
|
|
7820
|
+
padding: 0 12px 6px 0;
|
|
7821
|
+
}
|
|
7822
|
+
/* Every value WRAPS and keeps its own line breaks: nothing is cut off. */
|
|
7823
|
+
.twm-facts tbody td,
|
|
7824
|
+
.twm-facts tbody th {
|
|
7825
|
+
text-align: left;
|
|
7826
|
+
font-weight: normal;
|
|
7827
|
+
border-bottom: 1px solid var(--border-subtle, #2a2a2a);
|
|
7828
|
+
padding: 6px 12px 6px 0;
|
|
7829
|
+
color: var(--text-primary, #e0e0e0);
|
|
7830
|
+
vertical-align: top;
|
|
7831
|
+
white-space: pre-wrap;
|
|
7832
|
+
overflow-wrap: anywhere;
|
|
7833
|
+
}
|
|
7834
|
+
.twm-facts tbody tr:last-child > td,
|
|
7835
|
+
.twm-facts tbody tr:last-child > th { border-bottom: 0; }
|
|
7836
|
+
.twm-facts tbody th.twm-facts__label {
|
|
7837
|
+
color: var(--text-muted, #888);
|
|
7838
|
+
white-space: nowrap;
|
|
7839
|
+
}
|
|
7840
|
+
.twm-facts.twm-facts--wrap-labels tbody th.twm-facts__label { white-space: normal; }
|
|
7841
|
+
/* `wrap: 'words'` — a value wraps at spaces only, and a long word stays
|
|
7842
|
+
* whole: the sheet grows wider and a sideways scroller around it scrolls.
|
|
7843
|
+
* `wrap: 'none'` — a value keeps its own line breaks and no others. */
|
|
7844
|
+
.twm-facts.twm-facts--wrap-words tbody td,
|
|
7845
|
+
.twm-facts.twm-facts--wrap-words tbody th { overflow-wrap: normal; word-break: normal; }
|
|
7846
|
+
.twm-facts.twm-facts--wrap-none tbody td,
|
|
7847
|
+
.twm-facts.twm-facts--wrap-none tbody th { white-space: pre; overflow-wrap: normal; word-break: normal; }
|
|
7848
|
+
.twm-facts.twm-facts--mono tbody td.twm-facts__value,
|
|
7849
|
+
.twm-facts tbody td.twm-facts__mono { font-family: var(--font-family-mono, monospace); font-size: 0.95em; }
|
|
7850
|
+
.twm-facts .twm-facts__num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
7851
|
+
.twm-facts tbody td.twm-facts__null,
|
|
7852
|
+
.twm-facts tbody td.twm-facts__missing { color: var(--text-dim, #666); font-style: italic; }
|
|
7853
|
+
.twm-facts tbody td.twm-facts__arrow {
|
|
7854
|
+
color: var(--text-dim, #666);
|
|
7855
|
+
white-space: nowrap;
|
|
7856
|
+
width: 1%;
|
|
7857
|
+
}
|
|
7858
|
+
.twm-facts tbody tr.twm-facts__row--changed > td.twm-facts__before { color: var(--text-muted, #888); }
|
|
7859
|
+
.twm-facts tbody tr.twm-facts__row--changed > td.twm-facts__arrow { color: var(--color-warning, #ff9800); }
|
|
7860
|
+
.twm-facts tbody tr.twm-facts__row--same > td { color: var(--text-muted, #888); }
|
|
7861
|
+
.twm-facts tbody tr.twm-facts__row--added > td.twm-facts__after { color: var(--color-success, #3fb950); }
|
|
7862
|
+
.twm-facts tbody tr.twm-facts__row--removed > td.twm-facts__before { color: var(--color-danger, #c74e4e); }
|
|
7863
|
+
.twm-facts tbody td.twm-facts__empty {
|
|
7864
|
+
padding: 12px 0;
|
|
7865
|
+
color: var(--text-muted, #888);
|
|
7866
|
+
white-space: normal;
|
|
7867
|
+
}
|
|
7868
|
+
/* ══ end RECORD LIST & FACT SHEET ══ */
|
|
7869
|
+
|
|
7462
7870
|
/* ══ FLOW · KIT ═══════════════════════════════════════════════════════ */
|
|
7463
7871
|
/* The shared flow-editor kit (36 §3, §3.12): the settings panel and its
|
|
7464
7872
|
* fields, the generic widgets, reference chips and the chip input, the two
|
package/dist/charts.js
CHANGED
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
setPlotlySource,
|
|
40
40
|
uid,
|
|
41
41
|
updateChart
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WKTYKXWF.js";
|
|
43
43
|
import {
|
|
44
44
|
createRafResizeObserver
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JLCJWCRS.js";
|
|
46
46
|
import {
|
|
47
47
|
ManagedWindow
|
|
48
48
|
} from "./chunk-6JSOVNID.js";
|