@hitachivantara/uikit-react-lab 5.33.4 → 5.33.5

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.
@@ -2,6 +2,7 @@ import { BackgroundProps } from 'reactflow';
2
2
  import { ComponentClass } from 'react';
3
3
  import { ControlProps } from 'reactflow';
4
4
  import { CSSInterpolation } from '@emotion/serialize';
5
+ import { default as default_2 } from 'react';
5
6
  import { Dispatch } from 'react';
6
7
  import { DndContextProps } from '@dnd-kit/core';
7
8
  import { DragEndEvent } from '@dnd-kit/core';
@@ -29,7 +30,6 @@ import { ModalProps } from '@mui/material/Modal';
29
30
  import { Node as Node_2 } from 'reactflow';
30
31
  import { NodeProps } from 'reactflow';
31
32
  import { PanelPosition } from 'reactflow';
32
- import { default as React_2 } from 'react';
33
33
  import { ReactFlowInstance } from 'reactflow';
34
34
  import { ReactFlowProps } from 'reactflow';
35
35
  import { ReactGridLayoutProps } from 'react-grid-layout';
@@ -167,13 +167,13 @@ export declare interface HvBladeProps extends HvBaseProps<HTMLDivElement, "onCha
167
167
  /**
168
168
  * The content that will be rendered within the blade.
169
169
  */
170
- children: React_2.ReactNode;
170
+ children: default_2.ReactNode;
171
171
  /**
172
172
  * The content of the blade's button.
173
173
  *
174
174
  * If a render function is provided, it will be called with the expanded state as an argument.
175
175
  */
176
- label?: React_2.ReactNode | ((expanded: boolean) => React_2.ReactNode);
176
+ label?: default_2.ReactNode | ((expanded: boolean) => default_2.ReactNode);
177
177
  /**
178
178
  * Typography variant for the blade's button label.
179
179
  */
@@ -206,7 +206,7 @@ export declare interface HvBladeProps extends HvBaseProps<HTMLDivElement, "onCha
206
206
  * @param {SyntheticEvent} event The event source of the callback.
207
207
  * @param {boolean} value The new value.
208
208
  */
209
- onChange?: (event: React_2.SyntheticEvent, value: boolean) => void;
209
+ onChange?: (event: default_2.SyntheticEvent, value: boolean) => void;
210
210
  /**
211
211
  * Specifies whether the blade is disabled. If true, the blade cannot be interacted with.
212
212
  */
@@ -282,7 +282,7 @@ export declare interface HvBladesProps extends HvBaseProps<HTMLDivElement, "onCh
282
282
  * The blades to be rendered within the group.
283
283
  * Must be instances of `HvBlade`, otherwise the behavior is undefined and will most likely break.
284
284
  */
285
- children: React_2.ReactNode;
285
+ children: default_2.ReactNode;
286
286
  /**
287
287
  * A Jss Object used to override or extend the styles applied.
288
288
  */
@@ -409,11 +409,11 @@ export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps,
409
409
  /** Header title */
410
410
  title?: string;
411
411
  /** Header icon */
412
- icon?: React_2.ReactNode;
412
+ icon?: default_2.ReactNode;
413
413
  /** Header color */
414
414
  color?: HvColorAny;
415
415
  /** Header items */
416
- headerItems?: React_2.ReactNode;
416
+ headerItems?: default_2.ReactNode;
417
417
  /** Node inputs */
418
418
  inputs?: (HvFlowNodeInput | HvFlowNodeInputGroup)[];
419
419
  /** Node outputs */
@@ -421,7 +421,7 @@ export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps,
421
421
  /** Node actions */
422
422
  nodeActions?: HvFlowNodeAction[];
423
423
  /** The content of the node footer */
424
- footer?: React_2.ReactNode;
424
+ footer?: default_2.ReactNode;
425
425
  /** Labels used on the node. */
426
426
  labels?: Partial<typeof DEFAULT_LABELS>;
427
427
  /** A Jss Object used to override or extend the styles applied to the component. */
@@ -509,7 +509,7 @@ export declare type HvFlowNodeDefaults = {
509
509
  title?: string;
510
510
  subTitle?: string;
511
511
  color?: string;
512
- icon?: React_2.ReactNode;
512
+ icon?: default_2.ReactNode;
513
513
  };
514
514
 
515
515
  /** HvFlowNode component type. @extends React.FC */
@@ -775,7 +775,7 @@ export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClo
775
775
  /** Current state of the Wizard. */
776
776
  open: boolean;
777
777
  /** Function executed on close. */
778
- handleClose: (event: React_2.SyntheticEvent, reason?: "escapeKeyDown" | "backdropClick") => void;
778
+ handleClose: (event: default_2.SyntheticEvent, reason?: "escapeKeyDown" | "backdropClick") => void;
779
779
  /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */
780
780
  classes?: HvWizardContainerClasses;
781
781
  }
@@ -790,18 +790,18 @@ export declare interface HvWizardContentProps extends HvBaseProps {
790
790
  /** Whether the loading animation is shown. */
791
791
  loading?: boolean;
792
792
  /** The content of the summary. */
793
- summaryContent?: React_2.ReactNode;
793
+ summaryContent?: default_2.ReactNode;
794
794
  /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */
795
795
  classes?: HvWizardContentClasses;
796
796
  }
797
797
 
798
- export declare const HvWizardContext: React_2.Context<HvWizardContextProp>;
798
+ export declare const HvWizardContext: default_2.Context<HvWizardContextProp>;
799
799
 
800
800
  declare type HvWizardContextProp = {
801
801
  context: HvWizardTabs;
802
- setContext: React_2.Dispatch<React_2.SetStateAction<HvWizardTabs>>;
802
+ setContext: default_2.Dispatch<default_2.SetStateAction<HvWizardTabs>>;
803
803
  summary: boolean;
804
- setSummary: React_2.Dispatch<React_2.SetStateAction<boolean>>;
804
+ setSummary: default_2.Dispatch<default_2.SetStateAction<boolean>>;
805
805
  tab: number;
806
806
  setTab: Dispatch<SetStateAction<number>>;
807
807
  };
@@ -820,7 +820,7 @@ export declare interface HvWizardProps extends HvBaseProps, Pick<HvDialogProps,
820
820
  /** Shows the summary button. */
821
821
  hasSummary?: boolean;
822
822
  /** The content of the summary. */
823
- summaryContent?: React_2.ReactNode;
823
+ summaryContent?: default_2.ReactNode;
824
824
  /** Enables the skip button. */
825
825
  skippable?: boolean;
826
826
  /** Forces minimum height to the component. */
@@ -839,7 +839,7 @@ export declare type HvWizardTab = {
839
839
  mustValidate?: boolean;
840
840
  touched?: boolean;
841
841
  form?: any;
842
- children?: React_2.ReactNode;
842
+ children?: default_2.ReactNode;
843
843
  disabled?: boolean;
844
844
  loading?: boolean;
845
845
  [other: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-lab",
3
- "version": "5.33.4",
3
+ "version": "5.33.5",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Contributed React components for the NEXT UI Kit.",
@@ -32,7 +32,7 @@
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.64.1",
35
+ "@hitachivantara/uikit-react-core": "^5.64.2",
36
36
  "@hitachivantara/uikit-react-icons": "^5.9.10",
37
37
  "@hitachivantara/uikit-styles": "^5.29.0",
38
38
  "@types/react-grid-layout": "^1.3.5",
@@ -49,8 +49,7 @@
49
49
  "access": "public",
50
50
  "directory": "package"
51
51
  },
52
- "gitHead": "bdd638b19425b905ffa70b083e006f0820450113",
53
- "main": "dist/cjs/index.cjs",
52
+ "gitHead": "0e08b9389eab092cbaecf55b54cc37406e81f797",
54
53
  "exports": {
55
54
  ".": {
56
55
  "require": "./dist/cjs/index.cjs",