Skip to content

Commit 01c4372

Browse files
docs(sdk): refer to @workflowbuilder/ui in source comments and JSDoc
1 parent f0dbdbd commit 01c4372

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/sdk/src/features/diagram/edges/edge-label-renderer/edge-label-renderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type EdgeLabelProps = {
1818
/**
1919
* Renders a label (text or icon) at fixed canvas coordinates, used by edge
2020
* components to attach descriptive content along their path. Built on top
21-
* of xyflow's `<EdgeLabelRenderer>` and styled via overflow-ui's
21+
* of xyflow's `<EdgeLabelRenderer>` and styled via `@workflowbuilder/ui`'s
2222
* `<EdgeLabel>` primitive so hover / selected states match the rest of
2323
* the editor.
2424
*

packages/sdk/src/features/diagram/handles/get-handles-alignment.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import type { ComponentProps } from 'react';
33

44
import type { LayoutDirection } from '../../../node/common';
55

6-
// Source-of-truth: overflow-ui's `<NodePanel.Handles>` prop, so adding a new
7-
// alignment in overflow-ui surfaces here as a type error instead of silently
8-
// drifting.
6+
// Source-of-truth: `@workflowbuilder/ui`'s `<NodePanel.Handles>` prop, so adding
7+
// a new alignment in the UI library surfaces here as a type error instead of
8+
// silently drifting.
99
type HandlesAlignment = NonNullable<ComponentProps<typeof NodePanel.Handles>['alignment']>;
1010

1111
// Unifies how built-in node templates choose the `alignment` prop they pass to

packages/sdk/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Library entry point for @workflowbuilder/sdk.
22
// Built by packages/sdk/vite.config.mts into dist/ as a distributable npm package.
3-
// Bundles all required CSS (app + xyflow + overflow-ui) into style.css.
3+
// Bundles all required CSS (app + xyflow + @workflowbuilder/ui) into style.css.
44
import './index.css';
55

66
import './bootstrap';

0 commit comments

Comments
 (0)