@squeed/flow-sdk 2.0.3 → 2.0.4
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 +5 -0
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5612 -5546
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -139,6 +139,7 @@ export declare const contentObjTheme: (color: any) => {
|
|
|
139
139
|
|
|
140
140
|
declare interface ContractPort {
|
|
141
141
|
kind: "input" | "config" | "output" | "error";
|
|
142
|
+
label?: string;
|
|
142
143
|
resourceType?: string;
|
|
143
144
|
multiple?: boolean;
|
|
144
145
|
}
|
|
@@ -538,7 +539,7 @@ export declare interface FlowDiagramNode {
|
|
|
538
539
|
export declare interface FlowDiagramProps {
|
|
539
540
|
/** Show the loader while the host fetches data; initial compilation waits until false. */
|
|
540
541
|
loading?: boolean;
|
|
541
|
-
/** Custom loading content.
|
|
542
|
+
/** Custom loading content while fetching or preparing JSON. Set null to hide the overlay; aria-busy and the interaction lock remain active. */
|
|
542
543
|
loader?: React.ReactNode;
|
|
543
544
|
/** Title shown on the root node */
|
|
544
545
|
title?: string;
|
|
@@ -635,10 +636,11 @@ export declare interface FlowNodeCreationRequest {
|
|
|
635
636
|
};
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
export declare function FlowPort({ id, role, side, position, placement, children, style, }: FlowPortProps): JSX_2.Element;
|
|
639
|
+
export declare function FlowPort({ id, label, role, side, position, placement, children, style, }: FlowPortProps): JSX_2.Element;
|
|
639
640
|
|
|
640
641
|
export declare interface FlowPortProps {
|
|
641
642
|
id: string;
|
|
643
|
+
label?: string;
|
|
642
644
|
role: "source" | "target";
|
|
643
645
|
side?: PortSide;
|
|
644
646
|
position?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ export declare const contentObjTheme: (color: any) => {
|
|
|
139
139
|
|
|
140
140
|
declare interface ContractPort {
|
|
141
141
|
kind: "input" | "config" | "output" | "error";
|
|
142
|
+
label?: string;
|
|
142
143
|
resourceType?: string;
|
|
143
144
|
multiple?: boolean;
|
|
144
145
|
}
|
|
@@ -538,7 +539,7 @@ export declare interface FlowDiagramNode {
|
|
|
538
539
|
export declare interface FlowDiagramProps {
|
|
539
540
|
/** Show the loader while the host fetches data; initial compilation waits until false. */
|
|
540
541
|
loading?: boolean;
|
|
541
|
-
/** Custom loading content.
|
|
542
|
+
/** Custom loading content while fetching or preparing JSON. Set null to hide the overlay; aria-busy and the interaction lock remain active. */
|
|
542
543
|
loader?: React.ReactNode;
|
|
543
544
|
/** Title shown on the root node */
|
|
544
545
|
title?: string;
|
|
@@ -635,10 +636,11 @@ export declare interface FlowNodeCreationRequest {
|
|
|
635
636
|
};
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
export declare function FlowPort({ id, role, side, position, placement, children, style, }: FlowPortProps): JSX_2.Element;
|
|
639
|
+
export declare function FlowPort({ id, label, role, side, position, placement, children, style, }: FlowPortProps): JSX_2.Element;
|
|
639
640
|
|
|
640
641
|
export declare interface FlowPortProps {
|
|
641
642
|
id: string;
|
|
643
|
+
label?: string;
|
|
642
644
|
role: "source" | "target";
|
|
643
645
|
side?: PortSide;
|
|
644
646
|
position?: number;
|