ai-design-system 0.1.10 → 0.1.12

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.
@@ -68,9 +68,9 @@ export const StateNode = memo(({ data, selected, id }: StateNodeProps) => {
68
68
  return (
69
69
  <Node
70
70
  className={cn(
71
- "relative flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-800 shadow-none transition-all duration-150 ease-out",
71
+ "relative flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center border border-border bg-card shadow-none transition-all duration-150 ease-out",
72
72
  selected && "border-primary border-2",
73
- isTerminal && "border-2 border-blue-500 dark:border-blue-400",
73
+ isTerminal && "border-2 border-primary",
74
74
  isDisabled && "opacity-50"
75
75
  )}
76
76
  data-testid={`state-node-${id}`}
@@ -53,7 +53,7 @@ export const TransitionNode = memo(
53
53
  return (
54
54
  <Node
55
55
  className={cn(
56
- "flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center bg-slate-50 dark:bg-slate-900/30 border border-slate-200 dark:border-slate-700 shadow-none transition-all duration-150 ease-out",
56
+ "flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center border border-border bg-muted/40 shadow-none transition-all duration-150 ease-out",
57
57
  selected && "border-primary border-2"
58
58
  )}
59
59
  data-testid={`transition-node-${id}`}
package/dist/index.cjs CHANGED
@@ -7090,9 +7090,9 @@ var StateNode = React33.memo(({ data, selected, id }) => {
7090
7090
  Node2,
7091
7091
  {
7092
7092
  className: cn(
7093
- "relative flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-800 shadow-none transition-all duration-150 ease-out",
7093
+ "relative flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center border border-border bg-card shadow-none transition-all duration-150 ease-out",
7094
7094
  selected && "border-primary border-2",
7095
- isTerminal && "border-2 border-blue-500 dark:border-blue-400",
7095
+ isTerminal && "border-2 border-primary",
7096
7096
  isDisabled && "opacity-50"
7097
7097
  ),
7098
7098
  "data-testid": `state-node-${id}`,
@@ -7126,7 +7126,7 @@ var TransitionNode = React33.memo(
7126
7126
  Node2,
7127
7127
  {
7128
7128
  className: cn(
7129
- "flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center bg-slate-50 dark:bg-slate-900/30 border border-slate-200 dark:border-slate-700 shadow-none transition-all duration-150 ease-out",
7129
+ "flex h-auto w-auto min-w-[120px] max-w-[180px] flex-col items-center justify-center border border-border bg-muted/40 shadow-none transition-all duration-150 ease-out",
7130
7130
  selected && "border-primary border-2"
7131
7131
  ),
7132
7132
  "data-testid": `transition-node-${id}`,