@hitachivantara/uikit-react-lab 5.25.0 → 5.26.1

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.
@@ -56,6 +56,18 @@ export declare const dashboardClasses: {
56
56
  };
57
57
 
58
58
  declare const DEFAULT_LABELS: {
59
+ outputsTitle: string;
60
+ inputsTitle: string;
61
+ deleteActionLabel: string;
62
+ duplicateActionLabel: string;
63
+ };
64
+
65
+ declare const DEFAULT_LABELS_2: {
66
+ collapseLabel: string;
67
+ expandLabel: string;
68
+ };
69
+
70
+ declare const DEFAULT_LABELS_3: {
59
71
  emptyMessage: string;
60
72
  dialogTitle: string;
61
73
  dialogSubtitle: string;
@@ -70,6 +82,7 @@ export declare const flowBaseNodeClasses: {
70
82
  mandatory: "HvFlowBaseNode-mandatory";
71
83
  footerContainer: "HvFlowBaseNode-footerContainer";
72
84
  inputContainer: "HvFlowBaseNode-inputContainer";
85
+ handle: "HvFlowBaseNode-handle";
73
86
  contentContainer: "HvFlowBaseNode-contentContainer";
74
87
  headerContainer: "HvFlowBaseNode-headerContainer";
75
88
  inputsTitleContainer: "HvFlowBaseNode-inputsTitleContainer";
@@ -79,6 +92,7 @@ export declare const flowBaseNodeClasses: {
79
92
  inputGroupContainer: "HvFlowBaseNode-inputGroupContainer";
80
93
  outputGroupContainer: "HvFlowBaseNode-outputGroupContainer";
81
94
  outputContainer: "HvFlowBaseNode-outputContainer";
95
+ handleConnected: "HvFlowBaseNode-handleConnected";
82
96
  };
83
97
 
84
98
  export declare const flowClasses: {
@@ -97,6 +111,7 @@ export declare const flowNodeClasses: {
97
111
  actions: "HvFlowNode-actions";
98
112
  footerContainer: "HvFlowNode-footerContainer";
99
113
  inputContainer: "HvFlowNode-inputContainer";
114
+ handle: "HvFlowNode-handle";
100
115
  contentContainer: "HvFlowNode-contentContainer";
101
116
  headerContainer: "HvFlowNode-headerContainer";
102
117
  inputsTitleContainer: "HvFlowNode-inputsTitleContainer";
@@ -106,6 +121,7 @@ export declare const flowNodeClasses: {
106
121
  inputGroupContainer: "HvFlowNode-inputGroupContainer";
107
122
  outputGroupContainer: "HvFlowNode-outputGroupContainer";
108
123
  outputContainer: "HvFlowNode-outputContainer";
124
+ handleConnected: "HvFlowNode-handleConnected";
109
125
  subtitleContainer: "HvFlowNode-subtitleContainer";
110
126
  paramsContainer: "HvFlowNode-paramsContainer";
111
127
  };
@@ -282,6 +298,7 @@ export declare const hvDashboardNodeClasses: {
282
298
  actions: "HvDashboardNode-actions";
283
299
  footerContainer: "HvDashboardNode-footerContainer";
284
300
  inputContainer: "HvDashboardNode-inputContainer";
301
+ handle: "HvDashboardNode-handle";
285
302
  contentContainer: "HvDashboardNode-contentContainer";
286
303
  headerContainer: "HvDashboardNode-headerContainer";
287
304
  inputsTitleContainer: "HvDashboardNode-inputsTitleContainer";
@@ -291,13 +308,14 @@ export declare const hvDashboardNodeClasses: {
291
308
  inputGroupContainer: "HvDashboardNode-inputGroupContainer";
292
309
  outputGroupContainer: "HvDashboardNode-outputGroupContainer";
293
310
  outputContainer: "HvDashboardNode-outputContainer";
311
+ handleConnected: "HvDashboardNode-handleConnected";
294
312
  subtitleContainer: "HvDashboardNode-subtitleContainer";
295
313
  paramsContainer: "HvDashboardNode-paramsContainer";
296
314
  };
297
315
 
298
316
  export declare interface HvDashboardNodeProps extends HvFlowNodeProps, Pick<HvDialogProps, "open" | "onClose">, Pick<HvDashboardProps, "layout"> {
299
317
  classes?: HvDashboardNodeClasses;
300
- labels?: Partial<typeof DEFAULT_LABELS>;
318
+ labels?: HvFlowNodeProps["labels"] & Partial<typeof DEFAULT_LABELS_3>;
301
319
  previewItems?: React.ReactNode;
302
320
  onApply?: () => void;
303
321
  onCancel?: () => void;
@@ -366,7 +384,7 @@ export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "co
366
384
  color?: HvColorAny;
367
385
  }
368
386
 
369
- export declare const HvFlowBaseNode: ({ id, title, headerItems, icon, color: colorProp, inputs: inputsProp, outputs: outputsProp, nodeActions, footer, classes: classesProp, className, children, }: HvFlowBaseNodeProps<unknown>) => JSX_2.Element | null;
387
+ export declare const HvFlowBaseNode: ({ id, title, headerItems, icon, color: colorProp, inputs: inputsProp, outputs: outputsProp, nodeActions: nodeActionsProp, footer, classes: classesProp, labels: labelsProps, className, children, }: HvFlowBaseNodeProps<unknown>) => JSX_2.Element | null;
370
388
 
371
389
  export declare type HvFlowBaseNodeClasses = ExtractNames<typeof useClasses_7>;
372
390
 
@@ -385,8 +403,10 @@ export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps,
385
403
  outputs?: (HvFlowNodeOutput | HvFlowNodeOutputGroup)[];
386
404
  /** Node actions */
387
405
  nodeActions?: HvFlowNodeAction[];
388
- /** The content of the Node footer */
406
+ /** The content of the node footer */
389
407
  footer?: React_2.ReactNode;
408
+ /** Labels used on the node. */
409
+ labels?: Partial<typeof DEFAULT_LABELS>;
390
410
  /** A Jss Object used to override or extend the styles applied to the component. */
391
411
  classes?: HvFlowBaseNodeClasses;
392
412
  }
@@ -458,7 +478,7 @@ export declare interface HvFlowMinimapProps<NodeData = any> extends Omit<MiniMap
458
478
  classes?: HvFlowMinimapClasses;
459
479
  }
460
480
 
461
- export declare const HvFlowNode: ({ id, type, headerItems, description, actions, actionCallback, maxVisibleActions, expanded, params, nodeDefaults, classes: classesProp, children, expandParamsButtonProps, ...props }: HvFlowNodeProps<unknown>) => JSX_2.Element;
481
+ export declare const HvFlowNode: ({ id, type, headerItems, description, actions, actionCallback, maxVisibleActions, expanded, params, nodeDefaults, classes: classesProp, labels: labelsProps, children, expandParamsButtonProps, ...props }: HvFlowNodeProps<unknown>) => JSX_2.Element;
462
482
 
463
483
  export declare interface HvFlowNodeAction extends HvActionGeneric {
464
484
  callback?: (node: Node_2) => void;
@@ -545,6 +565,8 @@ export declare interface HvFlowNodeProps<T = any> extends HvFlowBaseNodeProps<T>
545
565
  nodeDefaults?: HvFlowNodeDefaults;
546
566
  /** Props to be passed to the expand parameters button. */
547
567
  expandParamsButtonProps?: HvButtonProps;
568
+ /** Labels used on the node. */
569
+ labels?: HvFlowBaseNodeProps["labels"] & Partial<typeof DEFAULT_LABELS_2>;
548
570
  /** A Jss Object used to override or extend the styles applied to the component. */
549
571
  classes?: HvFlowNodeClasses;
550
572
  }
@@ -1018,7 +1040,7 @@ declare const useClasses_6: (classesProp?: Partial<Record<"description" | "title
1018
1040
  cx: (...args: any) => string;
1019
1041
  };
1020
1042
 
1021
- declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "footerContainer" | "inputContainer" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer", string>>, addStatic?: boolean) => {
1043
+ declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "footerContainer" | "inputContainer" | "handle" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected", string>>, addStatic?: boolean) => {
1022
1044
  classes: {
1023
1045
  root: string;
1024
1046
  title: string;
@@ -1026,6 +1048,7 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "ti
1026
1048
  mandatory: string;
1027
1049
  footerContainer: string;
1028
1050
  inputContainer: string;
1051
+ handle: string;
1029
1052
  contentContainer: string;
1030
1053
  headerContainer: string;
1031
1054
  inputsTitleContainer: string;
@@ -1035,6 +1058,7 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "ti
1035
1058
  inputGroupContainer: string;
1036
1059
  outputGroupContainer: string;
1037
1060
  outputContainer: string;
1061
+ handleConnected: string;
1038
1062
  };
1039
1063
  css: {
1040
1064
  (template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
@@ -1043,7 +1067,7 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "ti
1043
1067
  cx: (...args: any) => string;
1044
1068
  };
1045
1069
 
1046
- declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "actions" | "footerContainer" | "inputContainer" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
1070
+ declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "actions" | "footerContainer" | "inputContainer" | "handle" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
1047
1071
  classes: {
1048
1072
  root: string;
1049
1073
  title: string;
@@ -1052,6 +1076,7 @@ declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "ti
1052
1076
  actions: string;
1053
1077
  footerContainer: string;
1054
1078
  inputContainer: string;
1079
+ handle: string;
1055
1080
  contentContainer: string;
1056
1081
  headerContainer: string;
1057
1082
  inputsTitleContainer: string;
@@ -1061,6 +1086,7 @@ declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "ti
1061
1086
  inputGroupContainer: string;
1062
1087
  outputGroupContainer: string;
1063
1088
  outputContainer: string;
1089
+ handleConnected: string;
1064
1090
  subtitleContainer: string;
1065
1091
  paramsContainer: string;
1066
1092
  };
@@ -1071,7 +1097,7 @@ declare const useClasses_8: (classesProp?: Partial<Record<"root" | "title" | "ti
1071
1097
  cx: (...args: any) => string;
1072
1098
  };
1073
1099
 
1074
- declare const useClasses_9: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "empty" | "actions" | "footerContainer" | "inputContainer" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
1100
+ declare const useClasses_9: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "empty" | "actions" | "footerContainer" | "inputContainer" | "handle" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "inputGroupContainer" | "outputGroupContainer" | "outputContainer" | "handleConnected" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
1075
1101
  classes: {
1076
1102
  root: string;
1077
1103
  title: string;
@@ -1081,6 +1107,7 @@ declare const useClasses_9: (classesProp?: Partial<Record<"root" | "title" | "ti
1081
1107
  actions: string;
1082
1108
  footerContainer: string;
1083
1109
  inputContainer: string;
1110
+ handle: string;
1084
1111
  contentContainer: string;
1085
1112
  headerContainer: string;
1086
1113
  inputsTitleContainer: string;
@@ -1090,6 +1117,7 @@ declare const useClasses_9: (classesProp?: Partial<Record<"root" | "title" | "ti
1090
1117
  inputGroupContainer: string;
1091
1118
  outputGroupContainer: string;
1092
1119
  outputContainer: string;
1120
+ handleConnected: string;
1093
1121
  subtitleContainer: string;
1094
1122
  paramsContainer: string;
1095
1123
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-lab",
3
- "version": "5.25.0",
3
+ "version": "5.26.1",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Contributed React components for the NEXT UI Kit.",
@@ -32,8 +32,8 @@
32
32
  "@dnd-kit/core": "^6.1.0",
33
33
  "@dnd-kit/modifiers": "^6.0.1",
34
34
  "@emotion/css": "^11.11.0",
35
- "@hitachivantara/uikit-react-core": "^5.44.6",
36
- "@hitachivantara/uikit-react-icons": "^5.8.0",
35
+ "@hitachivantara/uikit-react-core": "^5.44.8",
36
+ "@hitachivantara/uikit-react-icons": "^5.8.1",
37
37
  "@hitachivantara/uikit-styles": "^5.17.2",
38
38
  "@types/react-grid-layout": "^1.3.5",
39
39
  "lodash": "^4.17.21",
@@ -50,7 +50,7 @@
50
50
  "access": "public",
51
51
  "directory": "package"
52
52
  },
53
- "gitHead": "451ecb1bc99f980f388fe94d66eb18c013f33c06",
53
+ "gitHead": "d33d3ce2b7d3dc20aae056601bf88009b01c259c",
54
54
  "main": "dist/cjs/index.cjs",
55
55
  "exports": {
56
56
  ".": {