@squeed/flow-sdk 2.0.4 → 2.0.6
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/README.md +11 -4
- package/dist/index.cjs +15 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7103 -6960
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -11,8 +11,6 @@ import { ReactNode } from 'react';
|
|
|
11
11
|
import { ReactPortal } from 'react';
|
|
12
12
|
import { RefAttributes } from 'react';
|
|
13
13
|
import { RefObject } from 'react';
|
|
14
|
-
import { StyledComponent } from '@emotion/styled';
|
|
15
|
-
import { Theme } from '@emotion/react';
|
|
16
14
|
|
|
17
15
|
/** Add a child under `parentAddress`. Returns the new node's address. */
|
|
18
16
|
export declare function addChild(json: SqueedJson, parentAddress: string, child: any, key?: string): {
|
|
@@ -373,6 +371,11 @@ export declare interface FlowDiagramConfig {
|
|
|
373
371
|
bottomBarExtra?: React.ReactNode;
|
|
374
372
|
/** Animate fit/center/focus actions for 300ms by default. Per-action flags override this; reduced motion stays instant. */
|
|
375
373
|
animateViewport?: boolean;
|
|
374
|
+
edgeReveal?: {
|
|
375
|
+
durationMs?: number;
|
|
376
|
+
paused?: boolean;
|
|
377
|
+
revealNodes?: boolean;
|
|
378
|
+
};
|
|
376
379
|
formSchema?: FormSchema;
|
|
377
380
|
spacing?: NodeSpacing;
|
|
378
381
|
edgeRadius?: number;
|
|
@@ -1140,10 +1143,7 @@ export declare const ToolbarIconButton: ForwardRefExoticComponent<Omit<IconButto
|
|
|
1140
1143
|
icon: React.ReactElement;
|
|
1141
1144
|
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1142
1145
|
|
|
1143
|
-
export declare const ToolbarRangeInput:
|
|
1144
|
-
theme?: Theme;
|
|
1145
|
-
as?: React.ElementType;
|
|
1146
|
-
}, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
1146
|
+
export declare const ToolbarRangeInput: ForwardRefExoticComponent<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
1147
1147
|
|
|
1148
1148
|
export declare function ToolbarScrollContainer({ children, background, border, }: {
|
|
1149
1149
|
children: ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ import { ReactNode } from 'react';
|
|
|
11
11
|
import { ReactPortal } from 'react';
|
|
12
12
|
import { RefAttributes } from 'react';
|
|
13
13
|
import { RefObject } from 'react';
|
|
14
|
-
import { StyledComponent } from '@emotion/styled';
|
|
15
|
-
import { Theme } from '@emotion/react';
|
|
16
14
|
|
|
17
15
|
/** Add a child under `parentAddress`. Returns the new node's address. */
|
|
18
16
|
export declare function addChild(json: SqueedJson, parentAddress: string, child: any, key?: string): {
|
|
@@ -373,6 +371,11 @@ export declare interface FlowDiagramConfig {
|
|
|
373
371
|
bottomBarExtra?: React.ReactNode;
|
|
374
372
|
/** Animate fit/center/focus actions for 300ms by default. Per-action flags override this; reduced motion stays instant. */
|
|
375
373
|
animateViewport?: boolean;
|
|
374
|
+
edgeReveal?: {
|
|
375
|
+
durationMs?: number;
|
|
376
|
+
paused?: boolean;
|
|
377
|
+
revealNodes?: boolean;
|
|
378
|
+
};
|
|
376
379
|
formSchema?: FormSchema;
|
|
377
380
|
spacing?: NodeSpacing;
|
|
378
381
|
edgeRadius?: number;
|
|
@@ -1140,10 +1143,7 @@ export declare const ToolbarIconButton: ForwardRefExoticComponent<Omit<IconButto
|
|
|
1140
1143
|
icon: React.ReactElement;
|
|
1141
1144
|
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1142
1145
|
|
|
1143
|
-
export declare const ToolbarRangeInput:
|
|
1144
|
-
theme?: Theme;
|
|
1145
|
-
as?: React.ElementType;
|
|
1146
|
-
}, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
1146
|
+
export declare const ToolbarRangeInput: ForwardRefExoticComponent<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
1147
1147
|
|
|
1148
1148
|
export declare function ToolbarScrollContainer({ children, background, border, }: {
|
|
1149
1149
|
children: ReactNode;
|