ai-design-system 0.1.10 → 0.1.11
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/components/composites/StateNode/StateNode.tsx +2 -2
- package/components/composites/TransitionNode/TransitionNode.tsx +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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-
|
|
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
|
|
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
|
|
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-
|
|
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
|
|
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}`,
|