@skygraph/react 0.4.0 → 0.5.0

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/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as SizeType, B as BaseComponentProps, S as SizableProps, I as InteractiveProps } from './common-CdpocIEz.cjs';
2
- import { i as SgLocale, j as PrintOptions, k as CalendarLocale, l as PrintableProp, m as SlotClassNames, n as SlotStyles } from './Table-BqN2u5ma.cjs';
3
- export { A as AggregateType, B as BreadcrumbLocale, o as CarouselLocale, p as CascaderLocale, C as CellSpan, q as ChartsLocale, D as DashboardLocale, r as DatePickerLocale, s as DrawerLocale, t as EmptyLocale, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, v as FormLocale, w as GanttLocale, G as GroupRow, H as HeaderCell, I as InlineEditLocale, x as InputPasswordLocale, M as ModalLocale, N as NotificationLocale, y as PaginationLocale, P as PinnedRowsConfig, z as PopconfirmLocale, J as RateLocale, K as ResourceCalendarLocale, R as RowNumberConfig, b as RowSelectionConfig, L as SchemaFormEditorLocale, O as SearchInputLocale, S as SelectionSummaryAction, Q as SkeletonLocale, V as SpinLocale, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, W as TableRef, X as TagInputLocale, Y as TagLocale, Z as TimelineLocale, _ as TransferLocale, g as TreeConfig, $ as TreeSelectLocale, a0 as UploadLocale, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-BqN2u5ma.cjs';
2
+ import { i as SgLocale, j as PrintOptions, k as CalendarLocale, l as PrintableProp, m as SlotClassNames, n as SlotStyles } from './Table-CpKMOH2x.cjs';
3
+ export { A as AggregateType, B as BreadcrumbLocale, o as CarouselLocale, p as CascaderLocale, C as CellSpan, q as ChartsLocale, D as DashboardLocale, r as DatePickerLocale, s as DrawerLocale, t as EmptyLocale, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, v as FormLocale, w as GanttLocale, G as GroupRow, H as HeaderCell, I as InlineEditLocale, x as InputPasswordLocale, M as ModalLocale, N as NotificationLocale, y as PaginationLocale, P as PinnedRowsConfig, z as PopconfirmLocale, J as RateLocale, K as ResourceCalendarLocale, R as RowNumberConfig, b as RowSelectionConfig, L as SchemaFormEditorLocale, O as SearchInputLocale, S as SelectionSummaryAction, Q as SkeletonLocale, V as SpinLocale, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, W as TableRef, X as TagInputLocale, Y as TagLocale, Z as TimelineLocale, _ as TransferLocale, g as TreeConfig, $ as TreeSelectLocale, a0 as UploadLocale, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-CpKMOH2x.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as React$1 from 'react';
6
6
  import React__default, { ReactNode, CSSProperties, MouseEvent } from 'react';
@@ -1986,6 +1986,20 @@ interface DiagramProps {
1986
1986
  maxNodes?: number;
1987
1987
  cornerRadius?: number;
1988
1988
  curvature?: number;
1989
+ /**
1990
+ * Where the central bend of an orthogonal edge sits between the
1991
+ * two perpendicular stubs:
1992
+ * - `0` → bend at the source
1993
+ * - `0.5` → midpoint (default — matches React Flow's smoothstep)
1994
+ * - `1` → bend at the target
1995
+ */
1996
+ stepPosition?: number;
1997
+ /**
1998
+ * Length of the perpendicular stub extending from each endpoint
1999
+ * before the connector turns. Defaults to `max(20, gridSize)`,
2000
+ * matching React Flow's `offset = 20`.
2001
+ */
2002
+ stubLength?: number;
1989
2003
  };
1990
2004
  /**
1991
2005
  * When `true`, every rendered edge gets an arrow marker on its target
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as SizeType, B as BaseComponentProps, S as SizableProps, I as InteractiveProps } from './common-CdpocIEz.js';
2
- import { i as SgLocale, j as PrintOptions, k as CalendarLocale, l as PrintableProp, m as SlotClassNames, n as SlotStyles } from './Table-IvijKCyd.js';
3
- export { A as AggregateType, B as BreadcrumbLocale, o as CarouselLocale, p as CascaderLocale, C as CellSpan, q as ChartsLocale, D as DashboardLocale, r as DatePickerLocale, s as DrawerLocale, t as EmptyLocale, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, v as FormLocale, w as GanttLocale, G as GroupRow, H as HeaderCell, I as InlineEditLocale, x as InputPasswordLocale, M as ModalLocale, N as NotificationLocale, y as PaginationLocale, P as PinnedRowsConfig, z as PopconfirmLocale, J as RateLocale, K as ResourceCalendarLocale, R as RowNumberConfig, b as RowSelectionConfig, L as SchemaFormEditorLocale, O as SearchInputLocale, S as SelectionSummaryAction, Q as SkeletonLocale, V as SpinLocale, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, W as TableRef, X as TagInputLocale, Y as TagLocale, Z as TimelineLocale, _ as TransferLocale, g as TreeConfig, $ as TreeSelectLocale, a0 as UploadLocale, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-IvijKCyd.js';
2
+ import { i as SgLocale, j as PrintOptions, k as CalendarLocale, l as PrintableProp, m as SlotClassNames, n as SlotStyles } from './Table-BmesoMje.js';
3
+ export { A as AggregateType, B as BreadcrumbLocale, o as CarouselLocale, p as CascaderLocale, C as CellSpan, q as ChartsLocale, D as DashboardLocale, r as DatePickerLocale, s as DrawerLocale, t as EmptyLocale, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, v as FormLocale, w as GanttLocale, G as GroupRow, H as HeaderCell, I as InlineEditLocale, x as InputPasswordLocale, M as ModalLocale, N as NotificationLocale, y as PaginationLocale, P as PinnedRowsConfig, z as PopconfirmLocale, J as RateLocale, K as ResourceCalendarLocale, R as RowNumberConfig, b as RowSelectionConfig, L as SchemaFormEditorLocale, O as SearchInputLocale, S as SelectionSummaryAction, Q as SkeletonLocale, V as SpinLocale, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, W as TableRef, X as TagInputLocale, Y as TagLocale, Z as TimelineLocale, _ as TransferLocale, g as TreeConfig, $ as TreeSelectLocale, a0 as UploadLocale, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-BmesoMje.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as React$1 from 'react';
6
6
  import React__default, { ReactNode, CSSProperties, MouseEvent } from 'react';
@@ -1986,6 +1986,20 @@ interface DiagramProps {
1986
1986
  maxNodes?: number;
1987
1987
  cornerRadius?: number;
1988
1988
  curvature?: number;
1989
+ /**
1990
+ * Where the central bend of an orthogonal edge sits between the
1991
+ * two perpendicular stubs:
1992
+ * - `0` → bend at the source
1993
+ * - `0.5` → midpoint (default — matches React Flow's smoothstep)
1994
+ * - `1` → bend at the target
1995
+ */
1996
+ stepPosition?: number;
1997
+ /**
1998
+ * Length of the perpendicular stub extending from each endpoint
1999
+ * before the connector turns. Defaults to `max(20, gridSize)`,
2000
+ * matching React Flow's `offset = 20`.
2001
+ */
2002
+ stubLength?: number;
1989
2003
  };
1990
2004
  /**
1991
2005
  * When `true`, every rendered edge gets an arrow marker on its target