wenay-react2 1.0.49 → 1.0.51
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 +14 -14
- package/doc/EXAMPLE_USAGE.md +48 -0
- package/doc/PROJECT_FUNCTIONALITY.md +13 -2
- package/doc/PROJECT_RULES.md +27 -27
- package/doc/WENAY_REACT2_RENAMES.md +170 -170
- package/doc/changes/v1.0.41.md +35 -35
- package/doc/changes/v1.0.42.md +26 -26
- package/doc/changes/v1.0.43.md +10 -10
- package/doc/changes/v1.0.44.md +14 -14
- package/doc/changes/v1.0.45.md +8 -8
- package/doc/changes/v1.0.46.md +11 -11
- package/doc/changes/v1.0.47.md +9 -9
- package/doc/changes/v1.0.48.md +8 -8
- package/doc/changes/v1.0.49.md +7 -7
- package/doc/changes/v1.0.50.md +7 -0
- package/doc/changes/v1.0.51.md +10 -0
- package/doc/examples/README.md +1 -1
- package/doc/examples/conference-client.html +34 -34
- package/doc/examples/conference-client.ts +212 -212
- package/doc/examples/conference-server.mjs +150 -150
- package/doc/examples/peer-call-media.tsx +7 -7
- package/doc/examples/stand.tsx +5 -5
- package/doc/native.md +37 -37
- package/doc/progress/README.md +13 -13
- package/doc/progress/architecture-fix-queue.md +74 -74
- package/doc/progress/column-state-present-gate.md +28 -28
- package/doc/progress/common2-adoption-1.0.73.md +28 -28
- package/doc/progress/common2-adoption-1.0.74.md +24 -24
- package/doc/progress/common2-adoption-1.0.75.md +120 -0
- package/doc/progress/hook-controller-opportunities.md +363 -363
- package/doc/progress/hook-extraction-audit.md +195 -195
- package/doc/progress/public-surface-normalization.md +351 -351
- package/doc/progress/qa-stand-walkthrough-2026-07-12.md +62 -62
- package/doc/progress/stand-as-examples-audit.md +20 -20
- package/doc/progress/style-system-normalization.md +121 -121
- package/doc/target/README.md +32 -32
- package/doc/target/my.md +11 -3
- package/doc/wenay-react2-rare.md +11 -7
- package/doc/wenay-react2.md +2 -2
- package/lib/common/src/grid/agGrid4/core.js +7 -2
- package/lib/common/src/hooks/useReplay.js +13 -2
- package/lib/common/src/logs/logs.d.ts +4 -1
- package/lib/common/src/logs/logs.js +19 -11
- package/lib/common/testUseReact/replayVideo.d.ts +5 -0
- package/lib/common/testUseReact/replayVideo.js +98 -1
- package/lib/style/menuRight.css +19 -19
- package/lib/style/style.css +23 -23
- package/lib/style/tokens.css +184 -184
- package/package.json +54 -54
- package/doc/changes/v1.0.35.md +0 -26
- package/doc/changes/v1.0.37.md +0 -13
- package/doc/changes/v1.0.38.md +0 -48
- package/doc/changes/v1.0.39.md +0 -35
- package/doc/changes/v1.0.40.md +0 -15
package/lib/style/tokens.css
CHANGED
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
/* Shared library design tokens. Values are collected from style.css and menuRight.css
|
|
2
|
-
without changes. TS mirror for inline styles and ag-grid themes - src/common/src/styles/tokens.ts */
|
|
3
|
-
:root {
|
|
4
|
-
/* Main background colors */
|
|
5
|
-
--color-bg-dark: #131821;
|
|
6
|
-
--color-bg-light: #17202e;
|
|
7
|
-
|
|
8
|
-
/* Scroll */
|
|
9
|
-
--color-scrollbar-track: rgba(255, 255, 255, 0);
|
|
10
|
-
--color-scrollbar-thumb: #1d262c;
|
|
11
|
-
/* alternative for MSTradeScroll */
|
|
12
|
-
--color-scrollbar-thumb-alt: #4c4562;
|
|
13
|
-
|
|
14
|
-
/* Main text/outline colors */
|
|
15
|
-
--color-text-base: #c4c4c4;
|
|
16
|
-
--color-text-theme: #5D9FFA;
|
|
17
|
-
--color-border-common: rgb(50, 62, 71);
|
|
18
|
-
|
|
19
|
-
/* Menu base */
|
|
20
|
-
--base-border: 1px solid rgba(255, 255, 255, 0.41);
|
|
21
|
-
--base-color-hover: #fff;
|
|
22
|
-
|
|
23
|
-
/* Menu */
|
|
24
|
-
--menu-bg-color: #0c0c0c;
|
|
25
|
-
--menu-blur: 0px;
|
|
26
|
-
--menu-border: var(--base-border);
|
|
27
|
-
--menu-item-color: var(--base-color-hover);
|
|
28
|
-
--menu-item-active-bg-color: #262626;
|
|
29
|
-
--menu-item-active-color: var(--base-color-hover);
|
|
30
|
-
--menu-active-background: var(--menu-item-active-bg-color);
|
|
31
|
-
--menu-item-hover-color: #101010;
|
|
32
|
-
--menu-item-hover-bg-color: var(--base-color-hover);
|
|
33
|
-
--menu-item-pressed-color: #101010;
|
|
34
|
-
--menu-item-pressed-bg-color: #f2c94c;
|
|
35
|
-
--menu-outline-color: #007bff;
|
|
36
|
-
|
|
37
|
-
/* Menu shadow (was a literal in .MenuR) */
|
|
38
|
-
--menu-shadow: 0 0 20px 14px rgba(34, 60, 80, 0.2);
|
|
39
|
-
|
|
40
|
-
/* Window (FloatingWindow) chrome. Defaults = legacy look, so apps without themes do not change.
|
|
41
|
-
Apps re-skin via :root[data-theme='...'] overrides, same contract as --color-* / --menu-*.
|
|
42
|
-
Intentionally NOT declared here (fall back to inherit/auto until a theme declares them):
|
|
43
|
-
--wnd-header-height, --wnd-header-color, --wnd-header-font-size,
|
|
44
|
-
--wnd-header-letter-spacing, --wnd-header-transform */
|
|
45
|
-
--wnd-bg: transparent;
|
|
46
|
-
--wnd-border: none;
|
|
47
|
-
--wnd-radius: 0;
|
|
48
|
-
--wnd-shadow: none;
|
|
49
|
-
|
|
50
|
-
/* Header drag zone: wrapper background (solid in themes) vs default striped strip.
|
|
51
|
-
Themes typically set --wnd-header-bg to a panel color and --wnd-header-stripes to none. */
|
|
52
|
-
--wnd-header-bg: transparent;
|
|
53
|
-
--wnd-header-stripes: repeating-linear-gradient(139deg, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.1) 15px, transparent 0, transparent 30px);
|
|
54
|
-
--wnd-header-border: none;
|
|
55
|
-
--wnd-header-padding: 0;
|
|
56
|
-
|
|
57
|
-
/* Close button. Legacy: floating circle at the window's top-right corner.
|
|
58
|
-
Themes move it into the header (top/right offsets) and strip the circle chrome.
|
|
59
|
-
Clickable zone is clamped to >= 24x24 in CSS regardless of --wnd-close-size. */
|
|
60
|
-
--wnd-close-size: 28px;
|
|
61
|
-
--wnd-close-top: -12px;
|
|
62
|
-
--wnd-close-right: -12px;
|
|
63
|
-
--wnd-close-bg: var(--color-bg-light);
|
|
64
|
-
--wnd-close-border: 1px solid var(--color-border-common);
|
|
65
|
-
--wnd-close-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
|
|
66
|
-
--wnd-close-color: var(--color-text-base);
|
|
67
|
-
--wnd-close-hover: #fff;
|
|
68
|
-
--wnd-close-hover-bg: #e5484d;
|
|
69
|
-
|
|
70
|
-
/* Settings dialog (SettingsDialog). Dark defaults close to current apps;
|
|
71
|
-
apps re-skin via :root[data-theme='...'] overrides, same contract as --wnd-*. */
|
|
72
|
-
--dlg-scrim: rgba(0, 0, 0, 0.5);
|
|
73
|
-
--dlg-bg: var(--color-bg-dark);
|
|
74
|
-
--dlg-border: 1px solid var(--color-border-common);
|
|
75
|
-
--dlg-radius: 10px;
|
|
76
|
-
--dlg-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
|
|
77
|
-
--dlg-nav-bg: var(--color-bg-light);
|
|
78
|
-
--dlg-nav-width: 220px;
|
|
79
|
-
|
|
80
|
-
/* Toolbar (createToolbar). Dark defaults; apps re-skin via :root[data-theme]
|
|
81
|
-
overrides, same contract as --wnd-* / --dlg-*. */
|
|
82
|
-
--tb-bg: transparent;
|
|
83
|
-
--tb-border: none;
|
|
84
|
-
--tb-radius: 6px;
|
|
85
|
-
--tb-gap: 2px;
|
|
86
|
-
--tb-item-color: var(--color-text-base);
|
|
87
|
-
--tb-item-hover-bg: rgba(255, 255, 255, 0.08);
|
|
88
|
-
--tb-item-radius: 6px;
|
|
89
|
-
--tb-pop-bg: var(--color-bg-dark);
|
|
90
|
-
--tb-pop-border: 1px solid var(--color-border-common);
|
|
91
|
-
--tb-pop-radius: 8px;
|
|
92
|
-
--tb-pop-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
|
|
93
|
-
|
|
94
|
-
/* Column-state compact menu (ColumnsMenu/MenuStrip). Defaults preserve the
|
|
95
|
-
previous GitHub-like inline look; apps can override via --cols-menu-*. */
|
|
96
|
-
--cols-menu-gap: 6px;
|
|
97
|
-
--cols-menu-btn-gap: 4px;
|
|
98
|
-
--cols-menu-btn-padding: 3px 9px;
|
|
99
|
-
--cols-menu-btn-radius: 6px;
|
|
100
|
-
--cols-menu-btn-font-size: 12px;
|
|
101
|
-
--cols-menu-btn-line-height: 16px;
|
|
102
|
-
--cols-menu-on-border: 1px solid #24292f;
|
|
103
|
-
--cols-menu-on-bg: #24292f;
|
|
104
|
-
--cols-menu-on-color: #fff;
|
|
105
|
-
--cols-menu-off-border: 1px solid #d0d7de;
|
|
106
|
-
--cols-menu-off-bg: #fff;
|
|
107
|
-
--cols-menu-off-color: #8c959f;
|
|
108
|
-
--cols-menu-disabled-border: 1px dashed #d0d7de;
|
|
109
|
-
--cols-menu-disabled-bg: #f6f8fa;
|
|
110
|
-
--cols-menu-disabled-color: #c4ccd4;
|
|
111
|
-
--cols-menu-fixed-shadow: 0 0 0 2px #eaeef2;
|
|
112
|
-
--cols-menu-drag-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
113
|
-
--cols-menu-divider: #d0d7de;
|
|
114
|
-
--cols-menu-abbr-font-size: 10px;
|
|
115
|
-
--cols-menu-abbr-font-weight: 700;
|
|
116
|
-
--cols-menu-abbr-letter-spacing: 0.5px;
|
|
117
|
-
--cols-menu-marks-font-size: 9px;
|
|
118
|
-
--cols-menu-marks-opacity: 0.9;
|
|
119
|
-
|
|
120
|
-
/* Column-state mobile/card primitives (ColumnDots/CardList). Defaults preserve
|
|
121
|
-
the restored card-29 look; apps can override via --cols-dots-* / --cols-card-*. */
|
|
122
|
-
--cols-dots-text: #24292f;
|
|
123
|
-
--cols-dots-head-gap: 10px;
|
|
124
|
-
--cols-dots-head-margin-bottom: 6px;
|
|
125
|
-
--cols-dots-head-font-size: 12px;
|
|
126
|
-
--cols-dots-meta-color: #57606a;
|
|
127
|
-
--cols-dots-sort-border: 1px solid #6e7781;
|
|
128
|
-
--cols-dots-sort-radius: 6px;
|
|
129
|
-
--cols-dots-sort-padding: 2px 8px;
|
|
130
|
-
--cols-dots-sort-font-size: 12px;
|
|
131
|
-
--cols-dots-sort-bg: #fff;
|
|
132
|
-
--cols-dots-track-height: 56px;
|
|
133
|
-
--cols-dots-track-margin: 0 14px;
|
|
134
|
-
--cols-dots-rail: #d0d7de;
|
|
135
|
-
--cols-dots-mark-width: 44px;
|
|
136
|
-
--cols-dots-mark-height: 56px;
|
|
137
|
-
--cols-dots-mark-margin-left: -22px;
|
|
138
|
-
--cols-dots-sort-mark-color: #0969da;
|
|
139
|
-
--cols-dots-sort-mark-font-size: 11px;
|
|
140
|
-
--cols-dots-pin: #afb8c1;
|
|
141
|
-
--cols-dots-label-color: #8c959f;
|
|
142
|
-
--cols-dots-label-active-color: #24292f;
|
|
143
|
-
--cols-dots-label-font-size: 10px;
|
|
144
|
-
--cols-dots-dot-size: 18px;
|
|
145
|
-
--cols-dots-dot-radius: 9px;
|
|
146
|
-
--cols-dots-dot-bg: #24292f;
|
|
147
|
-
--cols-dots-dot-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
148
|
-
--cols-dots-selected-bg: #0969da;
|
|
149
|
-
--cols-dots-selected-border: #b6d4fe;
|
|
150
|
-
--cols-dots-fixed-border: #afb8c1;
|
|
151
|
-
--cols-dots-drag-label-bg: #24292f;
|
|
152
|
-
--cols-dots-drag-label-color: #fff;
|
|
153
|
-
--cols-dots-drag-label-font-size: 10px;
|
|
154
|
-
--cols-card-gap: 8px;
|
|
155
|
-
--cols-card-border: 1px solid #d0d7de;
|
|
156
|
-
--cols-card-radius: 8px;
|
|
157
|
-
--cols-card-padding: 8px 10px;
|
|
158
|
-
--cols-card-bg: #fff;
|
|
159
|
-
--cols-card-header-gap: 8px;
|
|
160
|
-
--cols-card-header-margin-bottom: 6px;
|
|
161
|
-
--cols-card-title-font-size: 14px;
|
|
162
|
-
--cols-card-accent-font-size: 11px;
|
|
163
|
-
--cols-card-accent-padding: 1px 8px;
|
|
164
|
-
--cols-card-accent-radius: 10px;
|
|
165
|
-
--cols-card-accent-bg: #ddf4ff;
|
|
166
|
-
--cols-card-accent-color: #0969da;
|
|
167
|
-
--cols-card-field-gap: 10px;
|
|
168
|
-
--cols-card-field-font-size: 12px;
|
|
169
|
-
--cols-card-field-line-height: 1.7;
|
|
170
|
-
--cols-card-label-color: #57606a;
|
|
171
|
-
--cols-card-label-min-width: 72px;
|
|
172
|
-
/* Logs. Defaults preserve the old logger look; apps can override in their theme. */
|
|
173
|
-
--logs-notification-text: #fff;
|
|
174
|
-
--logs-notification-accent: #5D9FFA;
|
|
175
|
-
--logs-toggle-bg: rgb(58, 58, 58);
|
|
176
|
-
--logs-toggle-off-bg: rgb(144, 60, 60);
|
|
177
|
-
--logs-divider: rgba(255, 255, 255, 1);
|
|
178
|
-
--logs-tab-nav-bg: #333;
|
|
179
|
-
--logs-tab-bg: #444;
|
|
180
|
-
--logs-tab-active-bg: #666;
|
|
181
|
-
--logs-tab-text: #fff;
|
|
182
|
-
/* Layers */
|
|
183
|
-
--wenay-z-modal: 9999;
|
|
184
|
-
}
|
|
1
|
+
/* Shared library design tokens. Values are collected from style.css and menuRight.css
|
|
2
|
+
without changes. TS mirror for inline styles and ag-grid themes - src/common/src/styles/tokens.ts */
|
|
3
|
+
:root {
|
|
4
|
+
/* Main background colors */
|
|
5
|
+
--color-bg-dark: #131821;
|
|
6
|
+
--color-bg-light: #17202e;
|
|
7
|
+
|
|
8
|
+
/* Scroll */
|
|
9
|
+
--color-scrollbar-track: rgba(255, 255, 255, 0);
|
|
10
|
+
--color-scrollbar-thumb: #1d262c;
|
|
11
|
+
/* alternative for MSTradeScroll */
|
|
12
|
+
--color-scrollbar-thumb-alt: #4c4562;
|
|
13
|
+
|
|
14
|
+
/* Main text/outline colors */
|
|
15
|
+
--color-text-base: #c4c4c4;
|
|
16
|
+
--color-text-theme: #5D9FFA;
|
|
17
|
+
--color-border-common: rgb(50, 62, 71);
|
|
18
|
+
|
|
19
|
+
/* Menu base */
|
|
20
|
+
--base-border: 1px solid rgba(255, 255, 255, 0.41);
|
|
21
|
+
--base-color-hover: #fff;
|
|
22
|
+
|
|
23
|
+
/* Menu */
|
|
24
|
+
--menu-bg-color: #0c0c0c;
|
|
25
|
+
--menu-blur: 0px;
|
|
26
|
+
--menu-border: var(--base-border);
|
|
27
|
+
--menu-item-color: var(--base-color-hover);
|
|
28
|
+
--menu-item-active-bg-color: #262626;
|
|
29
|
+
--menu-item-active-color: var(--base-color-hover);
|
|
30
|
+
--menu-active-background: var(--menu-item-active-bg-color);
|
|
31
|
+
--menu-item-hover-color: #101010;
|
|
32
|
+
--menu-item-hover-bg-color: var(--base-color-hover);
|
|
33
|
+
--menu-item-pressed-color: #101010;
|
|
34
|
+
--menu-item-pressed-bg-color: #f2c94c;
|
|
35
|
+
--menu-outline-color: #007bff;
|
|
36
|
+
|
|
37
|
+
/* Menu shadow (was a literal in .MenuR) */
|
|
38
|
+
--menu-shadow: 0 0 20px 14px rgba(34, 60, 80, 0.2);
|
|
39
|
+
|
|
40
|
+
/* Window (FloatingWindow) chrome. Defaults = legacy look, so apps without themes do not change.
|
|
41
|
+
Apps re-skin via :root[data-theme='...'] overrides, same contract as --color-* / --menu-*.
|
|
42
|
+
Intentionally NOT declared here (fall back to inherit/auto until a theme declares them):
|
|
43
|
+
--wnd-header-height, --wnd-header-color, --wnd-header-font-size,
|
|
44
|
+
--wnd-header-letter-spacing, --wnd-header-transform */
|
|
45
|
+
--wnd-bg: transparent;
|
|
46
|
+
--wnd-border: none;
|
|
47
|
+
--wnd-radius: 0;
|
|
48
|
+
--wnd-shadow: none;
|
|
49
|
+
|
|
50
|
+
/* Header drag zone: wrapper background (solid in themes) vs default striped strip.
|
|
51
|
+
Themes typically set --wnd-header-bg to a panel color and --wnd-header-stripes to none. */
|
|
52
|
+
--wnd-header-bg: transparent;
|
|
53
|
+
--wnd-header-stripes: repeating-linear-gradient(139deg, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.1) 15px, transparent 0, transparent 30px);
|
|
54
|
+
--wnd-header-border: none;
|
|
55
|
+
--wnd-header-padding: 0;
|
|
56
|
+
|
|
57
|
+
/* Close button. Legacy: floating circle at the window's top-right corner.
|
|
58
|
+
Themes move it into the header (top/right offsets) and strip the circle chrome.
|
|
59
|
+
Clickable zone is clamped to >= 24x24 in CSS regardless of --wnd-close-size. */
|
|
60
|
+
--wnd-close-size: 28px;
|
|
61
|
+
--wnd-close-top: -12px;
|
|
62
|
+
--wnd-close-right: -12px;
|
|
63
|
+
--wnd-close-bg: var(--color-bg-light);
|
|
64
|
+
--wnd-close-border: 1px solid var(--color-border-common);
|
|
65
|
+
--wnd-close-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
|
|
66
|
+
--wnd-close-color: var(--color-text-base);
|
|
67
|
+
--wnd-close-hover: #fff;
|
|
68
|
+
--wnd-close-hover-bg: #e5484d;
|
|
69
|
+
|
|
70
|
+
/* Settings dialog (SettingsDialog). Dark defaults close to current apps;
|
|
71
|
+
apps re-skin via :root[data-theme='...'] overrides, same contract as --wnd-*. */
|
|
72
|
+
--dlg-scrim: rgba(0, 0, 0, 0.5);
|
|
73
|
+
--dlg-bg: var(--color-bg-dark);
|
|
74
|
+
--dlg-border: 1px solid var(--color-border-common);
|
|
75
|
+
--dlg-radius: 10px;
|
|
76
|
+
--dlg-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
|
|
77
|
+
--dlg-nav-bg: var(--color-bg-light);
|
|
78
|
+
--dlg-nav-width: 220px;
|
|
79
|
+
|
|
80
|
+
/* Toolbar (createToolbar). Dark defaults; apps re-skin via :root[data-theme]
|
|
81
|
+
overrides, same contract as --wnd-* / --dlg-*. */
|
|
82
|
+
--tb-bg: transparent;
|
|
83
|
+
--tb-border: none;
|
|
84
|
+
--tb-radius: 6px;
|
|
85
|
+
--tb-gap: 2px;
|
|
86
|
+
--tb-item-color: var(--color-text-base);
|
|
87
|
+
--tb-item-hover-bg: rgba(255, 255, 255, 0.08);
|
|
88
|
+
--tb-item-radius: 6px;
|
|
89
|
+
--tb-pop-bg: var(--color-bg-dark);
|
|
90
|
+
--tb-pop-border: 1px solid var(--color-border-common);
|
|
91
|
+
--tb-pop-radius: 8px;
|
|
92
|
+
--tb-pop-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
|
|
93
|
+
|
|
94
|
+
/* Column-state compact menu (ColumnsMenu/MenuStrip). Defaults preserve the
|
|
95
|
+
previous GitHub-like inline look; apps can override via --cols-menu-*. */
|
|
96
|
+
--cols-menu-gap: 6px;
|
|
97
|
+
--cols-menu-btn-gap: 4px;
|
|
98
|
+
--cols-menu-btn-padding: 3px 9px;
|
|
99
|
+
--cols-menu-btn-radius: 6px;
|
|
100
|
+
--cols-menu-btn-font-size: 12px;
|
|
101
|
+
--cols-menu-btn-line-height: 16px;
|
|
102
|
+
--cols-menu-on-border: 1px solid #24292f;
|
|
103
|
+
--cols-menu-on-bg: #24292f;
|
|
104
|
+
--cols-menu-on-color: #fff;
|
|
105
|
+
--cols-menu-off-border: 1px solid #d0d7de;
|
|
106
|
+
--cols-menu-off-bg: #fff;
|
|
107
|
+
--cols-menu-off-color: #8c959f;
|
|
108
|
+
--cols-menu-disabled-border: 1px dashed #d0d7de;
|
|
109
|
+
--cols-menu-disabled-bg: #f6f8fa;
|
|
110
|
+
--cols-menu-disabled-color: #c4ccd4;
|
|
111
|
+
--cols-menu-fixed-shadow: 0 0 0 2px #eaeef2;
|
|
112
|
+
--cols-menu-drag-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
113
|
+
--cols-menu-divider: #d0d7de;
|
|
114
|
+
--cols-menu-abbr-font-size: 10px;
|
|
115
|
+
--cols-menu-abbr-font-weight: 700;
|
|
116
|
+
--cols-menu-abbr-letter-spacing: 0.5px;
|
|
117
|
+
--cols-menu-marks-font-size: 9px;
|
|
118
|
+
--cols-menu-marks-opacity: 0.9;
|
|
119
|
+
|
|
120
|
+
/* Column-state mobile/card primitives (ColumnDots/CardList). Defaults preserve
|
|
121
|
+
the restored card-29 look; apps can override via --cols-dots-* / --cols-card-*. */
|
|
122
|
+
--cols-dots-text: #24292f;
|
|
123
|
+
--cols-dots-head-gap: 10px;
|
|
124
|
+
--cols-dots-head-margin-bottom: 6px;
|
|
125
|
+
--cols-dots-head-font-size: 12px;
|
|
126
|
+
--cols-dots-meta-color: #57606a;
|
|
127
|
+
--cols-dots-sort-border: 1px solid #6e7781;
|
|
128
|
+
--cols-dots-sort-radius: 6px;
|
|
129
|
+
--cols-dots-sort-padding: 2px 8px;
|
|
130
|
+
--cols-dots-sort-font-size: 12px;
|
|
131
|
+
--cols-dots-sort-bg: #fff;
|
|
132
|
+
--cols-dots-track-height: 56px;
|
|
133
|
+
--cols-dots-track-margin: 0 14px;
|
|
134
|
+
--cols-dots-rail: #d0d7de;
|
|
135
|
+
--cols-dots-mark-width: 44px;
|
|
136
|
+
--cols-dots-mark-height: 56px;
|
|
137
|
+
--cols-dots-mark-margin-left: -22px;
|
|
138
|
+
--cols-dots-sort-mark-color: #0969da;
|
|
139
|
+
--cols-dots-sort-mark-font-size: 11px;
|
|
140
|
+
--cols-dots-pin: #afb8c1;
|
|
141
|
+
--cols-dots-label-color: #8c959f;
|
|
142
|
+
--cols-dots-label-active-color: #24292f;
|
|
143
|
+
--cols-dots-label-font-size: 10px;
|
|
144
|
+
--cols-dots-dot-size: 18px;
|
|
145
|
+
--cols-dots-dot-radius: 9px;
|
|
146
|
+
--cols-dots-dot-bg: #24292f;
|
|
147
|
+
--cols-dots-dot-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
148
|
+
--cols-dots-selected-bg: #0969da;
|
|
149
|
+
--cols-dots-selected-border: #b6d4fe;
|
|
150
|
+
--cols-dots-fixed-border: #afb8c1;
|
|
151
|
+
--cols-dots-drag-label-bg: #24292f;
|
|
152
|
+
--cols-dots-drag-label-color: #fff;
|
|
153
|
+
--cols-dots-drag-label-font-size: 10px;
|
|
154
|
+
--cols-card-gap: 8px;
|
|
155
|
+
--cols-card-border: 1px solid #d0d7de;
|
|
156
|
+
--cols-card-radius: 8px;
|
|
157
|
+
--cols-card-padding: 8px 10px;
|
|
158
|
+
--cols-card-bg: #fff;
|
|
159
|
+
--cols-card-header-gap: 8px;
|
|
160
|
+
--cols-card-header-margin-bottom: 6px;
|
|
161
|
+
--cols-card-title-font-size: 14px;
|
|
162
|
+
--cols-card-accent-font-size: 11px;
|
|
163
|
+
--cols-card-accent-padding: 1px 8px;
|
|
164
|
+
--cols-card-accent-radius: 10px;
|
|
165
|
+
--cols-card-accent-bg: #ddf4ff;
|
|
166
|
+
--cols-card-accent-color: #0969da;
|
|
167
|
+
--cols-card-field-gap: 10px;
|
|
168
|
+
--cols-card-field-font-size: 12px;
|
|
169
|
+
--cols-card-field-line-height: 1.7;
|
|
170
|
+
--cols-card-label-color: #57606a;
|
|
171
|
+
--cols-card-label-min-width: 72px;
|
|
172
|
+
/* Logs. Defaults preserve the old logger look; apps can override in their theme. */
|
|
173
|
+
--logs-notification-text: #fff;
|
|
174
|
+
--logs-notification-accent: #5D9FFA;
|
|
175
|
+
--logs-toggle-bg: rgb(58, 58, 58);
|
|
176
|
+
--logs-toggle-off-bg: rgb(144, 60, 60);
|
|
177
|
+
--logs-divider: rgba(255, 255, 255, 1);
|
|
178
|
+
--logs-tab-nav-bg: #333;
|
|
179
|
+
--logs-tab-bg: #444;
|
|
180
|
+
--logs-tab-active-bg: #666;
|
|
181
|
+
--logs-tab-text: #fff;
|
|
182
|
+
/* Layers */
|
|
183
|
+
--wenay-z-modal: 9999;
|
|
184
|
+
}
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wenay-react2",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Common react",
|
|
5
|
-
"strict": true,
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"lib/**/*",
|
|
10
|
-
"doc/**/*",
|
|
11
|
-
"!**/*.tsbuildinfo"
|
|
12
|
-
],
|
|
13
|
-
"author": "wenay",
|
|
14
|
-
"license": "ISC",
|
|
15
|
-
"peerDependenciesMeta": {
|
|
16
|
-
"react-dom": {
|
|
17
|
-
"optional": true
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"ag-grid-community": "^35.1.0",
|
|
22
|
-
"ag-grid-react": "^35.1.0",
|
|
23
|
-
"re-resizable": "^6.11.2",
|
|
24
|
-
"react": "^19.2.0",
|
|
25
|
-
"react-dom": "^19.2.0",
|
|
26
|
-
"react-rnd": "^10.5.3",
|
|
27
|
-
"wenay-common2": "^1.0.
|
|
28
|
-
},
|
|
29
|
-
"peerDependencies": {
|
|
30
|
-
"react": "^19.2.0",
|
|
31
|
-
"react-dom": "^19.2.0"
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=18",
|
|
35
|
-
"vscode": "^1.22.0"
|
|
36
|
-
},
|
|
37
|
-
"browserslist": {
|
|
38
|
-
"production": [
|
|
39
|
-
">0.2%",
|
|
40
|
-
"not dead"
|
|
41
|
-
],
|
|
42
|
-
"development": [
|
|
43
|
-
">1%"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"exports": {
|
|
47
|
-
".": "./lib/index.js",
|
|
48
|
-
"./native": "./lib/native/index.js",
|
|
49
|
-
"./package.json": "./package.json",
|
|
50
|
-
"./demo/peer-media": "./lib/common/demo/peerMedia.js",
|
|
51
|
-
"./demo/peer-conference": "./lib/common/demo/peerConference.js",
|
|
52
|
-
"./demo/stand": "./lib/common/testUseReact/qa.js"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "wenay-react2",
|
|
3
|
+
"version": "1.0.51",
|
|
4
|
+
"description": "Common react",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib/**/*",
|
|
10
|
+
"doc/**/*",
|
|
11
|
+
"!**/*.tsbuildinfo"
|
|
12
|
+
],
|
|
13
|
+
"author": "wenay",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"peerDependenciesMeta": {
|
|
16
|
+
"react-dom": {
|
|
17
|
+
"optional": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"ag-grid-community": "^35.1.0",
|
|
22
|
+
"ag-grid-react": "^35.1.0",
|
|
23
|
+
"re-resizable": "^6.11.2",
|
|
24
|
+
"react": "^19.2.0",
|
|
25
|
+
"react-dom": "^19.2.0",
|
|
26
|
+
"react-rnd": "^10.5.3",
|
|
27
|
+
"wenay-common2": "^1.0.75"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": "^19.2.0",
|
|
31
|
+
"react-dom": "^19.2.0"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18",
|
|
35
|
+
"vscode": "^1.22.0"
|
|
36
|
+
},
|
|
37
|
+
"browserslist": {
|
|
38
|
+
"production": [
|
|
39
|
+
">0.2%",
|
|
40
|
+
"not dead"
|
|
41
|
+
],
|
|
42
|
+
"development": [
|
|
43
|
+
">1%"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"exports": {
|
|
47
|
+
".": "./lib/index.js",
|
|
48
|
+
"./native": "./lib/native/index.js",
|
|
49
|
+
"./package.json": "./package.json",
|
|
50
|
+
"./demo/peer-media": "./lib/common/demo/peerMedia.js",
|
|
51
|
+
"./demo/peer-conference": "./lib/common/demo/peerConference.js",
|
|
52
|
+
"./demo/stand": "./lib/common/testUseReact/qa.js"
|
|
53
|
+
}
|
|
54
|
+
}
|
package/doc/changes/v1.0.35.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# v1.0.35
|
|
2
|
-
|
|
3
|
-
Date: 2026-07-08
|
|
4
|
-
|
|
5
|
-
- Changed: Migrated this repository to the published `wenay-common2@1.0.62` naming surface (`Observe`, `listen`, `Replay.replayListen`, `promiseProgress`) and updated matching React docs/tests.
|
|
6
|
-
- Changed: Made `README.md` a documentation index only and added the project rule file plus `doc/changes/` catalog.
|
|
7
|
-
- Reason: Keep the repository aligned with the breaking rename publication and make future AI edits record version-scoped changes consistently.
|
|
8
|
-
- Verification: `npm run build`; `npm run testjest -- --runInBand`.
|
|
9
|
-
- Changed: Updated `wenay-common2` from `1.0.62` to `1.0.64` and refreshed the pulled `doc/wenay-common2*.md` / `doc/NAMING_RENAMES.md` files from the npm package.
|
|
10
|
-
- Reason: `wenay-common2@1.0.63` adds `Observe.createStoreManager` / `Observe.managedStore` for declarative mirror/replay/offline startup; `1.0.64` packages documentation and recent-change notes into npm.
|
|
11
|
-
- React impact: no required hook migration in `wenay-react2`; the new manager remains a common2 resource-planning layer, while React hooks can keep wrapping concrete stores/remotes.
|
|
12
|
-
- Changed: Applied a breaking `wenay-react2` naming cleanup across public exports, internal imports, docs, and source filenames; added `doc/WENAY_REACT2_RENAMES.md`.
|
|
13
|
-
- Reason: Remove old compatibility aliases and make the package surface concise (`kit`, `memoryCache`, `FloatingWindow`, `ParamsEditor`, `Menu`, `AgGridTable`, `applyGridRows`).
|
|
14
|
-
- Verification: `npm run build`; `npm run testjest -- --runInBand`.
|
|
15
|
-
- Changed: Added a style/token audit, QA stand note, and cleanup inventory to doc/wenay-react2-rare.md; added project rules requiring rare-doc updates for style/theme/cleanup decisions.
|
|
16
|
-
- Changed: Updated the QA stand Vite middleware from the removed `ObserveAll2` name to the current `Observe` export from `wenay-common2`.
|
|
17
|
-
- Reason: Make style normalization and suspected-trash decisions explicit without deleting public exports blindly, and keep the stand runnable after the common2 rename publication.
|
|
18
|
-
- Verification: `npm run testReact -- --host 127.0.0.1 --port 3002` starts and `http://127.0.0.1:3002/` returns HTTP 200; `npm run build`; `npm run testjest -- --runInBand`.
|
|
19
|
-
- Changed: Refactored `contextMenu` around explicit `openAt` / `close` / `getState` controller methods while keeping the old `map` as a legacy Layer queue; updated QA/demo/logger callers to use `openAt`.
|
|
20
|
-
- Changed: Made `DropdownMenu` trigger glyph/content, class names, and inline style slots configurable (`trigger`, `classNames`, `styles`) instead of hardcoding all right-menu visuals.
|
|
21
|
-
- Changed: Updated both `doc/wenay-react2.md` and `doc/wenay-react2-rare.md` to describe `contextMenu.openAt` as the primary right-click integration path and `contextMenu.map` as legacy.
|
|
22
|
-
- Reason: Make the right-click path more logical and reduce visual lock-in from the shared library while preserving current default behavior.
|
|
23
|
-
- Verification: `npm run build`; `npm run testjest -- --runInBand`; QA stand `http://127.0.0.1:3002/` returns HTTP 200.
|
|
24
|
-
- Changed: Removed pulled `wenay-common2` docs from the README/project-rules canonical documentation list; `wenay-react2` docs now remain the only local docs that agents should update for this package.
|
|
25
|
-
- Reason: `wenay-common2` is an external dependency and its current docs should be read from the installed module/package; this repo should only record React-facing impact in `doc/wenay-react2.md` and `doc/wenay-react2-rare.md`.
|
|
26
|
-
- Verification: documentation-only update.
|
package/doc/changes/v1.0.37.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# v1.0.37
|
|
2
|
-
|
|
3
|
-
Date: 2026-07-08
|
|
4
|
-
|
|
5
|
-
- Changed: Refactored `Menu` active/open handling so it no longer mutates `item.status`; `status` remains an initial hint and custom-renderer compatibility field.
|
|
6
|
-
- Changed: Routed mouse context-menu item colors, active state, and separators through the existing `--menu-*` tokens while preserving `MenuR` / `toButton` class compatibility.
|
|
7
|
-
- Changed: Added the shared logger style contract in `src/common/src/logs/logStyles.ts` and wired global/context logger chrome to `--logs-*` tokens.
|
|
8
|
-
- Changed: Tokenized `OutlineDragDemo` outline color as `--menu-outline-color` and reused `--dlg-scrim` in `ModalProvider`.
|
|
9
|
-
- Changed: Added project rules and `doc/progress/README.md` for temporary task progress files during active non-trivial work.
|
|
10
|
-
- Changed: Added `doc/target/README.md` and clarified that `doc/target/my.md` is the durable task queue while `doc/progress` is temporary; target tasks now pass through a `Verify` status before removal.
|
|
11
|
-
- Changed: Added `common2` shorthand rules for checking `wenay-common2` updates from the installed package changelog.
|
|
12
|
-
- Reason: Reduce hidden state mutation and hardcoded shared styling while preserving the existing public API; make agent working notes and common2 update checks explicit.
|
|
13
|
-
- Verification: `npm run build`; `npm run testjest -- --runInBand`; QA stand `http://127.0.0.1:3002/` returns HTTP 200; documentation-only policy reviewed in `doc/PROJECT_RULES.md`, `doc/progress/README.md`, and `node_modules/wenay-common2/doc/changes/README.md`.
|
package/doc/changes/v1.0.38.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# v1.0.38
|
|
2
|
-
|
|
3
|
-
Date: 2026-07-09
|
|
4
|
-
|
|
5
|
-
- Changed: Redesigned `SettingsDialog` from a flat section list into a searchable settings tree while preserving flat `{key, name, render}` sections.
|
|
6
|
-
- Changed: Extended `SettingsSection` with optional `children`, `parentKey`, `searchText`, and `keywords` for nested settings pages and content-aware search.
|
|
7
|
-
- Changed: Added SettingsDialog tree/search styles and widened the default `--dlg-nav-width` token to `220px` with the TypeScript token mirror updated.
|
|
8
|
-
- Changed: Updated the QA stand SettingsDialog card and public docs for tree structure, registry `parentKey`, and search behavior.
|
|
9
|
-
- Reason: Let client apps present larger settings surfaces in a JetBrains-style tree without moving hierarchy/search logic into each app.
|
|
10
|
-
- Verification: `npm run build`; `npm run testjest -- --runInBand`; QA stand `http://127.0.0.1:3002/` returns HTTP 200.
|
|
11
|
-
- Changed: Extended `createToolbar` with focused API writes (`setOrder`, `show`, `setDensity`, `showSettings`, `showReset`), `sourceMode:"order"`, and a default-hidden reset pseudo-control (`resetItem`, `Bar reset`).
|
|
12
|
-
- Changed: Updated QA card 30 to use `createToolbar({source: columnState.api.listSource, sourceMode:"order"})` instead of a manual order bridge.
|
|
13
|
-
- Reason: Let table/grid layers own icon-menu order directly while toolbar membership, density, pseudo-controls, and extra non-source items stay local; give users a built-in reset-to-default control that starts hidden while Settings stays visible by default.
|
|
14
|
-
- Verification: `.\node_modules\.bin\tsc -p tsconfig.qa-check.json --noEmit`; `npm run build`; `npm run testjest -- --runInBand`; QA stand `http://127.0.0.1:3002/` returns HTTP 200.
|
|
15
|
-
- Changed: Added runtime `columnState.api.setPresentGate(...)` and switched QA card 30 to stable grouped `columnDefs` plus a 3-letter vertical-dot mode button in the upper toolbar; removed the old lower menu from this demo.
|
|
16
|
-
- Reason: Demonstrate the app-owned multi-state layer above MenuStrip without rebuilding the grid schema on each mode click: presentGate decides which leaf columns are available while persisted user visibility stays separate.
|
|
17
|
-
- Verification: `.\node_modules\.bin\tsc -p tsconfig.qa-check.json --noEmit`; `npm run build`; `npm run testjest -- --runInBand`; QA stand `http://127.0.0.1:3002/` returns HTTP 200.
|
|
18
|
-
- Changed: Updated `wenay-common2` from `^1.0.64` to `^1.0.65` and recorded a target backlog item for React route hand-off hooks over `Replay.replayRouteSubscribe` / `Observe.syncStoreReplayRoute`.
|
|
19
|
-
- Reason: common2 1.0.65 adds replay route hand-off for relay/direct promotion; using it in this package needs an explicit React controller surface rather than changing existing replay hooks implicitly.
|
|
20
|
-
- Verification: `tsc -p tsconfig.qa-check.json --noEmit`; `npm run build`; `npm run testjest -- --runInBand`.
|
|
21
|
-
- Changed: Added route hand-off React hooks: `useReplayRouteSubscribe`, `useStoreReplayRouteSync`, and `useStoreReplayRouteMirror`.
|
|
22
|
-
- Changed: Added unit coverage and QA card 26 with a canvas video route switch demo for relay/direct/failure fallback.
|
|
23
|
-
- Changed: Updated Replay docs with the explicit `switchRoute(...)` contract and the current no-`stale`/`lastTs()` limitation of common2 route handles.
|
|
24
|
-
- Reason: Let React consumers use `wenay-common2@1.0.65` replay route replacement without changing existing non-route hook semantics.
|
|
25
|
-
- Verification: `npm run testjest -- --runInBand`; `tsc -p tsconfig.qa-check.json --noEmit`; `npm run build`; QA stand `http://127.0.0.1:3004/` returns HTTP 200.
|
|
26
|
-
- Changed: Added `doc/PROJECT_FUNCTIONALITY.md` and `doc/EXAMPLE_USAGE.md`, and linked both from `README.md` and `doc/PROJECT_RULES.md`.
|
|
27
|
-
- Reason: Separate project purpose/feature boundaries and example usage standards from the API cheat sheet, including guidance to prefer current controller primitives over legacy low-level stand examples.
|
|
28
|
-
- Verification: Documentation-only review against `doc/wenay-react2.md`, `doc/wenay-react2-rare.md`, `src/common/api.tsx`, and the QA stand.
|
|
29
|
-
- Changed: Added reusable `createSearchHistory({key,max?})`, wired `SettingsDialog` search to persisted history, and replaced three tree tool buttons with one compact dotted cycle control in the search row.
|
|
30
|
-
- Changed: Moved `ColumnDots` and `CardList` visual styling from inline/raw styles into shared `.wenayColDots*` and `.wenayCardList*` CSS classes while preserving runtime geometry inline.
|
|
31
|
-
- Reason: Apply the newly documented usage standards inside the library itself: reuse persistence helpers for search history and keep public primitives styleable through shared CSS contracts.
|
|
32
|
-
- Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `git diff --check -- src/common/src/components/Settings/SettingsDialog.tsx src/common/src/utils/searchHistory.ts src/common/src/utils/index.ts src/common/src/grid/columnState/ColumnDots.tsx src/common/src/grid/columnState/CardList.tsx src/style/style.css`.
|
|
33
|
-
- Changed: Documented the hook/controller-first architecture rule for shared functionality and added a target audit for converting component-owned behavior into headless APIs where appropriate.
|
|
34
|
-
- Reason: Keep reusable behavior available to apps, visual components, and QA stand layers without copying component internals.
|
|
35
|
-
- Verification: Documentation-only scoped review; `git diff --check` on touched docs.
|
|
36
|
-
- Changed: Recorded the compatibility policy for old public APIs and added a backlog item for local menu/context-menu usage statistics.
|
|
37
|
-
- Reason: New hook/controller APIs should not break existing consumers, and risky menu migrations need usage signal before deprecation/removal.
|
|
38
|
-
- Verification: Documentation-only scoped review; git diff --check on touched docs.
|
|
39
|
-
- Changed: Refined compatibility guidance to allow explicit aggressive migrations while treating removed default styles as compatibility breaks unless a replacement class/token path is shipped.
|
|
40
|
-
- Changed: Added a style-system normalization target for default primitive styles and CSS variable contracts.
|
|
41
|
-
- Reason: API migrations can be explained in changelog, but broken default visuals make shared primitives hard to use and override safely.
|
|
42
|
-
- Verification: Documentation-only scoped review; git diff --check on touched docs.
|
|
43
|
-
- Changed: Added a persisted SettingsDialog tree/content width divider with mouse drag, keyboard arrows, and double-click/Enter reset to the default width.
|
|
44
|
-
- Changed: Tightened the SettingsDialog tree/search layout so the search row, dotted tree-cycle control, toggles, and rows use less horizontal and vertical space.
|
|
45
|
-
- Changed: Restored the card 29 `ColumnDots` / `CardList` default visual shape after CSS extraction: the primitive remains class-styleable, but the QA/default look matches the original compact track, dark dots, selected blue dot, and clean white cards.
|
|
46
|
-
- Changed: Added click-only FLIP movement animation to the card 30 horizontal toolbar menu when order or density changes elsewhere; the menu itself does not gain drag reorder behavior.
|
|
47
|
-
- Reason: Finish the settings usability pass without treating demo-only sketches as global style standards, and keep column-state demos visually usable while preserving the new CSS override contracts.
|
|
48
|
-
- Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand`; `git diff --check`; `npm run build`.
|
package/doc/changes/v1.0.39.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# v1.0.39
|
|
2
|
-
|
|
3
|
-
Date: 2026-07-09
|
|
4
|
-
|
|
5
|
-
- Changed: Added local in-memory `contextMenu.stats` diagnostics with `getSnapshot()`, `reset()`, and `onChange(cb)`.
|
|
6
|
-
- Changed: Counted direct `openAt`, `openAtPoint`, legacy Layer queued opens, empty opens, close/replace, and source/layer usage without storing menu labels.
|
|
7
|
-
- Changed: Added explicit `MenuItemStrict.actionKey` and action-level `contextMenu.stats` counters: aggregate `actionTotals` plus keyed `actions[actionKey]` for click/ok/error/task/submenu/func/focus outcomes.
|
|
8
|
-
- Changed: Added focused tests for direct stats, reset/onChange, the legacy `contextMenu.map` Layer path, keyed actions, unkeyed action totals, and keyed submenu stats.
|
|
9
|
-
- Changed: Clarified the columnState menu guidance: `createToolbar({source: cs.api.listSource})` is the richer Settings-integrated surface; `ColumnsMenu` remains the compact presentation menu.
|
|
10
|
-
- Changed: Extracted card 27 `BoardDemo` stand-only inline styles into local style helpers without changing `useReorderBoard` behavior.
|
|
11
|
-
- Changed: Recorded the style-system default contract inventory and corrected the style source-of-truth paths for the next token migration.
|
|
12
|
-
- Changed: Moved `ColumnsMenu/MenuStrip` visual button styles into `.wenayColsMenu*` classes and `--cols-menu-*` tokens while leaving runtime reorder transforms inline.
|
|
13
|
-
- Changed: Tokenized `ColumnDots` / `CardList` restored defaults through `--cols-dots-*` and `--cols-card-*` without changing component runtime geometry.
|
|
14
|
-
- Changed: Added headless `useTextInputPanel` and `useFileInputPanel` hooks while keeping the old input panel/modal components as compatible visual wrappers.
|
|
15
|
-
- Changed: Increased `ColumnDots` default max visible dots from 4 to 8 and updated QA card 29 to show 8 fields with the dots control overlaid on the bottom card.
|
|
16
|
-
- Changed: Split `MiniLogs` into hook/controller-first layers: `useMiniLogsTable`, `MiniLogsView`, `MiniLogsTable`, with `MiniLogs` kept as the compatibility wrapper.
|
|
17
|
-
- Changed: Added MiniLogs hook tests and updated QA card 9 plus usage docs for the compact log table flow.
|
|
18
|
-
- Changed: Added `useRightMenuController` as the hook/controller layer behind `DropdownMenu`; kept `DropdownMenu` and `createRightMenuController().Render` compatible.
|
|
19
|
-
- Changed: Added RightMenu tests for mounted controller rerender, direct hook state, hover submenu, and fixed toggle compatibility.
|
|
20
|
-
- Changed: Added `useParamsEditorController` as the first controller layer for `ParamsEditor` draft clone, immediate/delayed notify, expand callback, and timer cleanup.
|
|
21
|
-
- Changed: Added ParamsEditor controller tests for clone isolation, delayed notify cleanup, and current expand callbacks.
|
|
22
|
-
- Changed: Moved context logger `LogsTable` from raw `AgGridReact` to shared `AgGridTable` defaults and added `logs.copyCell` action stats key to `PageLogs` copy menu.
|
|
23
|
-
- Changed: Added headless `createLogsController` / `createLogsControllerState` for log append, limits, latest rows, settings, and update emitters while keeping `getLogsApi` as the compatibility entrypoint.
|
|
24
|
-
- Changed: Added Logs controller tests for append order, `num`, mini/per-id limits, fresh latest, and settings emitters.
|
|
25
|
-
- Changed: Added `useSettingsDialogController` as the first controller layer for `SettingsDialog` open/search/history/tree-cycle/nav-resize/Escape actions while keeping the visual wrapper compatible.
|
|
26
|
-
- Changed: Added a SettingsDialog controller test for headless open/search/current-section/tree-cycle state.
|
|
27
|
-
- Changed: Added context logger hooks `useLogsTableController` and `useLogsNotificationsController` while keeping `LogsTable` and `LogsNotifications` as visual wrappers.
|
|
28
|
-
- Changed: Added context logger hook tests for table rows/defaults/filter state and notification gate/show state.
|
|
29
|
-
- Changed: Added `useFloatingWindowController` plus public geometry/controller types as the first controller layer for `FloatingWindow` saved geometry, z-index stack, drag state, resize callbacks, and viewport clamp.
|
|
30
|
-
- Changed: Kept `FloatingWindowBase` as a compatibility visual wrapper over the same `Rnd` DOM/classes/gesture behavior; `DragBox` and `FResizableReact` were not rewritten.
|
|
31
|
-
- Changed: Added FloatingWindow controller tests for saved geometry restore, resize-stop commit, drag clamp/persistence touch, and live resize `onUpdate` forwarding.
|
|
32
|
-
- Changed: Updated QA card 25 toolbar subscription to use `useListenEffect(tb.api.onChange, ...)` instead of a manual `useEffect(() => listen.on(...))` cleanup.
|
|
33
|
-
- Fixed: `SettingsDialog` search history now closes when focus leaves the search box; added a regression test.
|
|
34
|
-
- Reason: Start the menu compatibility/statistics target with a safe diagnostics layer while keeping old public context-menu paths working.
|
|
35
|
-
- Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand logsController.test.ts miniLogs.test.tsx`; `npm run testjest -- --runInBand logsContextControllers.test.tsx`; `npm run testjest -- --runInBand contextMenuStats.test.tsx`; `npm run testjest -- --runInBand createRightMenuController.test.tsx`; `npm run testjest -- --runInBand paramsEditorController.test.tsx`; `npm run testjest -- --runInBand floatingWindowController.test.tsx`; `npm run testjest -- --runInBand createToolbar.test.ts`; `npm run testjest -- --runInBand __test/inputPanelHooks.test.tsx`; `npm run testjest -- --runInBand __test/settingsDialog.test.tsx`; `npm run testjest -- --runInBand`; `npm run build`; `git diff --check`.
|
package/doc/changes/v1.0.40.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# v1.0.40
|
|
2
|
-
|
|
3
|
-
Date: 2026-07-09
|
|
4
|
-
|
|
5
|
-
- Changed: Added FLIP-style item movement animation to the standard `createToolbar().Bar`, matching the card 30 behavior for horizontal toolbar menus.
|
|
6
|
-
- Changed: QA cards 25 and 31 now receive toolbar item glide animation through the shared `Toolbar.Bar`; card 30 remains the stand-only visual reference.
|
|
7
|
-
- Changed: Added `useFloatingWindowController` plus public geometry/controller types as the first controller layer for `FloatingWindow` saved geometry, z-index stack, drag state, resize callbacks, and viewport clamp.
|
|
8
|
-
- Changed: Added controller-first layers for MiniLogs, RightMenu, ParamsEditor, Logs, SettingsDialog, and context logger UI wrappers while keeping compatibility components.
|
|
9
|
-
- Changed: Added explicit `MenuItemStrict.actionKey` and action-level `contextMenu.stats` counters.
|
|
10
|
-
- Changed: Moved log tables and context log table to shared `AgGridTable` primitives where behavior was safe to preserve.
|
|
11
|
-
- Changed: Updated QA card 25 toolbar subscription to use `useListenEffect(tb.api.onChange, ...)` instead of a manual `useEffect(() => listen.on(...))` cleanup.
|
|
12
|
-
- Fixed: `SettingsDialog` search history closes when focus leaves the search box.
|
|
13
|
-
- Skipped: `FResizableReact` hook, `memoryStore` core rewrite, broad `DragBox` rewrite, `PageVisibilityProvider` adoption, and `logsContext` persistence migration until a real consumer/test scenario exists.
|
|
14
|
-
- Note: The QA stand mounts log tables in card 9; top-right log notification layers exist in the library but are not mounted globally in the stand.
|
|
15
|
-
- Verification: `npx tsc -p tsconfig.qa-check.json --noEmit`; `npm run testjest -- --runInBand`; `npm run build`; `git diff --check`.
|