termcast 1.3.30 → 1.3.32

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 (294) hide show
  1. package/dist/apis/cache.d.ts.map +1 -1
  2. package/dist/apis/cache.js +4 -39
  3. package/dist/apis/cache.js.map +1 -1
  4. package/dist/apis/hud.d.ts.map +1 -1
  5. package/dist/apis/hud.js +13 -31
  6. package/dist/apis/hud.js.map +1 -1
  7. package/dist/apis/localstorage.d.ts.map +1 -1
  8. package/dist/apis/localstorage.js +3 -27
  9. package/dist/apis/localstorage.js.map +1 -1
  10. package/dist/apis/toast.d.ts +16 -43
  11. package/dist/apis/toast.d.ts.map +1 -1
  12. package/dist/apis/toast.js +78 -177
  13. package/dist/apis/toast.js.map +1 -1
  14. package/dist/build.d.ts +3 -1
  15. package/dist/build.d.ts.map +1 -1
  16. package/dist/build.js +52 -2
  17. package/dist/build.js.map +1 -1
  18. package/dist/cli.d.ts +1 -0
  19. package/dist/cli.d.ts.map +1 -1
  20. package/dist/cli.js +206 -25
  21. package/dist/cli.js.map +1 -1
  22. package/dist/colors.d.ts.map +1 -1
  23. package/dist/colors.js +1 -0
  24. package/dist/colors.js.map +1 -1
  25. package/dist/compile.d.ts +0 -1
  26. package/dist/compile.d.ts.map +1 -1
  27. package/dist/compile.js +18 -23
  28. package/dist/compile.js.map +1 -1
  29. package/dist/components/actions.d.ts.map +1 -1
  30. package/dist/components/actions.js +30 -15
  31. package/dist/components/actions.js.map +1 -1
  32. package/dist/components/animation-tick.d.ts +12 -0
  33. package/dist/components/animation-tick.d.ts.map +1 -0
  34. package/dist/components/animation-tick.js +63 -0
  35. package/dist/components/animation-tick.js.map +1 -0
  36. package/dist/components/detail.d.ts.map +1 -1
  37. package/dist/components/detail.js +10 -13
  38. package/dist/components/detail.js.map +1 -1
  39. package/dist/components/dropdown.d.ts +1 -0
  40. package/dist/components/dropdown.d.ts.map +1 -1
  41. package/dist/components/dropdown.js +27 -26
  42. package/dist/components/dropdown.js.map +1 -1
  43. package/dist/components/extension-preferences.d.ts.map +1 -1
  44. package/dist/components/extension-preferences.js +15 -10
  45. package/dist/components/extension-preferences.js.map +1 -1
  46. package/dist/components/footer.d.ts +13 -0
  47. package/dist/components/footer.d.ts.map +1 -0
  48. package/dist/components/footer.js +106 -0
  49. package/dist/components/footer.js.map +1 -0
  50. package/dist/components/form/file-autocomplete.d.ts +19 -4
  51. package/dist/components/form/file-autocomplete.d.ts.map +1 -1
  52. package/dist/components/form/file-autocomplete.js +56 -55
  53. package/dist/components/form/file-autocomplete.js.map +1 -1
  54. package/dist/components/form/file-picker.d.ts.map +1 -1
  55. package/dist/components/form/file-picker.js +26 -15
  56. package/dist/components/form/file-picker.js.map +1 -1
  57. package/dist/components/form/index.d.ts.map +1 -1
  58. package/dist/components/form/index.js +17 -15
  59. package/dist/components/form/index.js.map +1 -1
  60. package/dist/components/form/with-left-border.d.ts.map +1 -1
  61. package/dist/components/form/with-left-border.js +4 -12
  62. package/dist/components/form/with-left-border.js.map +1 -1
  63. package/dist/components/list.d.ts.map +1 -1
  64. package/dist/components/list.js +126 -86
  65. package/dist/components/list.js.map +1 -1
  66. package/dist/components/loading-bar.d.ts.map +1 -1
  67. package/dist/components/loading-bar.js +5 -22
  68. package/dist/components/loading-bar.js.map +1 -1
  69. package/dist/components/loading-text.d.ts.map +1 -1
  70. package/dist/components/loading-text.js +3 -22
  71. package/dist/components/loading-text.js.map +1 -1
  72. package/dist/components/theme-picker.d.ts +2 -0
  73. package/dist/components/theme-picker.d.ts.map +1 -0
  74. package/dist/components/theme-picker.js +37 -0
  75. package/dist/components/theme-picker.js.map +1 -0
  76. package/dist/descendants.d.ts +6 -0
  77. package/dist/descendants.d.ts.map +1 -1
  78. package/dist/descendants.js +74 -8
  79. package/dist/descendants.js.map +1 -1
  80. package/dist/examples/internal/descendants-rerender.d.ts +14 -0
  81. package/dist/examples/internal/descendants-rerender.d.ts.map +1 -0
  82. package/dist/examples/internal/descendants-rerender.js +145 -0
  83. package/dist/examples/internal/descendants-rerender.js.map +1 -0
  84. package/dist/examples/internal/simple-dialog.js +4 -1
  85. package/dist/examples/internal/simple-dialog.js.map +1 -1
  86. package/dist/examples/internal/simple-scrollbox.js +1 -1
  87. package/dist/examples/internal/simple-scrollbox.js.map +1 -1
  88. package/dist/examples/list-with-dropdown.js +1 -1
  89. package/dist/examples/list-with-dropdown.js.map +1 -1
  90. package/dist/examples/miscellaneous.js +1 -1
  91. package/dist/examples/miscellaneous.js.map +1 -1
  92. package/dist/examples/toast-action.d.ts +2 -0
  93. package/dist/examples/toast-action.d.ts.map +1 -0
  94. package/dist/examples/toast-action.js +76 -0
  95. package/dist/examples/toast-action.js.map +1 -0
  96. package/dist/examples/toast-variations.js +38 -36
  97. package/dist/examples/toast-variations.js.map +1 -1
  98. package/dist/extensions/dev.d.ts +1 -1
  99. package/dist/extensions/dev.d.ts.map +1 -1
  100. package/dist/extensions/dev.js +62 -30
  101. package/dist/extensions/dev.js.map +1 -1
  102. package/dist/extensions/home.d.ts.map +1 -1
  103. package/dist/extensions/home.js +4 -3
  104. package/dist/extensions/home.js.map +1 -1
  105. package/dist/extensions/react-refresh-init.d.ts +5 -0
  106. package/dist/extensions/react-refresh-init.d.ts.map +1 -0
  107. package/dist/extensions/react-refresh-init.js +52 -0
  108. package/dist/extensions/react-refresh-init.js.map +1 -0
  109. package/dist/internal/date-picker-widget.js +1 -1
  110. package/dist/internal/date-picker-widget.js.map +1 -1
  111. package/dist/internal/dialog.d.ts +8 -3
  112. package/dist/internal/dialog.d.ts.map +1 -1
  113. package/dist/internal/dialog.js +37 -53
  114. package/dist/internal/dialog.js.map +1 -1
  115. package/dist/internal/navigation.d.ts +1 -0
  116. package/dist/internal/navigation.d.ts.map +1 -1
  117. package/dist/internal/navigation.js +25 -1
  118. package/dist/internal/navigation.js.map +1 -1
  119. package/dist/internal/providers.d.ts.map +1 -1
  120. package/dist/internal/providers.js +9 -197
  121. package/dist/internal/providers.js.map +1 -1
  122. package/dist/internal/scrollbox.d.ts.map +1 -1
  123. package/dist/internal/scrollbox.js +1 -0
  124. package/dist/internal/scrollbox.js.map +1 -1
  125. package/dist/release.d.ts +1 -0
  126. package/dist/release.d.ts.map +1 -1
  127. package/dist/release.js +16 -9
  128. package/dist/release.js.map +1 -1
  129. package/dist/state.d.ts +27 -1
  130. package/dist/state.d.ts.map +1 -1
  131. package/dist/state.js +6 -0
  132. package/dist/state.js.map +1 -1
  133. package/dist/theme.d.ts +6 -19
  134. package/dist/theme.d.ts.map +1 -1
  135. package/dist/theme.js +76 -45
  136. package/dist/theme.js.map +1 -1
  137. package/dist/themes/aura.json +69 -0
  138. package/dist/themes/ayu.json +80 -0
  139. package/dist/themes/catppuccin-frappe.json +233 -0
  140. package/dist/themes/catppuccin-macchiato.json +233 -0
  141. package/dist/themes/catppuccin.json +112 -0
  142. package/dist/themes/cobalt2.json +228 -0
  143. package/dist/themes/cursor.json +249 -0
  144. package/dist/themes/dracula.json +219 -0
  145. package/dist/themes/everforest.json +241 -0
  146. package/dist/themes/flexoki.json +237 -0
  147. package/dist/themes/github-light.json +56 -0
  148. package/dist/themes/github.json +241 -0
  149. package/dist/themes/gruvbox.json +95 -0
  150. package/dist/themes/kanagawa.json +77 -0
  151. package/dist/themes/lucent-orng.json +227 -0
  152. package/dist/themes/material.json +235 -0
  153. package/dist/themes/matrix.json +77 -0
  154. package/dist/themes/mercury.json +245 -0
  155. package/dist/themes/monokai.json +221 -0
  156. package/dist/themes/nightowl.json +221 -0
  157. package/dist/themes/nord.json +223 -0
  158. package/dist/themes/one-dark.json +84 -0
  159. package/dist/themes/opencode-light.json +62 -0
  160. package/dist/themes/opencode.json +245 -0
  161. package/dist/themes/orng.json +245 -0
  162. package/dist/themes/palenight.json +222 -0
  163. package/dist/themes/rosepine.json +234 -0
  164. package/dist/themes/solarized.json +223 -0
  165. package/dist/themes/synthwave84.json +226 -0
  166. package/dist/themes/termcast.json +226 -0
  167. package/dist/themes/tokyonight.json +243 -0
  168. package/dist/themes/vercel.json +255 -0
  169. package/dist/themes/vesper.json +218 -0
  170. package/dist/themes/zenburn.json +223 -0
  171. package/dist/themes.d.ts +57 -0
  172. package/dist/themes.d.ts.map +1 -0
  173. package/dist/themes.js +181 -0
  174. package/dist/themes.js.map +1 -0
  175. package/dist/utils/run-command.d.ts +2 -1
  176. package/dist/utils/run-command.d.ts.map +1 -1
  177. package/dist/utils/run-command.js +20 -10
  178. package/dist/utils/run-command.js.map +1 -1
  179. package/dist/utils.d.ts +2 -1
  180. package/dist/utils.d.ts.map +1 -1
  181. package/dist/utils.js +90 -17
  182. package/dist/utils.js.map +1 -1
  183. package/dist/watcher.d.ts +3 -0
  184. package/dist/watcher.d.ts.map +1 -0
  185. package/dist/watcher.js +16 -0
  186. package/dist/watcher.js.map +1 -0
  187. package/package.json +16 -10
  188. package/src/apis/cache.tsx +5 -44
  189. package/src/apis/hud.tsx +17 -62
  190. package/src/apis/localstorage.tsx +3 -32
  191. package/src/apis/toast.tsx +91 -275
  192. package/src/build.test.tsx +10 -0
  193. package/src/build.tsx +61 -1
  194. package/src/cli.tsx +365 -103
  195. package/src/colors.tsx +1 -0
  196. package/src/compile.tsx +21 -29
  197. package/src/compile.vitest.tsx +300 -0
  198. package/src/components/actions.tsx +64 -45
  199. package/src/components/animation-tick.tsx +85 -0
  200. package/src/components/detail.tsx +31 -35
  201. package/src/components/dropdown.tsx +32 -21
  202. package/src/components/extension-preferences.tsx +14 -10
  203. package/src/components/footer.tsx +241 -0
  204. package/src/components/form/file-autocomplete.tsx +80 -60
  205. package/src/components/form/file-picker.tsx +37 -25
  206. package/src/components/form/index.tsx +45 -41
  207. package/src/components/form/with-left-border.tsx +4 -14
  208. package/src/components/list.tsx +181 -121
  209. package/src/components/loading-bar.tsx +5 -25
  210. package/src/components/loading-text.tsx +4 -23
  211. package/src/components/theme-picker.tsx +57 -0
  212. package/src/descendants.tsx +98 -9
  213. package/src/examples/actions-dialog-layout.vitest.tsx +112 -0
  214. package/src/examples/file-autocomplete.vitest.tsx +131 -122
  215. package/src/examples/form-basic.vitest.tsx +463 -644
  216. package/src/examples/form-dropdown.vitest.tsx +553 -571
  217. package/src/examples/form-scroll.vitest.tsx +112 -102
  218. package/src/examples/form-tagpicker.vitest.tsx +364 -338
  219. package/src/examples/internal/descendants-rerender.tsx +273 -0
  220. package/src/examples/internal/descendants-rerender.vitest.tsx +194 -0
  221. package/src/examples/internal/simple-dialog.tsx +4 -4
  222. package/src/examples/internal/simple-scrollbox.tsx +2 -2
  223. package/src/examples/internal/simple-scrollbox.vitest.tsx +43 -31
  224. package/src/examples/list-detail-metadata.vitest.tsx +34 -30
  225. package/src/examples/list-dropdown-default.vitest.tsx +84 -72
  226. package/src/examples/list-empty-view.vitest.tsx +93 -0
  227. package/src/examples/list-fetch-data.vitest.tsx +36 -30
  228. package/src/examples/list-scrollbox.vitest.tsx +59 -39
  229. package/src/examples/list-with-detail.vitest.tsx +339 -314
  230. package/src/examples/list-with-dropdown.tsx +1 -0
  231. package/src/examples/list-with-dropdown.vitest.tsx +176 -150
  232. package/src/examples/list-with-sections.vitest.tsx +289 -270
  233. package/src/examples/list-with-toast.vitest.tsx +44 -44
  234. package/src/examples/miscellaneous.tsx +10 -0
  235. package/src/examples/simple-file-picker.vitest.tsx +90 -86
  236. package/src/examples/simple-grid.vitest.tsx +275 -249
  237. package/src/examples/simple-navigation.vitest.tsx +192 -168
  238. package/src/examples/store.vitest.tsx +6 -4
  239. package/src/examples/swift-extension.vitest.tsx +31 -19
  240. package/src/examples/synonyms.vitest.tsx +93 -83
  241. package/src/examples/toast-action.tsx +160 -0
  242. package/src/examples/toast-action.vitest.tsx +404 -0
  243. package/src/examples/toast-variations.tsx +58 -57
  244. package/src/examples/toast-variations.vitest.tsx +186 -166
  245. package/src/extensions/dev.tsx +74 -33
  246. package/src/extensions/dev.vitest.tsx +162 -69
  247. package/src/extensions/home.tsx +5 -6
  248. package/src/extensions/react-refresh-init.tsx +59 -0
  249. package/src/internal/date-picker-widget.tsx +1 -1
  250. package/src/internal/dialog.tsx +59 -83
  251. package/src/internal/navigation.tsx +37 -4
  252. package/src/internal/providers.tsx +27 -315
  253. package/src/internal/scrollbox.tsx +1 -0
  254. package/src/release.tsx +16 -10
  255. package/src/state.tsx +36 -3
  256. package/src/theme.tsx +82 -51
  257. package/src/themes/aura.json +69 -0
  258. package/src/themes/ayu.json +80 -0
  259. package/src/themes/catppuccin-frappe.json +233 -0
  260. package/src/themes/catppuccin-macchiato.json +233 -0
  261. package/src/themes/catppuccin.json +112 -0
  262. package/src/themes/cobalt2.json +228 -0
  263. package/src/themes/cursor.json +249 -0
  264. package/src/themes/dracula.json +219 -0
  265. package/src/themes/everforest.json +241 -0
  266. package/src/themes/flexoki.json +237 -0
  267. package/src/themes/github-light.json +56 -0
  268. package/src/themes/github.json +241 -0
  269. package/src/themes/gruvbox.json +95 -0
  270. package/src/themes/kanagawa.json +77 -0
  271. package/src/themes/lucent-orng.json +227 -0
  272. package/src/themes/material.json +235 -0
  273. package/src/themes/matrix.json +77 -0
  274. package/src/themes/mercury.json +252 -0
  275. package/src/themes/monokai.json +221 -0
  276. package/src/themes/nightowl.json +221 -0
  277. package/src/themes/nord.json +223 -0
  278. package/src/themes/one-dark.json +84 -0
  279. package/src/themes/opencode-light.json +62 -0
  280. package/src/themes/opencode.json +245 -0
  281. package/src/themes/orng.json +245 -0
  282. package/src/themes/palenight.json +222 -0
  283. package/src/themes/rosepine.json +234 -0
  284. package/src/themes/solarized.json +223 -0
  285. package/src/themes/synthwave84.json +226 -0
  286. package/src/themes/termcast.json +227 -0
  287. package/src/themes/tokyonight.json +243 -0
  288. package/src/themes/vercel.json +255 -0
  289. package/src/themes/vesper.json +218 -0
  290. package/src/themes/zenburn.json +223 -0
  291. package/src/themes.ts +291 -0
  292. package/src/utils/run-command.tsx +23 -12
  293. package/src/utils.tsx +115 -18
  294. package/src/watcher.tsx +19 -0
@@ -34,17 +34,18 @@ test('navigation between main and detail views', async () => {
34
34
  "
35
35
 
36
36
 
37
- Navigation Example ─────────────────────────────────────────────
37
+ Navigation Example ─────────────────────────────────────────────
38
38
 
39
- Main view
39
+ > Main view
40
40
 
41
- Items
42
- ›First Item Navigate to first detail
43
- Second Item Navigate to second detail
44
- Third Item Navigate to third detail
41
+ Items
42
+ ›First Item Navigate to first detail
43
+ Second Item Navigate to second detail
44
+ Third Item Navigate to third detail
45
45
 
46
46
 
47
47
 
48
+ ↵ open details ↑↓ navigate ^k actions
48
49
 
49
50
 
50
51
 
@@ -54,7 +55,8 @@ test('navigation between main and detail views', async () => {
54
55
 
55
56
 
56
57
 
57
- ↵ open details ↑↓ navigate ^k actions"
58
+
59
+ "
58
60
  `)
59
61
 
60
62
  // Navigate to second item
@@ -66,17 +68,18 @@ test('navigation between main and detail views', async () => {
66
68
  "
67
69
 
68
70
 
69
- Navigation Example ─────────────────────────────────────────────
71
+ Navigation Example ─────────────────────────────────────────────
70
72
 
71
- Main view
73
+ > Main view
72
74
 
73
- Items
74
- First Item Navigate to first detail
75
- ›Second Item Navigate to second detail
76
- Third Item Navigate to third detail
75
+ Items
76
+ First Item Navigate to first detail
77
+ ›Second Item Navigate to second detail
78
+ Third Item Navigate to third detail
77
79
 
78
80
 
79
81
 
82
+ ↵ open details ↑↓ navigate ^k actions
80
83
 
81
84
 
82
85
 
@@ -86,7 +89,8 @@ test('navigation between main and detail views', async () => {
86
89
 
87
90
 
88
91
 
89
- ↵ open details ↑↓ navigate ^k actions"
92
+
93
+ "
90
94
  `)
91
95
 
92
96
  // Press Enter to open actions panel (auto-executes first action)
@@ -102,15 +106,16 @@ test('navigation between main and detail views', async () => {
102
106
  "
103
107
 
104
108
 
105
- Detail: Second Item ────────────────────────────────────────────
109
+ Detail: Second Item ────────────────────────────────────────────
106
110
 
107
- Detail view - Press ESC to go back
111
+ > Detail view - Press ESC to go back
108
112
 
109
- Details
110
- ›This is the detail view for Second Item Press Enter to go back
113
+ Details
114
+ ›This is the detail view for Second Item Press Enter to go back
111
115
 
112
116
 
113
117
 
118
+ ↵ go back ↑↓ navigate ^k actions
114
119
 
115
120
 
116
121
 
@@ -122,7 +127,8 @@ test('navigation between main and detail views', async () => {
122
127
 
123
128
 
124
129
 
125
- ↵ go back ↑↓ navigate ^k actions"
130
+
131
+ "
126
132
  `)
127
133
 
128
134
  // Press Enter in detail view triggers "Go Back" action, returning to main view
@@ -142,16 +148,18 @@ test('navigation between main and detail views', async () => {
142
148
  "
143
149
 
144
150
 
145
- Navigation Example ─────────────────────────────────────────────
151
+ Navigation Example ─────────────────────────────────────────────
152
+
153
+ > Main view
146
154
 
147
- Main view
155
+ Items
156
+ ›First Item Navigate to first detail
157
+ Second Item Navigate to second detail
158
+ Third Item Navigate to third detail
148
159
 
149
- Items
150
- ›First Item Navigate to first detail
151
- Second Item Navigate to second detail
152
- Third Item Navigate to third detail
153
160
 
154
161
 
162
+ ↵ open details ↑↓ navigate ^k actions
155
163
 
156
164
 
157
165
 
@@ -162,7 +170,7 @@ test('navigation between main and detail views', async () => {
162
170
 
163
171
 
164
172
 
165
- ↵ open details ↑↓ navigate ^k actions"
173
+ "
166
174
  `)
167
175
 
168
176
  // Navigate down to third item
@@ -174,16 +182,18 @@ test('navigation between main and detail views', async () => {
174
182
  "
175
183
 
176
184
 
177
- Navigation Example ─────────────────────────────────────────────
185
+ Navigation Example ─────────────────────────────────────────────
186
+
187
+ > Main view
178
188
 
179
- Main view
189
+ Items
190
+ First Item Navigate to first detail
191
+ Second Item Navigate to second detail
192
+ ›Third Item Navigate to third detail
180
193
 
181
- Items
182
- First Item Navigate to first detail
183
- Second Item Navigate to second detail
184
- ›Third Item Navigate to third detail
185
194
 
186
195
 
196
+ ↵ open details ↑↓ navigate ^k actions
187
197
 
188
198
 
189
199
 
@@ -194,7 +204,7 @@ test('navigation between main and detail views', async () => {
194
204
 
195
205
 
196
206
 
197
- ↵ open details ↑↓ navigate ^k actions"
207
+ "
198
208
  `)
199
209
 
200
210
  // Open action panel for third item
@@ -205,15 +215,16 @@ test('navigation between main and detail views', async () => {
205
215
  "
206
216
 
207
217
 
208
- Detail: Third Item ─────────────────────────────────────────────
218
+ Detail: Third Item ─────────────────────────────────────────────
209
219
 
210
- Detail view - Press ESC to go back
220
+ > Detail view - Press ESC to go back
211
221
 
212
- Details
213
- ›This is the detail view for Third Item Press Enter to go back o
222
+ Details
223
+ ›This is the detail view for Third Item Press Enter to go back o
214
224
 
215
225
 
216
226
 
227
+ ↵ go back ↑↓ navigate ^k actions
217
228
 
218
229
 
219
230
 
@@ -225,7 +236,8 @@ test('navigation between main and detail views', async () => {
225
236
 
226
237
 
227
238
 
228
- ↵ go back ↑↓ navigate ^k actions"
239
+
240
+ "
229
241
  `)
230
242
 
231
243
  // Press enter in detail view triggers "Go Back" action, returning to main view
@@ -242,16 +254,18 @@ test('navigation between main and detail views', async () => {
242
254
  "
243
255
 
244
256
 
245
- Navigation Example ─────────────────────────────────────────────
257
+ Navigation Example ─────────────────────────────────────────────
258
+
259
+ > Main view
246
260
 
247
- Main view
261
+ Items
262
+ ›First Item Navigate to first detail
263
+ Second Item Navigate to second detail
264
+ Third Item Navigate to third detail
248
265
 
249
- Items
250
- ›First Item Navigate to first detail
251
- Second Item Navigate to second detail
252
- Third Item Navigate to third detail
253
266
 
254
267
 
268
+ ↵ open details ↑↓ navigate ^k actions
255
269
 
256
270
 
257
271
 
@@ -262,7 +276,7 @@ test('navigation between main and detail views', async () => {
262
276
 
263
277
 
264
278
 
265
- ↵ open details ↑↓ navigate ^k actions"
279
+ "
266
280
  `)
267
281
  }, 15000)
268
282
 
@@ -282,29 +296,29 @@ test('navigation with actions panel', async () => {
282
296
  "
283
297
 
284
298
 
285
- Navigation Example ─────────────────────────────────────────────
286
-
287
- Main view
288
-
289
- Items
290
- ›First Item Navigate to first detail
291
- ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
292
-
293
- ┃ esc
294
-
295
- Search actions...
296
-
297
- ┃ ›Open Details
298
- ┃ Copy Title
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
- "
299
+ ╭────────────────────────────────────────────────────────────────╮
300
+ │ │
301
+ │ Actions esc │
302
+ │ │
303
+ │ > Search actions... │
304
+ │ │
305
+ │ ›Open Details │
306
+ │ Copy Title │
307
+ │ │
308
+ │ Settings │
309
+ Change Theme...
310
+ │ │
311
+ │ │
312
+ │ │
313
+ │ ↵ select ↑↓ navigate │
314
+ │ │
315
+ ╰────────────────────────────────────────────────────────────────╯
316
+
317
+
318
+
319
+
320
+
321
+ "
308
322
  `)
309
323
 
310
324
  // Navigate down in actions panel
@@ -315,29 +329,29 @@ test('navigation with actions panel', async () => {
315
329
  "
316
330
 
317
331
 
318
- Navigation Example ─────────────────────────────────────────────
319
-
320
- Main view
321
-
322
- Items
323
- ›First Item Navigate to first detail
324
- ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
325
-
326
- ┃ esc
327
-
328
- Search actions...
329
-
330
- ┃ Open Details
331
- ┃ ›Copy Title
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
- "
332
+ ╭────────────────────────────────────────────────────────────────╮
333
+ │ │
334
+ │ Actions esc │
335
+ │ │
336
+ │ > Search actions... │
337
+ │ │
338
+ │ Open Details │
339
+ │ ›Copy Title │
340
+ │ │
341
+ │ Settings │
342
+ Change Theme...
343
+ │ │
344
+ │ │
345
+ │ │
346
+ │ ↵ select ↑↓ navigate │
347
+ │ │
348
+ ╰────────────────────────────────────────────────────────────────╯
349
+
350
+
351
+
352
+
353
+
354
+ "
341
355
  `)
342
356
 
343
357
  // Select the Copy Title action
@@ -348,16 +362,18 @@ test('navigation with actions panel', async () => {
348
362
  "
349
363
 
350
364
 
351
- Navigation Example ─────────────────────────────────────────────
365
+ Navigation Example ─────────────────────────────────────────────
366
+
367
+ > Main view
352
368
 
353
- Main view
369
+ Items
370
+ ›First Item Navigate to first detail
371
+ Second Item Navigate to second detail
372
+ Third Item Navigate to third detail
354
373
 
355
- Items
356
- ›First Item Navigate to first detail
357
- Second Item Navigate to second detail
358
- Third Item Navigate to third detail
359
374
 
360
375
 
376
+ ✓ Copied to Clipboard First Item
361
377
 
362
378
 
363
379
 
@@ -367,10 +383,8 @@ test('navigation with actions panel', async () => {
367
383
 
368
384
 
369
385
 
370
- ┌───────────────────────┐
371
- │ ✓ Copied to Clipboard │
372
- │ First Item │
373
- └───────────────────────┘"
386
+
387
+ "
374
388
  `)
375
389
 
376
390
  // Wait for toast to clear, then navigate to second item
@@ -393,15 +407,16 @@ test('navigation with actions panel', async () => {
393
407
  "
394
408
 
395
409
 
396
- Detail: Second Item ────────────────────────────────────────────
410
+ Detail: Second Item ────────────────────────────────────────────
397
411
 
398
- Detail view - Press ESC to go back
412
+ > Detail view - Press ESC to go back
399
413
 
400
- Details
401
- ›This is the detail view for Second Item Press Enter to go back
414
+ Details
415
+ ›This is the detail view for Second Item Press Enter to go back
402
416
 
403
417
 
404
418
 
419
+ ↵ go back ↑↓ navigate ^k actions
405
420
 
406
421
 
407
422
 
@@ -412,10 +427,9 @@ test('navigation with actions panel', async () => {
412
427
 
413
428
 
414
429
 
415
- ┌───────────────────────┐
416
- │ ✓ Copied to Clipboard │
417
- │ First Item │
418
- └───────────────────────┘"
430
+
431
+
432
+ "
419
433
  `)
420
434
 
421
435
  // Open actions panel in detail view
@@ -425,30 +439,30 @@ test('navigation with actions panel', async () => {
425
439
  expect(detailActionsSnapshot).toMatchInlineSnapshot(`
426
440
  "
427
441
 
442
+ ╭────────────────────────────────────────────────────────────────╮
443
+ │ │
444
+ │ Actions esc │
445
+ │ │
446
+ │ > Search actions... │
447
+ │ │
448
+ │ ›Go Back │
449
+ │ Copy Title │
450
+ │ │
451
+ │ Settings │
452
+ │ Change Theme... │
453
+ │ │
454
+ │ │
455
+ │ │
456
+ │ ↵ select ↑↓ navigate │
457
+ │ │
458
+ ╰────────────────────────────────────────────────────────────────╯
428
459
 
429
- Detail: Second Item ────────────────────────────────────────────
430
-
431
- Detail view - Press ESC to go back
432
-
433
- Details
434
- ›This is the detail view for Second Item Press Enter to go back
435
- ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
436
-
437
- ┃ esc
438
-
439
- ┃ Search actions...
440
-
441
- ┃ ›Go Back
442
- ┃ Copy Title
443
-
444
-
445
-
446
-
447
-
448
- ┃ ┌───────────────────────┐
449
- ┃ │ ✓ Copied to Clipboard │
450
- ┃ │ First Item │
451
- ┃ └───────────────────────┘"
460
+
461
+
462
+
463
+
464
+
465
+ "
452
466
  `)
453
467
 
454
468
  // Select Go Back action
@@ -463,17 +477,18 @@ test('navigation with actions panel', async () => {
463
477
  "
464
478
 
465
479
 
466
- Navigation Example ─────────────────────────────────────────────
480
+ Navigation Example ─────────────────────────────────────────────
467
481
 
468
- Main view
482
+ > Main view
469
483
 
470
- Items
471
- ›First Item Navigate to first detail
472
- Second Item Navigate to second detail
473
- Third Item Navigate to third detail
484
+ Items
485
+ ›First Item Navigate to first detail
486
+ Second Item Navigate to second detail
487
+ Third Item Navigate to third detail
474
488
 
475
489
 
476
490
 
491
+ ↵ open details ↑↓ navigate ^k actions
477
492
 
478
493
 
479
494
 
@@ -482,10 +497,9 @@ test('navigation with actions panel', async () => {
482
497
 
483
498
 
484
499
 
485
- ┌───────────────────────┐
486
- │ ✓ Copied to Clipboard │
487
- │ First Item │
488
- └───────────────────────┘"
500
+
501
+
502
+ "
489
503
  `)
490
504
  }, 15000)
491
505
 
@@ -509,13 +523,14 @@ test('search functionality in main and detail views', async () => {
509
523
  "
510
524
 
511
525
 
512
- Navigation Example ─────────────────────────────────────────────
526
+ Navigation Example ─────────────────────────────────────────────
513
527
 
514
- second
528
+ > second
515
529
 
516
- Second Item Navigate to second detail
530
+ Second Item Navigate to second detail
517
531
 
518
532
 
533
+ ↵ open details ↑↓ navigate ^k actions
519
534
 
520
535
 
521
536
 
@@ -529,7 +544,8 @@ test('search functionality in main and detail views', async () => {
529
544
 
530
545
 
531
546
 
532
- ↵ open details ↑↓ navigate ^k actions"
547
+
548
+ "
533
549
  `)
534
550
 
535
551
  // Clear search
@@ -545,16 +561,18 @@ test('search functionality in main and detail views', async () => {
545
561
  "
546
562
 
547
563
 
548
- Navigation Example ─────────────────────────────────────────────
564
+ Navigation Example ─────────────────────────────────────────────
565
+
566
+ > Main view
549
567
 
550
- Main view
568
+ Items
569
+ ›First Item Navigate to first detail
570
+ Second Item Navigate to second detail
571
+ Third Item Navigate to third detail
551
572
 
552
- Items
553
- ›First Item Navigate to first detail
554
- Second Item Navigate to second detail
555
- Third Item Navigate to third detail
556
573
 
557
574
 
575
+ ↵ open details ↑↓ navigate ^k actions
558
576
 
559
577
 
560
578
 
@@ -565,7 +583,7 @@ test('search functionality in main and detail views', async () => {
565
583
 
566
584
 
567
585
 
568
- ↵ open details ↑↓ navigate ^k actions"
586
+ "
569
587
  `)
570
588
 
571
589
  // Open first item detail (auto-executes Open Details action)
@@ -583,14 +601,16 @@ test('search functionality in main and detail views', async () => {
583
601
  "
584
602
 
585
603
 
586
- Detail: First Item ─────────────────────────────────────────────
604
+ Detail: First Item ─────────────────────────────────────────────
605
+
606
+ > Detail view - Press ESC to go back
587
607
 
588
- Detail view - Press ESC to go back
608
+ Details
609
+ ›This is the detail view for First Item Press Enter to go back o
589
610
 
590
- Details
591
- ›This is the detail view for First Item Press Enter to go back o
592
611
 
593
612
 
613
+ ↵ go back ↑↓ navigate ^k actions
594
614
 
595
615
 
596
616
 
@@ -603,7 +623,7 @@ test('search functionality in main and detail views', async () => {
603
623
 
604
624
 
605
625
 
606
- ↵ go back ↑↓ navigate ^k actions"
626
+ "
607
627
  `)
608
628
 
609
629
  // Type in detail view search bar
@@ -618,16 +638,18 @@ test('search functionality in main and detail views', async () => {
618
638
  "
619
639
 
620
640
 
621
- Detail: First Item ─────────────────────────────────────────────
641
+ Detail: First Item ─────────────────────────────────────────────
622
642
 
623
- test
643
+ > test
624
644
 
625
645
 
626
646
 
647
+ No items found
627
648
 
628
649
 
629
650
 
630
651
 
652
+ ↵ go back ↑↓ navigate ^k actions
631
653
 
632
654
 
633
655
 
@@ -638,7 +660,7 @@ test('search functionality in main and detail views', async () => {
638
660
 
639
661
 
640
662
 
641
- ↵ go back ↑↓ navigate ^k actions"
663
+ "
642
664
  `)
643
665
 
644
666
  // Press ESC to go back
@@ -653,16 +675,18 @@ test('search functionality in main and detail views', async () => {
653
675
  "
654
676
 
655
677
 
656
- Navigation Example ─────────────────────────────────────────────
678
+ Navigation Example ─────────────────────────────────────────────
679
+
680
+ > Main view
657
681
 
658
- Main view
682
+ Items
683
+ ›First Item Navigate to first detail
684
+ Second Item Navigate to second detail
685
+ Third Item Navigate to third detail
659
686
 
660
- Items
661
- ›First Item Navigate to first detail
662
- Second Item Navigate to second detail
663
- Third Item Navigate to third detail
664
687
 
665
688
 
689
+ ↵ open details ↑↓ navigate ^k actions
666
690
 
667
691
 
668
692
 
@@ -673,6 +697,6 @@ test('search functionality in main and detail views', async () => {
673
697
 
674
698
 
675
699
 
676
- ↵ open details ↑↓ navigate ^k actions"
700
+ "
677
701
  `)
678
702
  }, 10000)
@@ -46,13 +46,14 @@ test('Store extension - searching for spiceblow shows Database', async () => {
46
46
  "
47
47
 
48
48
 
49
- Store - Install Extensions ───────────────────────────────────────────────
49
+ Store - Install Extensions ───────────────────────────────────────────────
50
50
 
51
- spiceblow
51
+ > spiceblow
52
52
 
53
- ›Spiceblow - Sql Database Management Search, update, insert and delete row
53
+ ›Spiceblow - Sql Database Management Search, update, insert and delete row
54
54
 
55
55
 
56
+ ↑↓ navigate ^k actions powered by termcast
56
57
 
57
58
 
58
59
 
@@ -71,6 +72,7 @@ test('Store extension - searching for spiceblow shows Database', async () => {
71
72
 
72
73
 
73
74
 
74
- ↑↓ navigate ^k actions"
75
+
76
+ "
75
77
  `)
76
78
  }, 30000)