@qontinui/navigation 0.1.1 → 0.1.2
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/index.cjs +230 -221
- package/dist/index.d.cts +34 -11
- package/dist/index.d.ts +34 -11
- package/dist/index.js +220 -211
- package/package.json +4 -3
package/dist/index.d.cts
CHANGED
|
@@ -148,24 +148,44 @@ type NavigationAction = {
|
|
|
148
148
|
* - platform: "runner" | "web" | both (default) — which app shows the item
|
|
149
149
|
* - productMode: "ai" | "visual" | "both" | undefined (default=both) — which product mode
|
|
150
150
|
* - hiddenInProd: true — dev-only items hidden in production
|
|
151
|
+
*
|
|
152
|
+
* ---------------------------------------------------------------------------
|
|
153
|
+
* Terminal-centric information architecture (2026-06).
|
|
154
|
+
* ---------------------------------------------------------------------------
|
|
155
|
+
* The Terminal page is now the primary surface — most users live there running
|
|
156
|
+
* Claude Code / shell sessions. The previous IA (RUN / OBSERVE / LEARN / BUILD /
|
|
157
|
+
* WRAPPERS / CONFIGURE / SCHEDULE) was organised around the older
|
|
158
|
+
* setup→verification→agentic→completion workflow-loop paradigm and surfaced
|
|
159
|
+
* ~25 items by default, burying the handful a session-driven user touches daily.
|
|
160
|
+
*
|
|
161
|
+
* The new IA applies progressive disclosure:
|
|
162
|
+
* - WORKSPACE / REVIEW / SYSTEM — the daily set, expanded by default.
|
|
163
|
+
* - SPEND / AUTOMATE / BUILD / INSIGHTS / CONFIGURE / DEV — collapsed; the
|
|
164
|
+
* legacy workflow-builder + monitoring + accumulated-intelligence long tail,
|
|
165
|
+
* all still one disclosure-click away (nothing is removed; every route and
|
|
166
|
+
* tab id is preserved so deep-links and tab-activation keep resolving).
|
|
167
|
+
*
|
|
168
|
+
* Both platforms share this structure; per-item `platforms`/`productMode`
|
|
169
|
+
* filters yield the right view for each (web has no Terminal; runner has no
|
|
170
|
+
* Dashboard/Runners, etc.).
|
|
151
171
|
*/
|
|
152
172
|
|
|
153
|
-
declare const
|
|
154
|
-
declare const
|
|
173
|
+
declare const WORKSPACE_ITEMS: NavigationItem[];
|
|
174
|
+
declare const WORKSPACE_GROUP: NavigationGroup;
|
|
155
175
|
declare const SESSION_ITEMS: NavigationItem[];
|
|
156
176
|
declare const RUNS_ITEMS: NavigationItem[];
|
|
157
|
-
declare const
|
|
158
|
-
declare const
|
|
159
|
-
declare const
|
|
160
|
-
declare const
|
|
177
|
+
declare const REVIEW_ITEMS: NavigationItem[];
|
|
178
|
+
declare const REVIEW_GROUP: NavigationGroup;
|
|
179
|
+
declare const SPEND_ITEMS: NavigationItem[];
|
|
180
|
+
declare const SPEND_GROUP: NavigationGroup;
|
|
181
|
+
declare const AUTOMATE_ITEMS: NavigationItem[];
|
|
182
|
+
declare const AUTOMATE_GROUP: NavigationGroup;
|
|
161
183
|
declare const BUILD_ITEMS: NavigationItem[];
|
|
162
184
|
declare const BUILD_GROUP: NavigationGroup;
|
|
163
|
-
declare const
|
|
164
|
-
declare const
|
|
185
|
+
declare const INSIGHTS_ITEMS: NavigationItem[];
|
|
186
|
+
declare const INSIGHTS_GROUP: NavigationGroup;
|
|
165
187
|
declare const CONFIGURE_ITEMS: NavigationItem[];
|
|
166
188
|
declare const CONFIGURE_GROUP: NavigationGroup;
|
|
167
|
-
declare const SCHEDULE_ITEMS: NavigationItem[];
|
|
168
|
-
declare const SCHEDULE_GROUP: NavigationGroup;
|
|
169
189
|
declare const DEV_ITEMS: NavigationItem[];
|
|
170
190
|
declare const DEV_GROUP: NavigationGroup;
|
|
171
191
|
declare const SETTINGS_ITEMS: NavigationItem[];
|
|
@@ -173,6 +193,9 @@ declare const SYSTEM_ITEMS: NavigationItem[];
|
|
|
173
193
|
declare const SYSTEM_GROUP: NavigationGroup;
|
|
174
194
|
/**
|
|
175
195
|
* All navigation groups in order.
|
|
196
|
+
*
|
|
197
|
+
* Order is deliberate: the expanded daily set (WORKSPACE, REVIEW) leads;
|
|
198
|
+
* the collapsed legacy/long-tail groups follow; SYSTEM anchors the bottom.
|
|
176
199
|
*/
|
|
177
200
|
declare const NAVIGATION_GROUPS: NavigationGroup[];
|
|
178
201
|
/**
|
|
@@ -414,4 +437,4 @@ interface NavigationItemShellProps {
|
|
|
414
437
|
*/
|
|
415
438
|
declare function NavigationItemShell({ item, onActivate, children, }: NavigationItemShellProps): React.ReactElement;
|
|
416
439
|
|
|
417
|
-
export { BUILD_GROUP, BUILD_ITEMS, CHILDREN_MAP, CONFIGURE_GROUP, CONFIGURE_ITEMS, DEV_GROUP, DEV_ITEMS, ICON_NAMES,
|
|
440
|
+
export { AUTOMATE_GROUP, AUTOMATE_ITEMS, BUILD_GROUP, BUILD_ITEMS, CHILDREN_MAP, CONFIGURE_GROUP, CONFIGURE_ITEMS, DEV_GROUP, DEV_ITEMS, ICON_NAMES, INSIGHTS_GROUP, INSIGHTS_ITEMS, type IconName, NAVIGATION_GROUPS, type NavigationAction, type NavigationBadge, type NavigationGroup, type NavigationItem, type NavigationItemLike, NavigationItemShell, type NavigationItemShellProps, type NavigationState, type Platform, REVIEW_GROUP, REVIEW_ITEMS, RUNS_ITEMS, SESSION_ITEMS, SETTINGS_ITEMS, SPEND_GROUP, SPEND_ITEMS, STORAGE_KEYS, SYSTEM_GROUP, SYSTEM_ITEMS, type SecondarySidebarState, WORKSPACE_GROUP, WORKSPACE_ITEMS, createInitialState, deserializeState, filterGroupForPlatform, filterGroupsForPlatform, filterItemsForPlatform, findItemById, getAllItems, getChildrenForPlatform, getChildrenItems, getItemGroup, getNavigationGroups, getProductMode, getRunnerNavigation, getWebNavigation, isDevelopmentMode, isGroupExpanded, isItemActive, isItemAvailable, isItemExpanded, isSecondaryOpenFor, isValidIconName, navigationActions, navigationReducer, serializeState, setDevelopmentMode, setProductMode, useNavigationItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -148,24 +148,44 @@ type NavigationAction = {
|
|
|
148
148
|
* - platform: "runner" | "web" | both (default) — which app shows the item
|
|
149
149
|
* - productMode: "ai" | "visual" | "both" | undefined (default=both) — which product mode
|
|
150
150
|
* - hiddenInProd: true — dev-only items hidden in production
|
|
151
|
+
*
|
|
152
|
+
* ---------------------------------------------------------------------------
|
|
153
|
+
* Terminal-centric information architecture (2026-06).
|
|
154
|
+
* ---------------------------------------------------------------------------
|
|
155
|
+
* The Terminal page is now the primary surface — most users live there running
|
|
156
|
+
* Claude Code / shell sessions. The previous IA (RUN / OBSERVE / LEARN / BUILD /
|
|
157
|
+
* WRAPPERS / CONFIGURE / SCHEDULE) was organised around the older
|
|
158
|
+
* setup→verification→agentic→completion workflow-loop paradigm and surfaced
|
|
159
|
+
* ~25 items by default, burying the handful a session-driven user touches daily.
|
|
160
|
+
*
|
|
161
|
+
* The new IA applies progressive disclosure:
|
|
162
|
+
* - WORKSPACE / REVIEW / SYSTEM — the daily set, expanded by default.
|
|
163
|
+
* - SPEND / AUTOMATE / BUILD / INSIGHTS / CONFIGURE / DEV — collapsed; the
|
|
164
|
+
* legacy workflow-builder + monitoring + accumulated-intelligence long tail,
|
|
165
|
+
* all still one disclosure-click away (nothing is removed; every route and
|
|
166
|
+
* tab id is preserved so deep-links and tab-activation keep resolving).
|
|
167
|
+
*
|
|
168
|
+
* Both platforms share this structure; per-item `platforms`/`productMode`
|
|
169
|
+
* filters yield the right view for each (web has no Terminal; runner has no
|
|
170
|
+
* Dashboard/Runners, etc.).
|
|
151
171
|
*/
|
|
152
172
|
|
|
153
|
-
declare const
|
|
154
|
-
declare const
|
|
173
|
+
declare const WORKSPACE_ITEMS: NavigationItem[];
|
|
174
|
+
declare const WORKSPACE_GROUP: NavigationGroup;
|
|
155
175
|
declare const SESSION_ITEMS: NavigationItem[];
|
|
156
176
|
declare const RUNS_ITEMS: NavigationItem[];
|
|
157
|
-
declare const
|
|
158
|
-
declare const
|
|
159
|
-
declare const
|
|
160
|
-
declare const
|
|
177
|
+
declare const REVIEW_ITEMS: NavigationItem[];
|
|
178
|
+
declare const REVIEW_GROUP: NavigationGroup;
|
|
179
|
+
declare const SPEND_ITEMS: NavigationItem[];
|
|
180
|
+
declare const SPEND_GROUP: NavigationGroup;
|
|
181
|
+
declare const AUTOMATE_ITEMS: NavigationItem[];
|
|
182
|
+
declare const AUTOMATE_GROUP: NavigationGroup;
|
|
161
183
|
declare const BUILD_ITEMS: NavigationItem[];
|
|
162
184
|
declare const BUILD_GROUP: NavigationGroup;
|
|
163
|
-
declare const
|
|
164
|
-
declare const
|
|
185
|
+
declare const INSIGHTS_ITEMS: NavigationItem[];
|
|
186
|
+
declare const INSIGHTS_GROUP: NavigationGroup;
|
|
165
187
|
declare const CONFIGURE_ITEMS: NavigationItem[];
|
|
166
188
|
declare const CONFIGURE_GROUP: NavigationGroup;
|
|
167
|
-
declare const SCHEDULE_ITEMS: NavigationItem[];
|
|
168
|
-
declare const SCHEDULE_GROUP: NavigationGroup;
|
|
169
189
|
declare const DEV_ITEMS: NavigationItem[];
|
|
170
190
|
declare const DEV_GROUP: NavigationGroup;
|
|
171
191
|
declare const SETTINGS_ITEMS: NavigationItem[];
|
|
@@ -173,6 +193,9 @@ declare const SYSTEM_ITEMS: NavigationItem[];
|
|
|
173
193
|
declare const SYSTEM_GROUP: NavigationGroup;
|
|
174
194
|
/**
|
|
175
195
|
* All navigation groups in order.
|
|
196
|
+
*
|
|
197
|
+
* Order is deliberate: the expanded daily set (WORKSPACE, REVIEW) leads;
|
|
198
|
+
* the collapsed legacy/long-tail groups follow; SYSTEM anchors the bottom.
|
|
176
199
|
*/
|
|
177
200
|
declare const NAVIGATION_GROUPS: NavigationGroup[];
|
|
178
201
|
/**
|
|
@@ -414,4 +437,4 @@ interface NavigationItemShellProps {
|
|
|
414
437
|
*/
|
|
415
438
|
declare function NavigationItemShell({ item, onActivate, children, }: NavigationItemShellProps): React.ReactElement;
|
|
416
439
|
|
|
417
|
-
export { BUILD_GROUP, BUILD_ITEMS, CHILDREN_MAP, CONFIGURE_GROUP, CONFIGURE_ITEMS, DEV_GROUP, DEV_ITEMS, ICON_NAMES,
|
|
440
|
+
export { AUTOMATE_GROUP, AUTOMATE_ITEMS, BUILD_GROUP, BUILD_ITEMS, CHILDREN_MAP, CONFIGURE_GROUP, CONFIGURE_ITEMS, DEV_GROUP, DEV_ITEMS, ICON_NAMES, INSIGHTS_GROUP, INSIGHTS_ITEMS, type IconName, NAVIGATION_GROUPS, type NavigationAction, type NavigationBadge, type NavigationGroup, type NavigationItem, type NavigationItemLike, NavigationItemShell, type NavigationItemShellProps, type NavigationState, type Platform, REVIEW_GROUP, REVIEW_ITEMS, RUNS_ITEMS, SESSION_ITEMS, SETTINGS_ITEMS, SPEND_GROUP, SPEND_ITEMS, STORAGE_KEYS, SYSTEM_GROUP, SYSTEM_ITEMS, type SecondarySidebarState, WORKSPACE_GROUP, WORKSPACE_ITEMS, createInitialState, deserializeState, filterGroupForPlatform, filterGroupsForPlatform, filterItemsForPlatform, findItemById, getAllItems, getChildrenForPlatform, getChildrenItems, getItemGroup, getNavigationGroups, getProductMode, getRunnerNavigation, getWebNavigation, isDevelopmentMode, isGroupExpanded, isItemActive, isItemAvailable, isItemExpanded, isSecondaryOpenFor, isValidIconName, navigationActions, navigationReducer, serializeState, setDevelopmentMode, setProductMode, useNavigationItem };
|