@hitachivantara/uikit-react-lab 5.16.5 → 5.18.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/cjs/components/Dashboard/Dashboard.cjs +68 -0
- package/dist/cjs/components/Dashboard/Dashboard.cjs.map +1 -0
- package/dist/cjs/components/Dashboard/Dashboard.styles.cjs +15 -0
- package/dist/cjs/components/Dashboard/Dashboard.styles.cjs.map +1 -0
- package/dist/cjs/components/Flow/Node/BaseNode.cjs +29 -22
- package/dist/cjs/components/Flow/Node/BaseNode.cjs.map +1 -1
- package/dist/cjs/components/Flow/Node/Node.cjs +1 -3
- package/dist/cjs/components/Flow/Node/Node.cjs.map +1 -1
- package/dist/cjs/components/Flow/Node/Parameters/Select.cjs +2 -2
- package/dist/cjs/components/Flow/Node/Parameters/Select.cjs.map +1 -1
- package/dist/cjs/components/Flow/hooks/useFlowNode.cjs +26 -18
- package/dist/cjs/components/Flow/hooks/useFlowNode.cjs.map +1 -1
- package/dist/cjs/components/Flow/hooks/useFlowNodeMeta.cjs +11 -0
- package/dist/cjs/components/Flow/hooks/useFlowNodeMeta.cjs.map +1 -0
- package/dist/cjs/index.cjs +36 -26
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Dashboard/Dashboard.js +69 -0
- package/dist/esm/components/Dashboard/Dashboard.js.map +1 -0
- package/dist/esm/components/Dashboard/Dashboard.styles.js +15 -0
- package/dist/esm/components/Dashboard/Dashboard.styles.js.map +1 -0
- package/dist/esm/components/Flow/Node/BaseNode.js +30 -23
- package/dist/esm/components/Flow/Node/BaseNode.js.map +1 -1
- package/dist/esm/components/Flow/Node/Node.js +1 -3
- package/dist/esm/components/Flow/Node/Node.js.map +1 -1
- package/dist/esm/components/Flow/Node/Parameters/Select.js +2 -2
- package/dist/esm/components/Flow/Node/Parameters/Select.js.map +1 -1
- package/dist/esm/components/Flow/hooks/useFlowNode.js +28 -20
- package/dist/esm/components/Flow/hooks/useFlowNode.js.map +1 -1
- package/dist/esm/components/Flow/hooks/useFlowNodeMeta.js +11 -0
- package/dist/esm/components/Flow/hooks/useFlowNodeMeta.js.map +1 -0
- package/dist/esm/index.js +40 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +132 -77
- package/package.json +6 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -28,8 +28,14 @@ import { NodeProps } from 'reactflow';
|
|
|
28
28
|
import { PanelPosition } from 'reactflow';
|
|
29
29
|
import { default as React_2 } from 'react';
|
|
30
30
|
import { ReactFlowProps } from 'reactflow';
|
|
31
|
+
import { ReactGridLayoutProps } from 'react-grid-layout';
|
|
32
|
+
import { ResponsiveProps } from 'react-grid-layout';
|
|
31
33
|
import { SetStateAction } from 'react';
|
|
32
34
|
|
|
35
|
+
export declare const dashboardClasses: {
|
|
36
|
+
root: "HvDashboard-root";
|
|
37
|
+
};
|
|
38
|
+
|
|
33
39
|
export declare const flowBaseNodeClasses: {
|
|
34
40
|
root: "HvFlowBaseNode-root";
|
|
35
41
|
title: "HvFlowBaseNode-title";
|
|
@@ -62,13 +68,42 @@ export declare const flowNodeClasses: {
|
|
|
62
68
|
export declare const flowSidebarClasses: {
|
|
63
69
|
description: "HvFlowSidebar-description";
|
|
64
70
|
titleContainer: "HvFlowSidebar-titleContainer";
|
|
65
|
-
contentContainer: "HvFlowSidebar-contentContainer";
|
|
66
71
|
drawerPaper: "HvFlowSidebar-drawerPaper";
|
|
72
|
+
contentContainer: "HvFlowSidebar-contentContainer";
|
|
67
73
|
searchRoot: "HvFlowSidebar-searchRoot";
|
|
68
74
|
groupsContainer: "HvFlowSidebar-groupsContainer";
|
|
69
75
|
nodeType: "HvFlowSidebar-nodeType";
|
|
70
76
|
};
|
|
71
77
|
|
|
78
|
+
/**
|
|
79
|
+
* A Dashboard grid layout component, based on `react-grid-layout`.
|
|
80
|
+
* The children elements are grid items and must be `key`ed.
|
|
81
|
+
*
|
|
82
|
+
* @see https://github.com/react-grid-layout/react-grid-layout?tab=readme-ov-file#grid-layout-props
|
|
83
|
+
*
|
|
84
|
+
* DISCLAIMER: This component is a work in progress and there might be breaking changes.
|
|
85
|
+
*/
|
|
86
|
+
export declare const HvDashboard: (props: HvDashboardProps) => JSX_2.Element;
|
|
87
|
+
|
|
88
|
+
export declare type HvDashboardClasses = ExtractNames<typeof useClasses>;
|
|
89
|
+
|
|
90
|
+
export declare interface HvDashboardProps extends Omit<ResponsiveProps, "cols"> {
|
|
91
|
+
/** Dashboard items. Each node must be `key`'ed */
|
|
92
|
+
children: React.ReactNode;
|
|
93
|
+
/** An object used to override or extend the styles applied. */
|
|
94
|
+
classes?: HvDashboardClasses;
|
|
95
|
+
/**
|
|
96
|
+
* Layout is an array of object with the format:
|
|
97
|
+
*
|
|
98
|
+
* `{i: string, x: number, y: number, w: number, h: number}`
|
|
99
|
+
*
|
|
100
|
+
* The `i` must match the key used on each item component.
|
|
101
|
+
*/
|
|
102
|
+
layout?: ReactGridLayoutProps["layout"];
|
|
103
|
+
/** Number of grid columns or an object of breakpoint -> #columns */
|
|
104
|
+
cols?: number | ResponsiveProps["cols"];
|
|
105
|
+
}
|
|
106
|
+
|
|
72
107
|
declare interface HvDroppableFlowProps<NodeType extends string | undefined = string | undefined, NodeData = any> extends Omit<ReactFlowProps, "nodes" | "edges" | "nodeTypes"> {
|
|
73
108
|
/** Flow content: background, controls, and minimap. */
|
|
74
109
|
children?: React.ReactNode;
|
|
@@ -113,7 +148,7 @@ export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "co
|
|
|
113
148
|
|
|
114
149
|
export declare const HvFlowBaseNode: ({ id, title, headerItems, icon, color: colorProp, inputs, outputs, nodeActions, classes: classesProp, className, children, }: HvFlowBaseNodeProps<unknown>) => JSX_2.Element | null;
|
|
115
150
|
|
|
116
|
-
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof
|
|
151
|
+
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof useClasses_5>;
|
|
117
152
|
|
|
118
153
|
export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps, "id">, NodeProps<T> {
|
|
119
154
|
/** Header title */
|
|
@@ -140,7 +175,7 @@ export declare type HvFlowBuiltInActions = Omit<HvFlowNodeAction, "id" | "callba
|
|
|
140
175
|
id: HvFlowBuiltInAction;
|
|
141
176
|
};
|
|
142
177
|
|
|
143
|
-
export declare type HvFlowClasses = ExtractNames<typeof
|
|
178
|
+
export declare type HvFlowClasses = ExtractNames<typeof useClasses_2>;
|
|
144
179
|
|
|
145
180
|
declare interface HvFlowContextValue<NodeGroups extends keyof any = string> {
|
|
146
181
|
/** Flow nodes types. */
|
|
@@ -186,7 +221,7 @@ export declare interface HvFlowEmptyProps extends HvEmptyStateProps {
|
|
|
186
221
|
|
|
187
222
|
export declare const HvFlowMinimap: ({ nodeColor, maskColor, maskStrokeColor, nodeStrokeColor, classes: classesProp, className, ...others }: HvFlowMinimapProps) => JSX_2.Element;
|
|
188
223
|
|
|
189
|
-
export declare type HvFlowMinimapClasses = ExtractNames<typeof
|
|
224
|
+
export declare type HvFlowMinimapClasses = ExtractNames<typeof useClasses_3>;
|
|
190
225
|
|
|
191
226
|
export declare interface HvFlowMinimapProps<NodeData = any> extends Omit<MiniMapProps<NodeData>, "nodeColor" | "nodeStrokeColor" | "maskColor" | "maskStrokeColor"> {
|
|
192
227
|
/** Node color. Defaults to `atmo4`. */
|
|
@@ -207,7 +242,7 @@ export declare interface HvFlowNodeAction extends HvActionGeneric {
|
|
|
207
242
|
callback?: (node: Node_2) => void;
|
|
208
243
|
}
|
|
209
244
|
|
|
210
|
-
export declare type HvFlowNodeClasses = ExtractNames<typeof
|
|
245
|
+
export declare type HvFlowNodeClasses = ExtractNames<typeof useClasses_6>;
|
|
211
246
|
|
|
212
247
|
export declare interface HvFlowNodeComponentClass<GroupId extends keyof any = string, NodeData = any> extends ComponentClass<NodeProps>, NodeExtras<GroupId, NodeData> {
|
|
213
248
|
}
|
|
@@ -236,6 +271,7 @@ export declare interface HvFlowNodeGroup {
|
|
|
236
271
|
export declare type HvFlowNodeGroups<GroupId extends keyof any = string> = Record<GroupId, HvFlowNodeGroup>;
|
|
237
272
|
|
|
238
273
|
export declare type HvFlowNodeInput = {
|
|
274
|
+
id?: string;
|
|
239
275
|
label: string;
|
|
240
276
|
isMandatory?: boolean;
|
|
241
277
|
accepts?: string[];
|
|
@@ -251,6 +287,7 @@ export declare interface HvFlowNodeMeta {
|
|
|
251
287
|
export declare type HvFlowNodeMetaRegistry = Record<string, HvFlowNodeMeta>;
|
|
252
288
|
|
|
253
289
|
export declare type HvFlowNodeOutput = {
|
|
290
|
+
id?: string;
|
|
254
291
|
label: string;
|
|
255
292
|
isMandatory?: boolean;
|
|
256
293
|
provides?: string;
|
|
@@ -325,7 +362,7 @@ export declare interface HvFlowProps<NodeGroups extends keyof any = string, Node
|
|
|
325
362
|
|
|
326
363
|
export declare const HvFlowSidebar: ({ id, title, description, anchor, buttonTitle, classes: classesProp, labels: labelsProps, dragOverlayProps, defaultGroupProps, ...others }: HvFlowSidebarProps) => JSX_2.Element;
|
|
327
364
|
|
|
328
|
-
export declare type HvFlowSidebarClasses = ExtractNames<typeof
|
|
365
|
+
export declare type HvFlowSidebarClasses = ExtractNames<typeof useClasses_4>;
|
|
329
366
|
|
|
330
367
|
export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes" | "title"> {
|
|
331
368
|
/** Sidebar title. */
|
|
@@ -351,7 +388,7 @@ export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes
|
|
|
351
388
|
defaultGroupProps?: HvFlowNodeGroup;
|
|
352
389
|
}
|
|
353
390
|
|
|
354
|
-
declare type HvStepClasses = ExtractNames<typeof
|
|
391
|
+
declare type HvStepClasses = ExtractNames<typeof useClasses_8>;
|
|
355
392
|
|
|
356
393
|
/**
|
|
357
394
|
* Navigation page with steps.
|
|
@@ -376,7 +413,7 @@ declare type HvStepClasses = ExtractNames<typeof useClasses_2>;
|
|
|
376
413
|
*/
|
|
377
414
|
export declare const HvStepNavigation: ({ className, classes: classesProp, width, steps, stepSize, showTitles, type, "aria-label": ariaLabel, ...others }: HvStepNavigationProps) => JSX_2.Element;
|
|
378
415
|
|
|
379
|
-
export declare type HvStepNavigationClasses = ExtractNames<typeof
|
|
416
|
+
export declare type HvStepNavigationClasses = ExtractNames<typeof useClasses_7>;
|
|
380
417
|
|
|
381
418
|
export declare interface HvStepNavigationProps extends HvBaseProps {
|
|
382
419
|
/** Type of step navigation. Values = {"Simple", "Default"} */
|
|
@@ -422,7 +459,7 @@ export declare const HvWizard: ({ className, children, onClose, handleSubmit, ti
|
|
|
422
459
|
|
|
423
460
|
export declare const HvWizardActions: ({ classes: classesProp, handleClose, handleSubmit, loading, skippable, labels, }: HvWizardActionsProps) => JSX_2.Element;
|
|
424
461
|
|
|
425
|
-
export declare type HvWizardActionsClasses = ExtractNames<typeof
|
|
462
|
+
export declare type HvWizardActionsClasses = ExtractNames<typeof useClasses_10>;
|
|
426
463
|
|
|
427
464
|
export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
428
465
|
/** Function to handle the cancel button. */
|
|
@@ -450,11 +487,11 @@ export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
|
450
487
|
classes?: HvWizardActionsClasses;
|
|
451
488
|
}
|
|
452
489
|
|
|
453
|
-
export declare type HvWizardClasses = ExtractNames<typeof
|
|
490
|
+
export declare type HvWizardClasses = ExtractNames<typeof useClasses_9>;
|
|
454
491
|
|
|
455
492
|
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
456
493
|
|
|
457
|
-
export declare type HvWizardContainerClasses = ExtractNames<typeof
|
|
494
|
+
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_12>;
|
|
458
495
|
|
|
459
496
|
export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClose">, Pick<HvDialogProps, "maxWidth" | "fullWidth"> {
|
|
460
497
|
/** Current state of the Wizard. */
|
|
@@ -467,7 +504,7 @@ export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClo
|
|
|
467
504
|
|
|
468
505
|
export declare const HvWizardContent: ({ classes: classesProp, fixedHeight, loading, children, summaryContent, }: HvWizardContentProps) => JSX_2.Element;
|
|
469
506
|
|
|
470
|
-
export declare type HvWizardContentClasses = ExtractNames<typeof
|
|
507
|
+
export declare type HvWizardContentClasses = ExtractNames<typeof useClasses_13>;
|
|
471
508
|
|
|
472
509
|
export declare interface HvWizardContentProps extends HvBaseProps {
|
|
473
510
|
/** Forces minimum height to the component. */
|
|
@@ -534,7 +571,7 @@ export declare type HvWizardTabs = {
|
|
|
534
571
|
|
|
535
572
|
export declare const HvWizardTitle: ({ title, hasSummary, labels, classes: classesProp, customStep, }: HvWizardTitleProps) => JSX_2.Element;
|
|
536
573
|
|
|
537
|
-
export declare type HvWizardTitleClasses = ExtractNames<typeof
|
|
574
|
+
export declare type HvWizardTitleClasses = ExtractNames<typeof useClasses_11>;
|
|
538
575
|
|
|
539
576
|
export declare interface HvWizardTitleProps extends HvBaseProps {
|
|
540
577
|
/** Title for the wizard. */
|
|
@@ -564,13 +601,9 @@ export declare const stepNavigationClasses: {
|
|
|
564
601
|
titles: "HvStepNavigation-titles";
|
|
565
602
|
};
|
|
566
603
|
|
|
567
|
-
declare const useClasses: (classesProp?: Partial<Record<"root"
|
|
604
|
+
declare const useClasses: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
568
605
|
classes: {
|
|
569
606
|
root: string;
|
|
570
|
-
separator: string;
|
|
571
|
-
li: string;
|
|
572
|
-
ol: string;
|
|
573
|
-
titles: string;
|
|
574
607
|
};
|
|
575
608
|
css: {
|
|
576
609
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -579,15 +612,12 @@ declare const useClasses: (classesProp?: Partial<Record<"root" | "separator" | "
|
|
|
579
612
|
cx: (...args: any) => string;
|
|
580
613
|
};
|
|
581
614
|
|
|
582
|
-
declare const useClasses_10: (classesProp?: Partial<Record<"
|
|
615
|
+
declare const useClasses_10: (classesProp?: Partial<Record<"actionsContainer" | "buttonWidth" | "buttonsContainer" | "buttonSpacing", string>>, addStatic?: boolean) => {
|
|
583
616
|
classes: {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
searchRoot: string;
|
|
589
|
-
groupsContainer: string;
|
|
590
|
-
nodeType: string;
|
|
617
|
+
actionsContainer: string;
|
|
618
|
+
buttonWidth: string;
|
|
619
|
+
buttonsContainer: string;
|
|
620
|
+
buttonSpacing: string;
|
|
591
621
|
};
|
|
592
622
|
css: {
|
|
593
623
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -596,20 +626,14 @@ declare const useClasses_10: (classesProp?: Partial<Record<"description" | "titl
|
|
|
596
626
|
cx: (...args: any) => string;
|
|
597
627
|
};
|
|
598
628
|
|
|
599
|
-
declare const useClasses_11: (classesProp?: Partial<Record<"
|
|
629
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"titleContainer" | "messageContainer" | "headerContainer" | "buttonWidth" | "rootSummaryButton" | "stepContainer", string>>, addStatic?: boolean) => {
|
|
600
630
|
classes: {
|
|
601
|
-
root: string;
|
|
602
|
-
title: string;
|
|
603
631
|
titleContainer: string;
|
|
604
|
-
|
|
605
|
-
inputContainer: string;
|
|
606
|
-
contentContainer: string;
|
|
632
|
+
messageContainer: string;
|
|
607
633
|
headerContainer: string;
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
outputsContainer: string;
|
|
612
|
-
outputContainer: string;
|
|
634
|
+
buttonWidth: string;
|
|
635
|
+
rootSummaryButton: string;
|
|
636
|
+
stepContainer: string;
|
|
613
637
|
};
|
|
614
638
|
css: {
|
|
615
639
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -618,11 +642,11 @@ declare const useClasses_11: (classesProp?: Partial<Record<"root" | "title" | "t
|
|
|
618
642
|
cx: (...args: any) => string;
|
|
619
643
|
};
|
|
620
644
|
|
|
621
|
-
declare const useClasses_12: (classesProp?: Partial<Record<"
|
|
645
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
622
646
|
classes: {
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
647
|
+
root: string;
|
|
648
|
+
paper: string;
|
|
649
|
+
closeButton: string;
|
|
626
650
|
};
|
|
627
651
|
css: {
|
|
628
652
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -631,18 +655,24 @@ declare const useClasses_12: (classesProp?: Partial<Record<"actions" | "subtitle
|
|
|
631
655
|
cx: (...args: any) => string;
|
|
632
656
|
};
|
|
633
657
|
|
|
634
|
-
declare const
|
|
658
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"contentContainer" | "fixedHeight" | "summaryRef" | "summarySticky" | "summaryContainer", string>>, addStatic?: boolean) => {
|
|
659
|
+
classes: {
|
|
660
|
+
contentContainer: string;
|
|
661
|
+
fixedHeight: string;
|
|
662
|
+
summaryRef: string;
|
|
663
|
+
summarySticky: string;
|
|
664
|
+
summaryContainer: string;
|
|
665
|
+
};
|
|
666
|
+
css: {
|
|
667
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
668
|
+
(...args: CSSInterpolation[]): string;
|
|
669
|
+
};
|
|
670
|
+
cx: (...args: any) => string;
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
declare const useClasses_2: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
635
674
|
classes: {
|
|
636
|
-
xs: string;
|
|
637
|
-
sm: string;
|
|
638
|
-
md: string;
|
|
639
|
-
lg: string;
|
|
640
|
-
xl: string;
|
|
641
675
|
root: string;
|
|
642
|
-
avatar: string;
|
|
643
|
-
ghost: string;
|
|
644
|
-
ghostDisabled: string;
|
|
645
|
-
notCurrent: string;
|
|
646
676
|
};
|
|
647
677
|
css: {
|
|
648
678
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -662,12 +692,15 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
662
692
|
cx: (...args: any) => string;
|
|
663
693
|
};
|
|
664
694
|
|
|
665
|
-
declare const useClasses_4: (classesProp?: Partial<Record<"
|
|
695
|
+
declare const useClasses_4: (classesProp?: Partial<Record<"description" | "titleContainer" | "drawerPaper" | "contentContainer" | "searchRoot" | "groupsContainer" | "nodeType", string>>, addStatic?: boolean) => {
|
|
666
696
|
classes: {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
697
|
+
description: string;
|
|
698
|
+
titleContainer: string;
|
|
699
|
+
drawerPaper: string;
|
|
700
|
+
contentContainer: string;
|
|
701
|
+
searchRoot: string;
|
|
702
|
+
groupsContainer: string;
|
|
703
|
+
nodeType: string;
|
|
671
704
|
};
|
|
672
705
|
css: {
|
|
673
706
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -676,14 +709,20 @@ declare const useClasses_4: (classesProp?: Partial<Record<"actionsContainer" | "
|
|
|
676
709
|
cx: (...args: any) => string;
|
|
677
710
|
};
|
|
678
711
|
|
|
679
|
-
declare const useClasses_5: (classesProp?: Partial<Record<"titleContainer" | "
|
|
712
|
+
declare const useClasses_5: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "inputContainer" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "outputContainer", string>>, addStatic?: boolean) => {
|
|
680
713
|
classes: {
|
|
714
|
+
root: string;
|
|
715
|
+
title: string;
|
|
681
716
|
titleContainer: string;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
717
|
+
mandatory: string;
|
|
718
|
+
inputContainer: string;
|
|
719
|
+
contentContainer: string;
|
|
685
720
|
headerContainer: string;
|
|
686
|
-
|
|
721
|
+
inputsTitleContainer: string;
|
|
722
|
+
outputsTitleContainer: string;
|
|
723
|
+
inputsContainer: string;
|
|
724
|
+
outputsContainer: string;
|
|
725
|
+
outputContainer: string;
|
|
687
726
|
};
|
|
688
727
|
css: {
|
|
689
728
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -692,11 +731,11 @@ declare const useClasses_5: (classesProp?: Partial<Record<"titleContainer" | "me
|
|
|
692
731
|
cx: (...args: any) => string;
|
|
693
732
|
};
|
|
694
733
|
|
|
695
|
-
declare const useClasses_6: (classesProp?: Partial<Record<"
|
|
734
|
+
declare const useClasses_6: (classesProp?: Partial<Record<"actions" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
|
|
696
735
|
classes: {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
736
|
+
actions: string;
|
|
737
|
+
subtitleContainer: string;
|
|
738
|
+
paramsContainer: string;
|
|
700
739
|
};
|
|
701
740
|
css: {
|
|
702
741
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -705,13 +744,13 @@ declare const useClasses_6: (classesProp?: Partial<Record<"root" | "paper" | "cl
|
|
|
705
744
|
cx: (...args: any) => string;
|
|
706
745
|
};
|
|
707
746
|
|
|
708
|
-
declare const useClasses_7: (classesProp?: Partial<Record<"
|
|
747
|
+
declare const useClasses_7: (classesProp?: Partial<Record<"root" | "separator" | "li" | "ol" | "titles", string>>, addStatic?: boolean) => {
|
|
709
748
|
classes: {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
749
|
+
root: string;
|
|
750
|
+
separator: string;
|
|
751
|
+
li: string;
|
|
752
|
+
ol: string;
|
|
753
|
+
titles: string;
|
|
715
754
|
};
|
|
716
755
|
css: {
|
|
717
756
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -720,9 +759,18 @@ declare const useClasses_7: (classesProp?: Partial<Record<"contentContainer" | "
|
|
|
720
759
|
cx: (...args: any) => string;
|
|
721
760
|
};
|
|
722
761
|
|
|
723
|
-
declare const useClasses_8: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
762
|
+
declare const useClasses_8: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "avatar" | "ghost" | "ghostDisabled" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
724
763
|
classes: {
|
|
764
|
+
xs: string;
|
|
765
|
+
sm: string;
|
|
766
|
+
md: string;
|
|
767
|
+
lg: string;
|
|
768
|
+
xl: string;
|
|
725
769
|
root: string;
|
|
770
|
+
avatar: string;
|
|
771
|
+
ghost: string;
|
|
772
|
+
ghostDisabled: string;
|
|
773
|
+
notCurrent: string;
|
|
726
774
|
};
|
|
727
775
|
css: {
|
|
728
776
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -744,10 +792,17 @@ declare const useClasses_9: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
744
792
|
|
|
745
793
|
export declare const useFlowContext: () => HvFlowContextValue<string>;
|
|
746
794
|
|
|
747
|
-
export declare function useFlowNode<T =
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
795
|
+
export declare function useFlowNode<T extends Node_2 = Node_2>(id: string): T | undefined;
|
|
796
|
+
|
|
797
|
+
export declare function useFlowNodeEdges(id: string): Edge<any>[];
|
|
798
|
+
|
|
799
|
+
export declare function useFlowNodeInputEdges(id: string): Edge<any>[];
|
|
800
|
+
|
|
801
|
+
export declare function useFlowNodeMeta(id: string): HvFlowNodeMeta;
|
|
802
|
+
|
|
803
|
+
export declare function useFlowNodeOutputEdges(id: string): Edge<any>[];
|
|
804
|
+
|
|
805
|
+
export declare function useFlowNodeParents(id: string): Node_2<any, string | undefined>[];
|
|
751
806
|
|
|
752
807
|
export declare const wizardActionsClasses: {
|
|
753
808
|
actionsContainer: "HvWizardActions-actionsContainer";
|
|
@@ -777,9 +832,9 @@ export declare const wizardContentClasses: {
|
|
|
777
832
|
export declare const wizardTitleClasses: {
|
|
778
833
|
titleContainer: "HvWizardTitle-titleContainer";
|
|
779
834
|
messageContainer: "HvWizardTitle-messageContainer";
|
|
835
|
+
headerContainer: "HvWizardTitle-headerContainer";
|
|
780
836
|
buttonWidth: "HvWizardTitle-buttonWidth";
|
|
781
837
|
rootSummaryButton: "HvWizardTitle-rootSummaryButton";
|
|
782
|
-
headerContainer: "HvWizardTitle-headerContainer";
|
|
783
838
|
stepContainer: "HvWizardTitle-stepContainer";
|
|
784
839
|
};
|
|
785
840
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-lab",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.18.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Contributed React components for the NEXT UI Kit.",
|
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
"@dnd-kit/core": "^6.0.8",
|
|
33
33
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
34
34
|
"@emotion/css": "^11.11.0",
|
|
35
|
-
"@hitachivantara/uikit-react-core": "^5.36.
|
|
36
|
-
"@hitachivantara/uikit-react-icons": "^5.7.
|
|
37
|
-
"@hitachivantara/uikit-styles": "^5.16.
|
|
35
|
+
"@hitachivantara/uikit-react-core": "^5.36.11",
|
|
36
|
+
"@hitachivantara/uikit-react-icons": "^5.7.5",
|
|
37
|
+
"@hitachivantara/uikit-styles": "^5.16.3",
|
|
38
38
|
"lodash": "^4.17.21",
|
|
39
|
+
"react-grid-layout": "^1.4.3",
|
|
39
40
|
"reactflow": "^11.9.4",
|
|
40
41
|
"uid": "^2.0.2",
|
|
41
42
|
"usehooks-ts": "^2.9.1",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"access": "public",
|
|
49
50
|
"directory": "package"
|
|
50
51
|
},
|
|
51
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "c069d4317b2f46289ca7d681939843544f3ecfd2",
|
|
52
53
|
"main": "dist/cjs/index.cjs",
|
|
53
54
|
"exports": {
|
|
54
55
|
".": {
|