flexdesk 0.11.0 → 0.12.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/flexdesk.css CHANGED
@@ -706,6 +706,82 @@ body.twm-dt-col-resizing {
706
706
  .twm-preview-table tbody tr.twm-dt-row--active > td:first-child {
707
707
  box-shadow: inset 2px 0 0 0 var(--accent-bright, #007acc);
708
708
  }
709
+ /* STORY-0016 `selectToggle` / `selectMode` — the select column. Narrow, never
710
+ * the time column (it is the first child, so the time rules reach it: (0,3,2)
711
+ * here beats them), and the time styling moves to the first column after it,
712
+ * so a table looks as it did before the column was added. Its boxes show only
713
+ * in select mode; the header's toggle always. */
714
+ .twm-preview-table.twm-dt--select tr > .twm-dt-select-cell {
715
+ width: 32px;
716
+ min-width: 0;
717
+ max-width: none;
718
+ padding-left: 6px;
719
+ padding-right: 2px;
720
+ text-align: left;
721
+ color: inherit;
722
+ font-weight: inherit;
723
+ white-space: nowrap;
724
+ }
725
+ .twm-preview-table.twm-dt--select:not(.twm-dt--first-plain) tr > .twm-dt-select-cell + th,
726
+ .twm-preview-table.twm-dt--select:not(.twm-dt--first-plain) tr > .twm-dt-select-cell + td {
727
+ width: 120px;
728
+ min-width: 100px;
729
+ font-weight: 500;
730
+ color: #bbb;
731
+ }
732
+ .twm-preview-table.twm-dt--select:not(.twm-dt--first-plain) tr > th.twm-dt-select-cell + th {
733
+ font-weight: 600;
734
+ color: #aaa;
735
+ }
736
+ .twm-preview-table.twm-dt--select td.twm-dt-select-cell .twm-dt-select-box {
737
+ display: none;
738
+ margin: 0;
739
+ vertical-align: middle;
740
+ cursor: pointer;
741
+ }
742
+ .twm-preview-table.twm-dt--selecting td.twm-dt-select-cell .twm-dt-select-box {
743
+ display: inline-block;
744
+ }
745
+ .twm-preview-table.twm-dt--select th.twm-dt-select-cell .twm-dt-select-all {
746
+ margin: 0 4px 0 0;
747
+ vertical-align: middle;
748
+ cursor: pointer;
749
+ }
750
+ .twm-preview-table.twm-dt--select th.twm-dt-select-cell .twm-dt-select-toggle {
751
+ display: inline-flex;
752
+ align-items: center;
753
+ justify-content: center;
754
+ width: 20px;
755
+ height: 20px;
756
+ margin: -3px 0;
757
+ padding: 0;
758
+ border: 0;
759
+ border-radius: 3px;
760
+ background: transparent;
761
+ color: inherit;
762
+ font-size: 16px;
763
+ line-height: 1;
764
+ vertical-align: middle;
765
+ cursor: pointer;
766
+ opacity: 0.7;
767
+ }
768
+ .twm-preview-table.twm-dt--select th.twm-dt-select-cell .twm-dt-select-toggle:hover,
769
+ .twm-preview-table.twm-dt--select th.twm-dt-select-cell .twm-dt-select-toggle[aria-pressed="true"] {
770
+ opacity: 1;
771
+ background: rgba(255, 255, 255, 0.08);
772
+ }
773
+ .twm-preview-table.twm-dt--select th.twm-dt-select-cell .twm-dt-select-toggle:focus-visible {
774
+ opacity: 1;
775
+ outline: 1px solid var(--accent-bright, #007acc);
776
+ }
777
+ /* In the mode a click ticks: a pointer on every row, and the keyboard's row
778
+ * (the arrows move it, Space ticks it) drawn as an outline. */
779
+ .twm-preview-table.twm-dt--selecting tbody tr:not(.twm-dt-spacer):not(.data-table__empty-row) {
780
+ cursor: pointer;
781
+ }
782
+ .twm-preview-table.twm-dt--selecting tbody tr.twm-dt-row--cursor > td {
783
+ box-shadow: inset 0 1px 0 0 var(--accent-bright, #007acc), inset 0 -1px 0 0 var(--accent-bright, #007acc);
784
+ }
709
785
  /* `rowIcon` — drawn from `data-twm-icon` so the icon's NAME is not cell
710
786
  * text (not in a copy, not in the clipped-cell tooltip). The span carries the
711
787
  * icon font's class; the pseudo-element inherits its font and ligatures. Top
@@ -8536,7 +8612,7 @@ tr:hover .twm-row-action { opacity: 1; }
8536
8612
  /* ── the popover both pickers are drawn in ──────────────────────────── */
8537
8613
  .twm-flow-popover {
8538
8614
  position: fixed;
8539
- z-index: var(--z-popover);
8615
+ z-index: var(--z-over-windows, 7100); /* over the managed window it opened from */
8540
8616
  display: flex;
8541
8617
  flex-direction: column;
8542
8618
  box-sizing: border-box;
@@ -9863,7 +9939,7 @@ tr:hover .twm-row-action { opacity: 1; }
9863
9939
  /* the grip drag: a ghost under the pointer, and a drop line naming the place */
9864
9940
  .twm-flow-outline__ghost {
9865
9941
  position: fixed;
9866
- z-index: var(--z-popover);
9942
+ z-index: var(--z-over-windows, 7100); /* over the managed window it opened from */
9867
9943
  box-sizing: border-box;
9868
9944
  display: flex;
9869
9945
  align-items: center;
package/dist/flow.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-6EZPPN4E.js";
4
4
  import {
5
5
  DataTable
6
- } from "./chunk-6CGH73BC.js";
6
+ } from "./chunk-M2L4XW2U.js";
7
7
  import "./chunk-6JSOVNID.js";
8
8
  import "./chunk-FL5KFNQH.js";
9
9
  import {
package/dist/tiles.js CHANGED
@@ -16,8 +16,8 @@ import {
16
16
  } from "./chunk-O5OHMWBB.js";
17
17
  import {
18
18
  openRawTracesWindow
19
- } from "./chunk-EHHTKD7B.js";
20
- import "./chunk-6CGH73BC.js";
19
+ } from "./chunk-2LEJQD4H.js";
20
+ import "./chunk-M2L4XW2U.js";
21
21
  import "./chunk-6JSOVNID.js";
22
22
  import "./chunk-FL5KFNQH.js";
23
23
  import {
package/dist/tokens.css CHANGED
@@ -115,6 +115,10 @@
115
115
  --z-popover: 200;
116
116
  --z-modal: 1000;
117
117
  --z-toast: 10000;
118
+ /* What opens FROM a managed window and must draw over it: managed windows
119
+ stack from 6000 to 6999 (managed_window.js), so a popover at
120
+ --z-popover would open behind the window that opened it. */
121
+ --z-over-windows: 7100;
118
122
 
119
123
  /* ── Transitions ──────────────────────────────────────────── */
120
124
  --transition-fast: 120ms ease;
package/dist/widgets.js CHANGED
@@ -36,7 +36,7 @@ import {
36
36
  parseDateValue,
37
37
  parseDuration,
38
38
  resolvePaging
39
- } from "./chunk-6CGH73BC.js";
39
+ } from "./chunk-M2L4XW2U.js";
40
40
  import {
41
41
  ManagedWindow,
42
42
  ROW_CONTROL_SELECTOR,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexdesk",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "A tiling window manager and widget set for desktop-class web applications. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {