@elench/shell 0.1.1 → 0.1.3

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.
Files changed (307) hide show
  1. package/README.md +46 -7
  2. package/dist/components/shell/activity-bar.d.ts +2 -0
  3. package/dist/components/shell/activity-bar.d.ts.map +1 -0
  4. package/dist/components/shell/activity-bar.js +19 -0
  5. package/dist/components/shell/activity-bar.js.map +1 -0
  6. package/dist/components/shell/app-shell.d.ts +11 -0
  7. package/dist/components/shell/app-shell.d.ts.map +1 -0
  8. package/dist/components/shell/app-shell.js +323 -0
  9. package/dist/components/shell/app-shell.js.map +1 -0
  10. package/dist/components/shell/context-action-menu.d.ts +7 -0
  11. package/dist/components/shell/context-action-menu.d.ts.map +1 -0
  12. package/dist/components/shell/context-action-menu.js +75 -0
  13. package/dist/components/shell/context-action-menu.js.map +1 -0
  14. package/dist/components/shell/default-layout.d.ts +3 -0
  15. package/dist/components/shell/default-layout.d.ts.map +1 -0
  16. package/dist/components/shell/default-layout.js +63 -0
  17. package/dist/components/shell/default-layout.js.map +1 -0
  18. package/dist/components/shell/left-sidebar.d.ts +2 -0
  19. package/dist/components/shell/left-sidebar.d.ts.map +1 -0
  20. package/dist/components/shell/left-sidebar.js +16 -0
  21. package/dist/components/shell/left-sidebar.js.map +1 -0
  22. package/dist/components/shell/primitives/activity-nav.d.ts +7 -0
  23. package/dist/components/shell/primitives/activity-nav.d.ts.map +1 -0
  24. package/dist/components/shell/primitives/activity-nav.js +12 -0
  25. package/dist/components/shell/primitives/activity-nav.js.map +1 -0
  26. package/dist/components/shell/primitives/inspector-panel.d.ts +25 -0
  27. package/dist/components/shell/primitives/inspector-panel.d.ts.map +1 -0
  28. package/dist/components/shell/primitives/inspector-panel.js +32 -0
  29. package/dist/components/shell/primitives/inspector-panel.js.map +1 -0
  30. package/dist/components/shell/primitives/instance-row.d.ts +20 -0
  31. package/dist/components/shell/primitives/instance-row.d.ts.map +1 -0
  32. package/dist/components/shell/primitives/instance-row.js +16 -0
  33. package/dist/components/shell/primitives/instance-row.js.map +1 -0
  34. package/dist/components/shell/primitives/search-bar-primitives.d.ts +21 -0
  35. package/dist/components/shell/primitives/search-bar-primitives.d.ts.map +1 -0
  36. package/dist/components/shell/primitives/search-bar-primitives.js +24 -0
  37. package/dist/components/shell/primitives/search-bar-primitives.js.map +1 -0
  38. package/dist/components/shell/primitives/shell-frame.d.ts +10 -0
  39. package/dist/components/shell/primitives/shell-frame.d.ts.map +1 -0
  40. package/dist/components/shell/primitives/shell-frame.js +26 -0
  41. package/dist/components/shell/primitives/shell-frame.js.map +1 -0
  42. package/dist/components/shell/primitives/shell-status-bar.d.ts +13 -0
  43. package/dist/components/shell/primitives/shell-status-bar.d.ts.map +1 -0
  44. package/dist/components/shell/primitives/shell-status-bar.js +18 -0
  45. package/dist/components/shell/primitives/shell-status-bar.js.map +1 -0
  46. package/dist/components/shell/primitives/shell-surface.d.ts +19 -0
  47. package/dist/components/shell/primitives/shell-surface.d.ts.map +1 -0
  48. package/dist/components/shell/primitives/shell-surface.js +73 -0
  49. package/dist/components/shell/primitives/shell-surface.js.map +1 -0
  50. package/dist/components/shell/primitives/shell-toolbar.d.ts +8 -0
  51. package/dist/components/shell/primitives/shell-toolbar.d.ts.map +1 -0
  52. package/dist/components/shell/primitives/shell-toolbar.js +22 -0
  53. package/dist/components/shell/primitives/shell-toolbar.js.map +1 -0
  54. package/dist/components/shell/primitives/sidebar-action-row.d.ts +14 -0
  55. package/dist/components/shell/primitives/sidebar-action-row.d.ts.map +1 -0
  56. package/dist/components/shell/primitives/sidebar-action-row.js +9 -0
  57. package/dist/components/shell/primitives/sidebar-action-row.js.map +1 -0
  58. package/dist/components/shell/primitives/sidebar-frame.d.ts +12 -0
  59. package/dist/components/shell/primitives/sidebar-frame.d.ts.map +1 -0
  60. package/dist/components/shell/primitives/sidebar-frame.js +19 -0
  61. package/dist/components/shell/primitives/sidebar-frame.js.map +1 -0
  62. package/dist/components/shell/primitives/sidebar-section.d.ts +15 -0
  63. package/dist/components/shell/primitives/sidebar-section.d.ts.map +1 -0
  64. package/dist/components/shell/primitives/sidebar-section.js +23 -0
  65. package/dist/components/shell/primitives/sidebar-section.js.map +1 -0
  66. package/dist/components/shell/primitives/workspace-page.d.ts +21 -0
  67. package/dist/components/shell/primitives/workspace-page.d.ts.map +1 -0
  68. package/dist/components/shell/primitives/workspace-page.js +18 -0
  69. package/dist/components/shell/primitives/workspace-page.js.map +1 -0
  70. package/dist/components/shell/right-inspector.d.ts +2 -0
  71. package/dist/components/shell/right-inspector.d.ts.map +1 -0
  72. package/dist/components/shell/right-inspector.js +32 -0
  73. package/dist/components/shell/right-inspector.js.map +1 -0
  74. package/dist/components/shell/search-action-groups.d.ts +6 -0
  75. package/dist/components/shell/search-action-groups.d.ts.map +1 -0
  76. package/dist/components/shell/search-action-groups.js +37 -0
  77. package/dist/components/shell/search-action-groups.js.map +1 -0
  78. package/dist/components/shell/search-bar.d.ts +2 -0
  79. package/dist/components/shell/search-bar.d.ts.map +1 -0
  80. package/dist/components/shell/search-bar.js +161 -0
  81. package/dist/components/shell/search-bar.js.map +1 -0
  82. package/dist/components/shell/shell-layout.d.ts +30 -0
  83. package/dist/components/shell/shell-layout.d.ts.map +1 -0
  84. package/dist/components/shell/shell-layout.js +176 -0
  85. package/dist/components/shell/shell-layout.js.map +1 -0
  86. package/dist/components/shell/shell-model.d.ts +14 -0
  87. package/dist/components/shell/shell-model.d.ts.map +1 -0
  88. package/dist/components/shell/shell-model.js +75 -0
  89. package/dist/components/shell/shell-model.js.map +1 -0
  90. package/dist/components/shell/status-bar.d.ts +2 -0
  91. package/dist/components/shell/status-bar.d.ts.map +1 -0
  92. package/dist/components/shell/status-bar.js +16 -0
  93. package/dist/components/shell/status-bar.js.map +1 -0
  94. package/dist/components/shell/tab-strip-bridge.d.ts +32 -0
  95. package/dist/components/shell/tab-strip-bridge.d.ts.map +1 -0
  96. package/dist/components/shell/tab-strip-bridge.js +46 -0
  97. package/dist/components/shell/tab-strip-bridge.js.map +1 -0
  98. package/dist/components/shell/top-bar.d.ts +2 -0
  99. package/dist/components/shell/top-bar.d.ts.map +1 -0
  100. package/dist/components/shell/top-bar.js +24 -0
  101. package/dist/components/shell/top-bar.js.map +1 -0
  102. package/dist/components/shell/use-shell-surface-action-groups.d.ts +16 -0
  103. package/dist/components/shell/use-shell-surface-action-groups.d.ts.map +1 -0
  104. package/dist/components/shell/use-shell-surface-action-groups.js +169 -0
  105. package/dist/components/shell/use-shell-surface-action-groups.js.map +1 -0
  106. package/dist/components/shell/workspace-surface-context-menu.d.ts +12 -0
  107. package/dist/components/shell/workspace-surface-context-menu.d.ts.map +1 -0
  108. package/dist/components/shell/workspace-surface-context-menu.js +27 -0
  109. package/dist/components/shell/workspace-surface-context-menu.js.map +1 -0
  110. package/dist/components/shell/workspace-tab-content.d.ts +7 -0
  111. package/dist/components/shell/workspace-tab-content.d.ts.map +1 -0
  112. package/dist/components/shell/workspace-tab-content.js +15 -0
  113. package/dist/components/shell/workspace-tab-content.js.map +1 -0
  114. package/dist/components/system/async-state.d.ts +22 -0
  115. package/dist/components/system/async-state.d.ts.map +1 -0
  116. package/dist/components/system/async-state.js +34 -0
  117. package/dist/components/system/async-state.js.map +1 -0
  118. package/dist/components/system/status.d.ts +16 -0
  119. package/dist/components/system/status.d.ts.map +1 -0
  120. package/dist/components/system/status.js +42 -0
  121. package/dist/components/system/status.js.map +1 -0
  122. package/dist/components/ui/badge.d.ts +10 -0
  123. package/dist/components/ui/badge.d.ts.map +1 -0
  124. package/dist/components/ui/badge.js +26 -0
  125. package/dist/components/ui/badge.js.map +1 -0
  126. package/dist/components/ui/button.d.ts +11 -0
  127. package/dist/components/ui/button.d.ts.map +1 -0
  128. package/dist/components/ui/button.js +37 -0
  129. package/dist/components/ui/button.js.map +1 -0
  130. package/dist/components/ui/card.d.ts +12 -0
  131. package/dist/components/ui/card.d.ts.map +1 -0
  132. package/dist/components/ui/card.js +26 -0
  133. package/dist/components/ui/card.js.map +1 -0
  134. package/dist/components/ui/checkbox.d.ts +5 -0
  135. package/dist/components/ui/checkbox.d.ts.map +1 -0
  136. package/dist/components/ui/checkbox.js +11 -0
  137. package/dist/components/ui/checkbox.js.map +1 -0
  138. package/dist/components/ui/context-menu.d.ts +31 -0
  139. package/dist/components/ui/context-menu.d.ts.map +1 -0
  140. package/dist/components/ui/context-menu.js +54 -0
  141. package/dist/components/ui/context-menu.js.map +1 -0
  142. package/dist/components/ui/dialog.d.ts +18 -0
  143. package/dist/components/ui/dialog.d.ts.map +1 -0
  144. package/dist/components/ui/dialog.js +39 -0
  145. package/dist/components/ui/dialog.js.map +1 -0
  146. package/dist/components/ui/dropdown-menu.d.ts +30 -0
  147. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  148. package/dist/components/ui/dropdown-menu.js +53 -0
  149. package/dist/components/ui/dropdown-menu.js.map +1 -0
  150. package/dist/components/ui/icon-button.d.ts +10 -0
  151. package/dist/components/ui/icon-button.d.ts.map +1 -0
  152. package/dist/components/ui/icon-button.js +7 -0
  153. package/dist/components/ui/icon-button.js.map +1 -0
  154. package/dist/components/ui/input.d.ts +4 -0
  155. package/dist/components/ui/input.d.ts.map +1 -0
  156. package/dist/components/ui/input.js +8 -0
  157. package/dist/components/ui/input.js.map +1 -0
  158. package/dist/components/ui/kbd.d.ts +3 -0
  159. package/dist/components/ui/kbd.d.ts.map +1 -0
  160. package/dist/components/ui/kbd.js +6 -0
  161. package/dist/components/ui/kbd.js.map +1 -0
  162. package/dist/components/ui/label.d.ts +5 -0
  163. package/dist/components/ui/label.d.ts.map +1 -0
  164. package/dist/components/ui/label.js +10 -0
  165. package/dist/components/ui/label.js.map +1 -0
  166. package/dist/components/ui/popover.d.ts +11 -0
  167. package/dist/components/ui/popover.d.ts.map +1 -0
  168. package/dist/components/ui/popover.js +28 -0
  169. package/dist/components/ui/popover.js.map +1 -0
  170. package/dist/components/ui/scroll-area.d.ts +6 -0
  171. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  172. package/dist/components/ui/scroll-area.js +13 -0
  173. package/dist/components/ui/scroll-area.js.map +1 -0
  174. package/dist/components/ui/search-field.d.ts +9 -0
  175. package/dist/components/ui/search-field.d.ts.map +1 -0
  176. package/dist/components/ui/search-field.js +9 -0
  177. package/dist/components/ui/search-field.js.map +1 -0
  178. package/dist/components/ui/select.d.ts +25 -0
  179. package/dist/components/ui/select.d.ts.map +1 -0
  180. package/dist/components/ui/select.js +35 -0
  181. package/dist/components/ui/select.js.map +1 -0
  182. package/dist/components/ui/separator.d.ts +5 -0
  183. package/dist/components/ui/separator.d.ts.map +1 -0
  184. package/dist/components/ui/separator.js +10 -0
  185. package/dist/components/ui/separator.js.map +1 -0
  186. package/dist/components/ui/skeleton.d.ts +3 -0
  187. package/dist/components/ui/skeleton.d.ts.map +1 -0
  188. package/dist/components/ui/skeleton.js +9 -0
  189. package/dist/components/ui/skeleton.js.map +1 -0
  190. package/dist/components/ui/switch.d.ts +7 -0
  191. package/dist/components/ui/switch.d.ts.map +1 -0
  192. package/dist/components/ui/switch.js +10 -0
  193. package/dist/components/ui/switch.js.map +1 -0
  194. package/dist/components/ui/tabs.d.ts +12 -0
  195. package/dist/components/ui/tabs.d.ts.map +1 -0
  196. package/dist/components/ui/tabs.js +31 -0
  197. package/dist/components/ui/tabs.js.map +1 -0
  198. package/dist/components/ui/textarea.d.ts +4 -0
  199. package/dist/components/ui/textarea.d.ts.map +1 -0
  200. package/dist/components/ui/textarea.js +8 -0
  201. package/dist/components/ui/textarea.js.map +1 -0
  202. package/dist/components/ui/tooltip.d.ts +8 -0
  203. package/dist/components/ui/tooltip.d.ts.map +1 -0
  204. package/dist/components/ui/tooltip.js +19 -0
  205. package/dist/components/ui/tooltip.js.map +1 -0
  206. package/dist/hooks/shell/shell-registry-provider.d.ts +20 -0
  207. package/dist/hooks/shell/shell-registry-provider.d.ts.map +1 -0
  208. package/dist/hooks/shell/shell-registry-provider.js +42 -0
  209. package/dist/hooks/shell/shell-registry-provider.js.map +1 -0
  210. package/dist/hooks/shell/use-shell-shortcuts.d.ts +2 -0
  211. package/dist/hooks/shell/use-shell-shortcuts.d.ts.map +1 -0
  212. package/dist/hooks/shell/use-shell-shortcuts.js +27 -0
  213. package/dist/hooks/shell/use-shell-shortcuts.js.map +1 -0
  214. package/dist/hooks/shell/use-shell-store.d.ts +40 -0
  215. package/dist/hooks/shell/use-shell-store.d.ts.map +1 -0
  216. package/dist/hooks/shell/use-shell-store.js +420 -0
  217. package/dist/hooks/shell/use-shell-store.js.map +1 -0
  218. package/dist/hooks/shell/use-shell-tab-strip-bridge.d.ts +7 -0
  219. package/dist/hooks/shell/use-shell-tab-strip-bridge.d.ts.map +1 -0
  220. package/dist/hooks/shell/use-shell-tab-strip-bridge.js +316 -0
  221. package/dist/hooks/shell/use-shell-tab-strip-bridge.js.map +1 -0
  222. package/dist/hooks/use-keyboard-shortcut.d.ts +10 -0
  223. package/dist/hooks/use-keyboard-shortcut.d.ts.map +1 -0
  224. package/dist/hooks/use-keyboard-shortcut.js +35 -0
  225. package/dist/hooks/use-keyboard-shortcut.js.map +1 -0
  226. package/dist/hooks/use-media-query.d.ts +2 -0
  227. package/dist/hooks/use-media-query.d.ts.map +1 -0
  228. package/dist/hooks/use-media-query.js +14 -0
  229. package/dist/hooks/use-media-query.js.map +1 -0
  230. package/dist/hooks/use-theme.d.ts +14 -0
  231. package/dist/hooks/use-theme.d.ts.map +1 -0
  232. package/dist/hooks/use-theme.js +43 -0
  233. package/dist/hooks/use-theme.js.map +1 -0
  234. package/dist/hooks/workspace/use-workspace-draft-store.d.ts +45 -0
  235. package/dist/hooks/workspace/use-workspace-draft-store.d.ts.map +1 -0
  236. package/dist/hooks/workspace/use-workspace-draft-store.js +197 -0
  237. package/dist/hooks/workspace/use-workspace-draft-store.js.map +1 -0
  238. package/dist/index.d.ts +3 -28
  239. package/dist/index.d.ts.map +1 -1
  240. package/dist/index.js +1 -1
  241. package/dist/index.js.map +1 -1
  242. package/dist/lib/infra/logger.d.ts +10 -0
  243. package/dist/lib/infra/logger.d.ts.map +1 -0
  244. package/dist/lib/infra/logger.js +24 -0
  245. package/dist/lib/infra/logger.js.map +1 -0
  246. package/dist/lib/observe/event.d.ts +20 -0
  247. package/dist/lib/observe/event.d.ts.map +1 -0
  248. package/dist/lib/observe/event.js +60 -0
  249. package/dist/lib/observe/event.js.map +1 -0
  250. package/dist/lib/observe/ids.d.ts +3 -0
  251. package/dist/lib/observe/ids.d.ts.map +1 -0
  252. package/dist/lib/observe/ids.js +9 -0
  253. package/dist/lib/observe/ids.js.map +1 -0
  254. package/dist/lib/observe/index.d.ts +7 -0
  255. package/dist/lib/observe/index.d.ts.map +1 -0
  256. package/dist/lib/observe/index.js +6 -0
  257. package/dist/lib/observe/index.js.map +1 -0
  258. package/dist/lib/observe/logger.d.ts +25 -0
  259. package/dist/lib/observe/logger.d.ts.map +1 -0
  260. package/dist/lib/observe/logger.js +53 -0
  261. package/dist/lib/observe/logger.js.map +1 -0
  262. package/dist/lib/observe/nop.d.ts +3 -0
  263. package/dist/lib/observe/nop.d.ts.map +1 -0
  264. package/dist/lib/observe/nop.js +9 -0
  265. package/dist/lib/observe/nop.js.map +1 -0
  266. package/dist/lib/observe/shell.d.ts +19 -0
  267. package/dist/lib/observe/shell.d.ts.map +1 -0
  268. package/dist/lib/observe/shell.js +49 -0
  269. package/dist/lib/observe/shell.js.map +1 -0
  270. package/dist/lib/observe/stdout.d.ts +3 -0
  271. package/dist/lib/observe/stdout.d.ts.map +1 -0
  272. package/dist/lib/observe/stdout.js +6 -0
  273. package/dist/lib/observe/stdout.js.map +1 -0
  274. package/dist/lib/observe/types.d.ts +14 -0
  275. package/dist/lib/observe/types.d.ts.map +1 -0
  276. package/dist/lib/observe/types.js +2 -0
  277. package/dist/lib/observe/types.js.map +1 -0
  278. package/dist/lib/shell/actions.d.ts +33 -0
  279. package/dist/lib/shell/actions.d.ts.map +1 -0
  280. package/dist/lib/shell/actions.js +2 -0
  281. package/dist/lib/shell/actions.js.map +1 -0
  282. package/dist/lib/shell/persistence.d.ts +7 -0
  283. package/dist/lib/shell/persistence.d.ts.map +1 -0
  284. package/dist/lib/shell/persistence.js +18 -0
  285. package/dist/lib/shell/persistence.js.map +1 -0
  286. package/dist/lib/shell/status.d.ts +4 -0
  287. package/dist/lib/shell/status.d.ts.map +1 -0
  288. package/dist/lib/shell/status.js +31 -0
  289. package/dist/lib/shell/status.js.map +1 -0
  290. package/dist/lib/shell/types.d.ts +40 -0
  291. package/dist/lib/shell/types.d.ts.map +1 -0
  292. package/dist/lib/shell/types.js +2 -0
  293. package/dist/lib/shell/types.js.map +1 -0
  294. package/dist/lib/utils.d.ts +4 -0
  295. package/dist/lib/utils.d.ts.map +1 -0
  296. package/dist/lib/utils.js +11 -0
  297. package/dist/lib/utils.js.map +1 -0
  298. package/dist/public-api.d.ts +109 -0
  299. package/dist/public-api.d.ts.map +1 -0
  300. package/dist/public-api.js +145 -0
  301. package/dist/public-api.js.map +1 -0
  302. package/dist/styles.css +249 -379
  303. package/package.json +17 -11
  304. package/dist/shell.d.ts +0 -147
  305. package/dist/shell.d.ts.map +0 -1
  306. package/dist/shell.js +0 -339
  307. package/dist/shell.js.map +0 -1
package/dist/styles.css CHANGED
@@ -1,475 +1,345 @@
1
- .elench-shell {
2
- --elench-shell-topbar-height: 36px;
3
- --elench-shell-status-height: 28px;
4
- --elench-shell-rail-width: 46px;
5
- --elench-shell-sidebar-width: 292px;
6
- --elench-shell-inspector-width: 292px;
7
- display: grid;
8
- grid-template-areas:
9
- "topbar topbar topbar topbar"
10
- "rail sidebar main inspector"
11
- "status status status status";
12
- grid-template-columns:
13
- var(--elench-shell-rail-width)
14
- var(--elench-shell-sidebar-width)
15
- minmax(0, 1fr)
16
- var(--elench-shell-inspector-width);
17
- grid-template-rows: var(--elench-shell-topbar-height) minmax(0, 1fr) var(
18
- --elench-shell-status-height
19
- );
20
- width: 100vw;
21
- height: 100vh;
22
- min-height: 0;
23
- overflow: hidden;
24
- background: var(--bg-primary, #0a1120);
25
- color: var(--fg, #e5edf7);
26
- }
27
-
28
- .elench-shell[data-left-sidebar="closed"] {
29
- grid-template-areas:
30
- "topbar topbar topbar"
31
- "rail main inspector"
32
- "status status status";
33
- grid-template-columns:
34
- var(--elench-shell-rail-width)
35
- minmax(0, 1fr)
36
- var(--elench-shell-inspector-width);
1
+ @import "flexlayout-react/style/light.css";
2
+
3
+ /* ═══════ FlexLayout Avocado Theme ═══════ */
4
+
5
+ .flexlayout__layout {
6
+ --color-text: var(--fg);
7
+ --color-background: var(--bg-surface);
8
+ --color-1: var(--border);
9
+ --color-2: var(--bg-hover);
10
+ --color-3: var(--fg-tertiary);
11
+ --color-4: var(--fg-secondary);
12
+ --color-5: var(--bg-surface);
13
+ --color-6: var(--bg-base);
14
+
15
+ /* Tabs */
16
+ --color-tabset-background: var(--bg-surface);
17
+ --color-tabset-header-background: var(--bg-surface);
18
+ --color-tabset-divider-line: var(--border);
19
+
20
+ --color-tab-selected: var(--primary);
21
+ --color-tab-selected-background: rgba(var(--primary-rgb), 0.06);
22
+ --color-tab-unselected: var(--fg-tertiary);
23
+ --color-tab-unselected-background: transparent;
24
+
25
+ /* Splitter */
26
+ --color-splitter: transparent;
27
+ --color-splitter-hover: var(--primary);
28
+ --color-splitter-drag: var(--primary);
29
+
30
+ /* Border (sidebar/inspector) */
31
+ --color-border-background: var(--bg-surface);
32
+ --color-border-divider-line: var(--border);
33
+ --color-border-tab-selected: var(--fg);
34
+ --color-border-tab-selected-background: var(--bg-surface);
35
+ --color-border-tab-unselected: var(--fg-tertiary);
36
+ --color-border-tab-unselected-background: transparent;
37
+
38
+ /* Drag */
39
+ --color-drag1: hsl(var(--primary-hsl) / 0.1);
40
+ --color-drag1-background: hsl(var(--primary-hsl) / 0.08);
41
+ --color-drag2: hsl(var(--primary-hsl) / 0.2);
42
+ --color-drag2-background: hsl(var(--primary-hsl) / 0.12);
43
+
44
+ /* Font */
45
+ --font-size: 12px;
46
+ --font-family: var(--font-sans);
47
+ --shell-tab-button-min-width: 175px;
48
+ --shell-tab-button-max-width: 175px;
49
+
50
+ background-color: var(--bg-base);
51
+ }
52
+
53
+ /* ═══════ Tab strip ═══════ */
54
+
55
+ .flexlayout__tabset_tabbar_outer {
56
+ background: var(--bg-surface);
57
+ border-bottom: none;
58
+ height: 36px;
59
+ }
60
+
61
+ .flexlayout__tabset_tabbar_inner_tab_container {
62
+ padding-left: 0;
63
+ padding-right: 0;
64
+ gap: 0;
65
+ --shell-tab-indicator-left: 0px;
66
+ --shell-tab-indicator-width: 0px;
67
+ --shell-tab-indicator-opacity: 0;
68
+ --shell-tab-indicator-settle-duration: 160ms;
69
+ --shell-tab-indicator-ease: cubic-bezier(0.22, 1, 0.36, 1);
70
+ }
71
+
72
+ .flexlayout__tabset_tabbar_inner_tab_container::after {
73
+ content: "";
74
+ position: absolute;
75
+ left: var(--shell-tab-indicator-left);
76
+ bottom: 0;
77
+ width: var(--shell-tab-indicator-width);
78
+ height: 2px;
79
+ background: var(--gradient-brand);
80
+ opacity: var(--shell-tab-indicator-opacity);
81
+ pointer-events: none;
82
+ transition: opacity 0.12s ease;
37
83
  }
38
84
 
39
- .elench-shell[data-right-inspector="closed"] {
40
- grid-template-areas:
41
- "topbar topbar topbar"
42
- "rail sidebar main"
43
- "status status status";
44
- grid-template-columns:
45
- var(--elench-shell-rail-width)
46
- var(--elench-shell-sidebar-width)
47
- minmax(0, 1fr);
85
+ .flexlayout__tabset_tabbar_inner_tab_container[data-shell-tab-indicator="settling"]::after {
86
+ transition:
87
+ left var(--shell-tab-indicator-settle-duration) var(--shell-tab-indicator-ease),
88
+ width var(--shell-tab-indicator-settle-duration) var(--shell-tab-indicator-ease),
89
+ opacity 0.12s ease;
48
90
  }
49
91
 
50
- .elench-shell[data-left-sidebar="closed"][data-right-inspector="closed"] {
51
- grid-template-areas:
52
- "topbar topbar"
53
- "rail main"
54
- "status status";
55
- grid-template-columns: var(--elench-shell-rail-width) minmax(0, 1fr);
92
+ .flexlayout__tabset_tabbar_inner_tab_container_top {
93
+ border-top: none;
56
94
  }
57
95
 
58
- .elench-shell button {
59
- font: inherit;
96
+ .flexlayout__tabset_tab_divider {
97
+ width: 0;
60
98
  }
61
99
 
62
- .elench-shell-topbar {
63
- grid-area: topbar;
64
- display: flex;
65
- align-items: center;
66
- justify-content: space-between;
67
- border-bottom: 1px solid var(--border, #1e2d44);
68
- background: var(--bg-secondary, #0f172a);
69
- padding: 0 8px 0 12px;
70
- }
100
+ /* ═══════ Tab buttons ═══════ */
71
101
 
72
- .elench-shell-topbar-title {
73
- min-width: 0;
74
- overflow: hidden;
75
- color: var(--fg-secondary, #a8b5c7);
102
+ .flexlayout__tab_button {
103
+ font-family: var(--font-sans);
76
104
  font-size: 12px;
77
- font-weight: 650;
78
- text-overflow: ellipsis;
105
+ font-weight: 450;
106
+ min-width: var(--shell-tab-button-min-width);
107
+ max-width: var(--shell-tab-button-max-width);
108
+ padding: 0 14px;
109
+ gap: 6px;
110
+ color: var(--fg-tertiary);
111
+ border-radius: 0;
112
+ margin: 0;
113
+ border-right: none;
114
+ position: relative;
79
115
  white-space: nowrap;
116
+ transition:
117
+ color 0.15s,
118
+ background-color 0.15s;
80
119
  }
81
120
 
82
- .elench-shell-topbar-actions {
83
- display: flex;
84
- align-items: center;
85
- gap: 2px;
121
+ .flexlayout__tab_button:hover {
122
+ color: var(--primary);
123
+ background: var(--color-tab-selected-background);
86
124
  }
87
125
 
88
- .elench-shell-topbar-actions button,
89
- .elench-shell-activity-button,
90
- .elench-shell-main-tab-icon {
91
- display: inline-flex;
92
- width: 28px;
93
- height: 28px;
94
- align-items: center;
95
- justify-content: center;
96
- border: 0;
97
- border-radius: 6px;
98
- background: transparent;
99
- color: var(--fg-tertiary, #73839b);
100
- cursor: pointer;
126
+ .flexlayout__tab_button--selected {
127
+ color: var(--primary);
128
+ font-weight: 450;
129
+ background: var(--color-tab-selected-background);
130
+ box-shadow: none;
101
131
  }
102
132
 
103
- .elench-shell-topbar-actions button:hover,
104
- .elench-shell-activity-button:hover,
105
- .elench-shell-main-tab-icon:hover {
106
- background: var(--bg-hover, #1e3050);
107
- color: var(--fg, #e5edf7);
133
+ .flexlayout__tab_button--selected:hover {
134
+ color: var(--primary);
135
+ background: var(--color-tab-selected-background);
108
136
  }
109
137
 
110
- .elench-shell-topbar svg,
111
- .elench-shell-activity-button svg,
112
- .elench-shell-main-tab-icon svg {
113
- width: 16px;
114
- height: 16px;
138
+ .flexlayout__tab_button--unselected {
139
+ color: var(--fg-tertiary);
140
+ background: transparent;
115
141
  }
116
142
 
117
- .elench-shell-activity-rail {
118
- grid-area: rail;
143
+ /* Tab close icon */
144
+ .flexlayout__tab_button_trailing {
119
145
  display: flex;
120
- min-height: 0;
121
- flex-direction: column;
122
146
  align-items: center;
123
- gap: 4px;
124
- border-right: 1px solid var(--border, #1e2d44);
125
- background: var(--bg-secondary, #0f172a);
126
- padding: 8px 5px;
127
- }
128
-
129
- .elench-shell-activity-button {
130
- width: 34px;
131
- height: 34px;
132
- position: relative;
133
- }
134
-
135
- .elench-shell-activity-button[aria-pressed="true"] {
136
- background: var(--bg-active, #1a2d4a);
137
- color: var(--fg, #e5edf7);
138
- }
139
-
140
- .elench-shell-activity-button[aria-pressed="true"]::before {
141
- position: absolute;
142
- left: -5px;
143
- width: 2px;
144
- height: 18px;
145
- border-radius: 999px;
146
- background: var(--primary, #3b82f6);
147
- content: "";
148
- }
149
-
150
- .elench-shell-sidebar {
151
- grid-area: sidebar;
152
- min-width: 0;
153
- min-height: 0;
154
- overflow: hidden;
155
- border-right: 1px solid var(--border, #1e2d44);
156
- background: var(--bg-surface, #0f172a);
147
+ justify-content: center;
148
+ width: 16px;
149
+ height: 16px;
150
+ margin-left: 2px;
151
+ border-radius: 3px;
152
+ opacity: 0;
153
+ transition:
154
+ opacity 0.15s,
155
+ background-color 0.15s;
157
156
  }
158
157
 
159
- .elench-shell-sidebar-frame {
160
- display: flex;
161
- height: 100%;
162
- min-height: 0;
163
- flex-direction: column;
158
+ .flexlayout__tab_button:hover .flexlayout__tab_button_trailing {
159
+ opacity: 0.5;
164
160
  }
165
161
 
166
- .elench-shell-sidebar-title {
167
- flex: 0 0 auto;
168
- border-bottom: 1px solid var(--border, #1e2d44);
169
- color: var(--fg-secondary, #a8b5c7);
170
- font-size: 11px;
171
- font-weight: 700;
172
- letter-spacing: 0.08em;
173
- padding: 10px 12px;
174
- text-transform: uppercase;
162
+ .flexlayout__tab_button--selected .flexlayout__tab_button_trailing {
163
+ opacity: 0.35;
175
164
  }
176
165
 
177
- .elench-shell-sidebar-content {
178
- min-height: 0;
179
- flex: 1;
180
- overflow: auto;
181
- padding: 8px;
166
+ .flexlayout__tab_button_trailing:hover {
167
+ opacity: 1 !important;
168
+ background: var(--bg-hover);
182
169
  }
183
170
 
184
- .elench-shell-sidebar-section {
185
- margin: 0 0 12px;
171
+ @media (prefers-reduced-motion: reduce) {
172
+ .flexlayout__tabset_tabbar_inner_tab_container::after,
173
+ .flexlayout__tab_button,
174
+ .flexlayout__tab_button_trailing {
175
+ transition: none;
176
+ }
186
177
  }
187
178
 
188
- .elench-shell-sidebar-section h2 {
189
- color: var(--fg-tertiary, #73839b);
190
- font-size: 11px;
191
- font-weight: 650;
192
- margin: 0 0 6px;
193
- padding: 0 4px;
179
+ /* Tab content truncation within min/max width */
180
+ .flexlayout__tab_button_content {
181
+ min-width: 0;
182
+ flex: 1 1 auto;
183
+ overflow: hidden;
184
+ text-overflow: ellipsis;
194
185
  }
195
186
 
196
- .elench-shell-sidebar-item {
197
- display: flex;
198
- width: 100%;
199
- min-height: 42px;
200
- align-items: center;
201
- gap: 8px;
202
- border: 1px solid transparent;
203
- border-radius: 6px;
204
- background: transparent;
205
- color: var(--fg-secondary, #a8b5c7);
206
- cursor: pointer;
207
- padding: 7px 8px;
208
- text-align: left;
209
- }
187
+ /* Preview (ephemeral) tabs */
210
188
 
211
- .elench-shell-sidebar-item:hover {
212
- background: var(--bg-hover, #1e3050);
213
- color: var(--fg, #e5edf7);
214
- }
189
+ /* ═══════ Tab content pane ═══════ */
215
190
 
216
- .elench-shell-sidebar-item[aria-selected="true"] {
217
- border-color: var(--border-strong, #2a3f5f);
218
- background: var(--bg-active, #1a2d4a);
219
- color: var(--fg, #e5edf7);
191
+ .flexlayout__tab {
192
+ background: var(--bg-surface);
193
+ overflow: hidden;
220
194
  }
221
195
 
222
- .elench-shell-sidebar-item-icon {
223
- display: inline-flex;
224
- flex: 0 0 auto;
225
- color: var(--fg-tertiary, #73839b);
196
+ .flexlayout__tab:not(.flexlayout__tab_border) {
197
+ border-radius: 0 0 var(--shell-radius) var(--shell-radius);
226
198
  }
227
199
 
228
- .elench-shell-sidebar-item-icon svg {
229
- width: 16px;
230
- height: 16px;
200
+ .flexlayout__tabset,
201
+ .flexlayout__tab_border_left,
202
+ .flexlayout__tab_border_right {
203
+ background: var(--bg-surface);
204
+ border-radius: var(--shell-radius);
205
+ overflow: hidden;
231
206
  }
232
207
 
233
- .elench-shell-sidebar-item-text {
234
- display: grid;
235
- min-width: 0;
236
- gap: 2px;
237
- }
208
+ /* ═══════ Tabset header ═══════ */
238
209
 
239
- .elench-shell-sidebar-item-title,
240
- .elench-shell-main-tab-select span {
241
- overflow: hidden;
242
- text-overflow: ellipsis;
243
- white-space: nowrap;
210
+ .flexlayout__tabset-selected {
211
+ background: var(--bg-surface);
244
212
  }
245
213
 
246
- .elench-shell-sidebar-item-title {
247
- font-size: 12.5px;
248
- font-weight: 600;
214
+ .flexlayout__tab_toolbar_button {
215
+ color: var(--fg-tertiary);
216
+ transition:
217
+ color 0.15s,
218
+ background-color 0.15s;
219
+ border-radius: 4px;
249
220
  }
250
221
 
251
- .elench-shell-sidebar-item-description {
252
- overflow: hidden;
253
- color: var(--fg-tertiary, #73839b);
254
- font-size: 11.5px;
255
- text-overflow: ellipsis;
256
- white-space: nowrap;
222
+ .flexlayout__tab_toolbar_button:hover {
223
+ color: var(--fg-secondary);
224
+ background: var(--bg-hover);
257
225
  }
258
226
 
259
- .elench-shell-main {
260
- grid-area: main;
261
- display: grid;
262
- min-width: 0;
263
- min-height: 0;
264
- grid-template-rows: 34px minmax(0, 1fr);
265
- background: var(--bg-primary, #0a1120);
266
- }
227
+ /* ═══════ Splitters ═══════ */
267
228
 
268
- .elench-shell-tab-rail {
269
- display: flex;
270
- min-width: 0;
271
- align-items: end;
272
- overflow-x: auto;
273
- border-bottom: 1px solid var(--border, #1e2d44);
274
- background: var(--bg-secondary, #0f172a);
275
- padding: 3px 6px 0;
229
+ .flexlayout__splitter {
230
+ background: transparent;
231
+ transition: background-color 0.1s;
276
232
  }
277
233
 
278
- .elench-shell-main-tab {
279
- display: flex;
280
- min-width: 132px;
281
- max-width: 220px;
282
- height: 31px;
283
- align-items: center;
284
- border: 1px solid transparent;
285
- border-bottom: 0;
286
- border-radius: 6px 6px 0 0;
287
- color: var(--fg-tertiary, #73839b);
234
+ .flexlayout__splitter:hover {
235
+ background: var(--primary);
236
+ border-radius: 2px;
288
237
  }
289
238
 
290
- .elench-shell-main-tab[aria-selected="true"] {
291
- border-color: var(--border, #1e2d44);
292
- background: var(--bg-surface, #0f172a);
293
- color: var(--fg, #e5edf7);
239
+ .flexlayout__splitter_drag {
240
+ background: var(--primary);
294
241
  }
295
242
 
296
- .elench-shell-main-tab[data-preview="true"] .elench-shell-main-tab-select {
297
- font-style: italic;
298
- }
243
+ /* ═══════ Borders (sidebar/inspector panels) ═══════ */
299
244
 
300
- .elench-shell-main-tab-select {
301
- min-width: 0;
302
- flex: 1;
303
- border: 0;
304
- background: transparent;
305
- color: inherit;
306
- cursor: pointer;
307
- padding: 0 8px;
308
- text-align: left;
245
+ .flexlayout__border {
246
+ background: var(--bg-surface);
247
+ border: none;
309
248
  }
310
249
 
311
- .elench-shell-workspace {
312
- min-width: 0;
313
- min-height: 0;
314
- overflow: auto;
315
- background: var(--bg-surface, #0f172a);
250
+ .flexlayout__border_left {
251
+ border-right: none;
316
252
  }
317
253
 
318
- .elench-shell-blank-main {
319
- height: 100%;
320
- min-height: 0;
254
+ .flexlayout__border_right {
255
+ border-left: none;
321
256
  }
322
257
 
323
- .elench-shell-inspector {
324
- grid-area: inspector;
325
- min-width: 0;
326
- min-height: 0;
327
- overflow: auto;
328
- border-left: 1px solid var(--border, #1e2d44);
329
- background: var(--bg-surface, #0f172a);
330
- padding: 10px;
258
+ /* Hide border tab bar strips — activity bar + top bar handle toggles */
259
+ .flexlayout__border_inner,
260
+ .flexlayout__border_button,
261
+ .flexlayout__border_toolbar {
262
+ display: none !important;
331
263
  }
332
264
 
333
- .elench-shell-statusbar {
334
- grid-area: status;
335
- display: flex;
336
- min-width: 0;
337
- align-items: center;
338
- gap: 12px;
339
- border-top: 1px solid var(--border, #1e2d44);
340
- background: var(--bg-secondary, #0f172a);
341
- color: var(--fg-tertiary, #73839b);
342
- font-size: 11.5px;
343
- padding: 0 10px;
265
+ /* Border content fills available space */
266
+ .flexlayout__border_inner_tab_container {
267
+ background: var(--bg-surface);
344
268
  }
345
269
 
346
- .elench-shell-statusbar-slot {
347
- min-width: 0;
348
- flex: 1;
270
+ .flexlayout__border_tab_contents {
271
+ background: var(--bg-surface);
272
+ border-radius: var(--shell-radius);
349
273
  overflow: hidden;
350
- text-overflow: ellipsis;
351
- white-space: nowrap;
352
274
  }
353
275
 
354
- .elench-shell-page {
355
- max-width: 1160px;
356
- margin: 0 auto;
357
- padding: 24px;
358
- }
276
+ /* ═══════ Drag outline ═══════ */
359
277
 
360
- .elench-shell-page-header {
361
- display: flex;
362
- align-items: flex-start;
363
- justify-content: space-between;
364
- gap: 16px;
365
- margin-bottom: 20px;
278
+ .flexlayout__outline_rect {
279
+ border: 2px solid var(--primary);
280
+ background: hsl(var(--primary-hsl) / 0.06);
281
+ border-radius: var(--shell-radius);
366
282
  }
367
283
 
368
- .elench-shell-page-eyebrow {
369
- color: var(--fg-tertiary, #73839b);
284
+ .flexlayout__drag_rect {
285
+ background: hsl(var(--primary-hsl) / 0.12);
286
+ border: 1px solid hsl(var(--primary-hsl) / 0.3);
287
+ border-radius: var(--radius);
288
+ color: var(--fg);
289
+ font-family: var(--font-sans);
370
290
  font-size: 11px;
371
- font-weight: 700;
372
- letter-spacing: 0.08em;
373
- margin-bottom: 4px;
374
- text-transform: uppercase;
375
291
  }
376
292
 
377
- .elench-shell-page h1 {
378
- color: var(--fg, #e5edf7);
379
- font-size: 22px;
380
- line-height: 1.2;
381
- margin: 0;
382
- }
293
+ /* ═══════ Popup menu (overflow tabs) ═══════ */
383
294
 
384
- .elench-shell-page p {
385
- color: var(--fg-tertiary, #73839b);
386
- font-size: 13px;
387
- line-height: 1.6;
388
- margin: 6px 0 0;
295
+ .flexlayout__popup_menu {
296
+ background: var(--popover);
297
+ border: 1px solid var(--border);
298
+ border-radius: var(--radius);
299
+ box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1));
389
300
  }
390
301
 
391
- .elench-shell-page-actions {
392
- flex: 0 0 auto;
393
- }
394
-
395
- .elench-shell-metric,
396
- .elench-shell-field {
397
- border: 1px solid var(--border, #1e2d44);
398
- border-radius: 8px;
399
- background: var(--bg-card, #162236);
302
+ .flexlayout__popup_menu_item {
303
+ color: var(--fg-secondary);
304
+ font-family: var(--font-sans);
305
+ font-size: 12px;
306
+ padding: 6px 12px;
307
+ transition: background-color 0.1s;
400
308
  }
401
309
 
402
- .elench-shell-metric {
403
- padding: 12px;
310
+ .flexlayout__popup_menu_item:hover {
311
+ background: var(--bg-hover);
312
+ color: var(--fg);
404
313
  }
405
314
 
406
- .elench-shell-metric div,
407
- .elench-shell-field span {
408
- color: var(--fg-tertiary, #73839b);
409
- font-size: 11.5px;
410
- }
315
+ /* ═══════ Edge indicators ═══════ */
411
316
 
412
- .elench-shell-metric strong {
413
- display: block;
414
- color: var(--fg, #e5edf7);
415
- font-size: 22px;
416
- margin-top: 6px;
317
+ .flexlayout__edge_rect {
318
+ background: hsl(var(--primary-hsl) / 0.15);
319
+ border: 1px solid hsl(var(--primary-hsl) / 0.3);
417
320
  }
418
321
 
419
- .elench-shell-field {
420
- display: grid;
421
- gap: 4px;
422
- padding: 9px;
423
- }
322
+ /* ═══════ Empty tabset placeholder ═══════ */
424
323
 
425
- .elench-shell-field strong {
324
+ .flexlayout__tabset_content {
325
+ display: flex;
326
+ flex-direction: column;
327
+ min-height: 0;
426
328
  min-width: 0;
427
- overflow: hidden;
428
- color: var(--fg, #e5edf7);
429
- font-size: 12px;
430
- font-weight: 550;
431
- text-overflow: ellipsis;
432
- white-space: nowrap;
433
329
  }
434
330
 
435
- .elench-shell-empty-state {
436
- display: grid;
437
- min-height: 120px;
438
- align-content: center;
439
- justify-items: center;
440
- border: 1px dashed var(--border, #1e2d44);
441
- border-radius: 8px;
442
- color: var(--fg-tertiary, #73839b);
443
- padding: 18px;
444
- text-align: center;
445
- }
331
+ /* ═══════ Scrollbar ═══════ */
446
332
 
447
- .elench-shell-empty-state strong {
448
- color: var(--fg-secondary, #a8b5c7);
449
- font-size: 13px;
333
+ .flexlayout__layout ::-webkit-scrollbar {
334
+ width: 4px;
335
+ height: 4px;
450
336
  }
451
337
 
452
- .elench-shell-empty-state p {
453
- max-width: 34ch;
454
- font-size: 12px;
455
- line-height: 1.5;
456
- margin: 6px 0 0;
457
- }
458
-
459
- @media (max-width: 900px) {
460
- .elench-shell,
461
- .elench-shell[data-left-sidebar="closed"],
462
- .elench-shell[data-right-inspector="closed"],
463
- .elench-shell[data-left-sidebar="closed"][data-right-inspector="closed"] {
464
- grid-template-areas:
465
- "topbar topbar"
466
- "rail main"
467
- "status status";
468
- grid-template-columns: var(--elench-shell-rail-width) minmax(0, 1fr);
469
- }
338
+ .flexlayout__layout ::-webkit-scrollbar-track {
339
+ background: transparent;
340
+ }
470
341
 
471
- .elench-shell-sidebar,
472
- .elench-shell-inspector {
473
- display: none;
474
- }
342
+ .flexlayout__layout ::-webkit-scrollbar-thumb {
343
+ background: var(--fg-tertiary);
344
+ border-radius: 4px;
475
345
  }