@motiadev/workbench 0.13.2-beta.164-562802 → 0.13.2-beta.164-110989

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.
@@ -21,18 +21,20 @@ export const FlowTabMenuItem = () => {
21
21
  <div className="flex flex-row justify-center items-center gap-2 cursor-pointer">
22
22
  <Workflow />
23
23
  {flows.length > 0 && selectedFlowId ? selectedFlowId : 'Flows'}
24
- {flows.length > 0 && (
25
- <DropdownMenu>
26
- <DropdownMenuTrigger asChild>
27
- <div
28
- className="flex flex-row justify-center items-center gap-2 cursor-pointer"
29
- data-testid="flows-dropdown-trigger"
30
- >
31
- <ChevronsUpDown className="size-4" />
32
- </div>
33
- </DropdownMenuTrigger>
34
- <DropdownMenuContent className="bg-background text-foreground flows-dropdown">
35
- {flows.map((item) => (
24
+ <DropdownMenu>
25
+ <DropdownMenuTrigger asChild>
26
+ <div
27
+ className="flex flex-row justify-center items-center gap-2 cursor-pointer"
28
+ data-testid="flows-dropdown-trigger"
29
+ >
30
+ <ChevronsUpDown className="size-4" />
31
+ </div>
32
+ </DropdownMenuTrigger>
33
+ <DropdownMenuContent className="bg-background text-foreground flows-dropdown">
34
+ {flows.length === 0 ? (
35
+ <DropdownMenuItem disabled>Loading flows...</DropdownMenuItem>
36
+ ) : (
37
+ flows.map((item) => (
36
38
  <DropdownMenuItem
37
39
  data-testid={`dropdown-${item}`}
38
40
  key={`dropdown-${item}`}
@@ -41,10 +43,10 @@ export const FlowTabMenuItem = () => {
41
43
  >
42
44
  {item}
43
45
  </DropdownMenuItem>
44
- ))}
45
- </DropdownMenuContent>
46
- </DropdownMenu>
47
- )}
46
+ ))
47
+ )}
48
+ </DropdownMenuContent>
49
+ </DropdownMenu>
48
50
  </div>
49
51
  )
50
52
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@motiadev/workbench",
3
3
  "description": "A web-based interface for building and managing Motia workflows.",
4
- "version": "0.13.2-beta.164-562802",
4
+ "version": "0.13.2-beta.164-110989",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -39,9 +39,9 @@
39
39
  "vite": "^7.2.4",
40
40
  "zod": "^4.1.13",
41
41
  "zustand": "^5.0.8",
42
- "@motiadev/core": "0.13.2-beta.164-562802",
43
- "@motiadev/ui": "0.13.2-beta.164-562802",
44
- "@motiadev/stream-client-react": "0.13.2-beta.164-562802"
42
+ "@motiadev/ui": "0.13.2-beta.164-110989",
43
+ "@motiadev/core": "0.13.2-beta.164-110989",
44
+ "@motiadev/stream-client-react": "0.13.2-beta.164-110989"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-babel": "^6.1.0",