@ctrl-ui/react 0.8.20 → 0.8.21

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.
@@ -31,6 +31,7 @@
31
31
  --cui-flow-controls-border-color: var(--border);
32
32
  --cui-flow-controls-shadow: var(--shadow-sm);
33
33
  --xy-edge-stroke: var(--cui-flow-edge-stroke);
34
+ --xy-edge-stroke-selected: var(--cui-flow-selected-edge-stroke);
34
35
  --xy-connectionline-stroke: var(--cui-flow-edge-stroke);
35
36
  --xy-connectionline-stroke-width: var(--cui-flow-edge-size);
36
37
  --xy-selection-background-color: oklch(from var(--primary) l c h / 0.08);
@@ -123,7 +124,8 @@
123
124
  stroke-dasharray: 5 5;
124
125
  }
125
126
 
126
- :where(.react-flow__edge.selected [data-control-family="flow"][data-slot="edge"]) {
127
+ :where(.react-flow__edge.selected [data-control-family="flow"][data-slot="edge"]),
128
+ :where(.react-flow__edge.selectable:focus-visible [data-control-family="flow"][data-slot="edge"]) {
127
129
  stroke: var(--cui-flow-selected-edge-stroke);
128
130
  }
129
131
 
package/dist/ui/flow.js CHANGED
@@ -146,7 +146,7 @@ function FlowEdgeLabelChip({ className, ...props }) {
146
146
  "data-control-ui": "flow",
147
147
  "data-control-family": "flow",
148
148
  "data-slot": "edge-label-chip",
149
- className: cn("inline-flex max-w-40 items-center truncate", className)
149
+ className: cn("max-w-40 truncate", className)
150
150
  });
151
151
  }
152
152
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl-ui/react",
3
- "version": "0.8.20",
3
+ "version": "0.8.21",
4
4
  "description": "Control UI components, blocks, and primitives with neutral defaults and consumer-owned themes.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,7 +36,6 @@
36
36
  "peerDependencies": {
37
37
  "@base-ui/react": "^1.8.0",
38
38
  "@tanstack/react-virtual": "^3.14.13",
39
- "@xyflow/react": "^12.12.0",
40
39
  "@tiptap/core": "3.31.4",
41
40
  "@tiptap/extension-image": "3.31.4",
42
41
  "@tiptap/extension-list": "3.31.4",
@@ -46,6 +45,7 @@
46
45
  "@tiptap/pm": "3.31.4",
47
46
  "@tiptap/react": "3.31.4",
48
47
  "@tiptap/starter-kit": "3.31.4",
48
+ "@xyflow/react": "^12.12.0",
49
49
  "class-variance-authority": "^0.7.1",
50
50
  "clsx": "^2.1.1",
51
51
  "cmdk": "^1.1.1",
@@ -71,9 +71,6 @@
71
71
  "zod": "^4.6.5"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
- "@xyflow/react": {
75
- "optional": true
76
- },
77
74
  "@tanstack/react-virtual": {
78
75
  "optional": true
79
76
  },
@@ -104,6 +101,9 @@
104
101
  "@tiptap/starter-kit": {
105
102
  "optional": true
106
103
  },
104
+ "@xyflow/react": {
105
+ "optional": true
106
+ },
107
107
  "cmdk": {
108
108
  "optional": true
109
109
  },