@motiadev/workbench 0.4.4-beta.97 → 0.5.0-beta.99

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/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.4.4-beta.97",
4
+ "version": "0.5.0-beta.99",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
7
7
  "@monaco-editor/react": "^4.6.1",
@@ -40,8 +40,8 @@
40
40
  "typescript": "~5.8.3",
41
41
  "typescript-eslint": "^8.32.1",
42
42
  "vite": "^6.3.5",
43
- "@motiadev/stream-client-react": "0.4.4-beta.97",
44
- "@motiadev/ui": "0.4.4-beta.97"
43
+ "@motiadev/ui": "0.5.0-beta.99",
44
+ "@motiadev/stream-client-react": "0.5.0-beta.99"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@testing-library/jest-dom": "^6.6.3",
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- declare const badgeVariants: (props?: ({
4
- variant?: "error" | "default" | "secondary" | "destructive" | "outline" | "info" | "warning" | "red-rounded" | "red-dot" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
- }
8
- export declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,24 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cva } from 'class-variance-authority';
3
- import { cn } from '@/lib/utils';
4
- const badgeVariants = cva('inline-flex items-center rounded-lg border px-1 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
5
- variants: {
6
- variant: {
7
- default: 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',
8
- secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
9
- info: 'border-transparent bg-[#47B2FF33] text-[#47B2FF] hover:bg-sky/80',
10
- error: 'border-transparent bg-rose-500 text-black shadow hover:bg-rose/80',
11
- warning: 'border-transparent bg-amber-300 text-amber-950 hover:bg-amber/80',
12
- destructive: 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80',
13
- 'red-rounded': 'border-transparent bg-red-500 text-red-950 hover:bg-red/80 rounded-full',
14
- 'red-dot': 'border-transparent bg-red-500 rounded-full w-2 h-2 p-0',
15
- outline: 'text-foreground',
16
- },
17
- },
18
- defaultVariants: {
19
- variant: 'default',
20
- },
21
- });
22
- export function Badge({ className, variant, ...props }) {
23
- return _jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
24
- }
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,10 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import * as React from 'react';
4
- import * as LabelPrimitive from '@radix-ui/react-label';
5
- import { cva } from 'class-variance-authority';
6
- import { cn } from '@/lib/utils';
7
- const labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');
8
- const Label = React.forwardRef(({ className, ...props }, ref) => (_jsx(LabelPrimitive.Root, { ref: ref, className: cn(labelVariants(), className), ...props })));
9
- Label.displayName = LabelPrimitive.Root.displayName;
10
- export { Label };