@hitachivantara/uikit-react-lab 5.22.2 → 5.23.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/Blade/Blade.cjs +169 -0
- package/dist/cjs/Blade/Blade.cjs.map +1 -0
- package/dist/cjs/Blade/Blade.styles.cjs +72 -0
- package/dist/cjs/Blade/Blade.styles.cjs.map +1 -0
- package/dist/cjs/Blades/Blades.cjs +105 -0
- package/dist/cjs/Blades/Blades.cjs.map +1 -0
- package/dist/cjs/Blades/Blades.styles.cjs +12 -0
- package/dist/cjs/Blades/Blades.styles.cjs.map +1 -0
- package/dist/cjs/index.cjs +8 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/Blade/Blade.js +168 -0
- package/dist/esm/Blade/Blade.js.map +1 -0
- package/dist/esm/Blade/Blade.styles.js +72 -0
- package/dist/esm/Blade/Blade.styles.js.map +1 -0
- package/dist/esm/Blades/Blades.js +106 -0
- package/dist/esm/Blades/Blades.js.map +1 -0
- package/dist/esm/Blades/Blades.styles.js +12 -0
- package/dist/esm/Blades/Blades.styles.js.map +1 -0
- package/dist/esm/index.js +32 -24
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +243 -59
- package/package.json +4 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { Edge } from 'reactflow';
|
|
|
10
10
|
import { ExtractNames } from '@hitachivantara/uikit-react-core';
|
|
11
11
|
import { FC } from 'react';
|
|
12
12
|
import { GetMiniMapNodeAttribute } from 'reactflow';
|
|
13
|
+
import { HTMLAttributes } from 'react';
|
|
13
14
|
import { HvActionGeneric } from '@hitachivantara/uikit-react-core';
|
|
14
15
|
import { HvActionsGenericProps } from '@hitachivantara/uikit-react-core';
|
|
15
16
|
import { HvAvatarSize } from '@hitachivantara/uikit-react-core';
|
|
@@ -21,6 +22,7 @@ import { HvDialogProps } from '@hitachivantara/uikit-react-core';
|
|
|
21
22
|
import { HvDrawerProps } from '@hitachivantara/uikit-react-core';
|
|
22
23
|
import { HvEmptyStateProps } from '@hitachivantara/uikit-react-core';
|
|
23
24
|
import { HvSliderProps } from '@hitachivantara/uikit-react-core';
|
|
25
|
+
import { HvTypographyVariants } from '@hitachivantara/uikit-react-core';
|
|
24
26
|
import { JSX as JSX_2 } from '@emotion/react/jsx-runtime';
|
|
25
27
|
import { MiniMapProps } from 'reactflow';
|
|
26
28
|
import { ModalProps } from '@mui/material/Modal';
|
|
@@ -32,6 +34,22 @@ import { ReactFlowProps } from 'reactflow';
|
|
|
32
34
|
import { ReactGridLayoutProps } from 'react-grid-layout';
|
|
33
35
|
import { ResponsiveProps } from 'react-grid-layout';
|
|
34
36
|
import { SetStateAction } from 'react';
|
|
37
|
+
import { SyntheticEvent } from 'react';
|
|
38
|
+
|
|
39
|
+
export declare const bladeClasses: {
|
|
40
|
+
container: "HvBlade-container";
|
|
41
|
+
root: "HvBlade-root";
|
|
42
|
+
disabled: "HvBlade-disabled";
|
|
43
|
+
button: "HvBlade-button";
|
|
44
|
+
expanded: "HvBlade-expanded";
|
|
45
|
+
heading: "HvBlade-heading";
|
|
46
|
+
fullWidth: "HvBlade-fullWidth";
|
|
47
|
+
textOnlyLabel: "HvBlade-textOnlyLabel";
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export declare const bladesClasses: {
|
|
51
|
+
root: "HvBlades-root";
|
|
52
|
+
};
|
|
35
53
|
|
|
36
54
|
export declare const dashboardClasses: {
|
|
37
55
|
root: "HvDashboard-root";
|
|
@@ -85,6 +103,143 @@ export declare const flowSidebarClasses: {
|
|
|
85
103
|
nodeType: "HvFlowSidebar-nodeType";
|
|
86
104
|
};
|
|
87
105
|
|
|
106
|
+
/**
|
|
107
|
+
* A blade is a design element that expands horizontally to reveal information, similar to an accordion.
|
|
108
|
+
*
|
|
109
|
+
* It is usually stacked horizontally with other blades and works best when used within a flex container.
|
|
110
|
+
* The `HvBlades` component is recommended for this purpose, as it also provides better management of the
|
|
111
|
+
* blades' expanded state.
|
|
112
|
+
*/
|
|
113
|
+
export declare const HvBlade: (props: HvBladeProps) => JSX_2.Element;
|
|
114
|
+
|
|
115
|
+
export declare type HvBladeClasses = ExtractNames<typeof useClasses>;
|
|
116
|
+
|
|
117
|
+
export declare interface HvBladeProps extends HvBaseProps<HTMLDivElement, "onChange" | "children"> {
|
|
118
|
+
/**
|
|
119
|
+
* The content that will be rendered within the blade.
|
|
120
|
+
*/
|
|
121
|
+
children: React_2.ReactNode;
|
|
122
|
+
/**
|
|
123
|
+
* The content of the blade's button.
|
|
124
|
+
*
|
|
125
|
+
* If a render function is provided, it will be called with the expanded state as an argument.
|
|
126
|
+
*/
|
|
127
|
+
label?: React_2.ReactNode | ((expanded: boolean) => React_2.ReactNode);
|
|
128
|
+
/**
|
|
129
|
+
* Typography variant for the blade's button label.
|
|
130
|
+
*/
|
|
131
|
+
labelVariant?: HvTypographyVariants;
|
|
132
|
+
/**
|
|
133
|
+
* Heading Level to apply to blade button.
|
|
134
|
+
*
|
|
135
|
+
* If 'undefined', the button will not have a header wrapper.
|
|
136
|
+
*/
|
|
137
|
+
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
138
|
+
/**
|
|
139
|
+
* Indicates whether the blade is expanded or not.
|
|
140
|
+
*
|
|
141
|
+
* When defined the expanded state becomes controlled.
|
|
142
|
+
*
|
|
143
|
+
* @default undefined
|
|
144
|
+
*/
|
|
145
|
+
expanded?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Specifies the initial expanded state of the blade when it is uncontrolled.
|
|
148
|
+
*/
|
|
149
|
+
defaultExpanded?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Callback function triggered when the blade's button is pressed.
|
|
152
|
+
* It receives the event and the new expanded state as arguments.
|
|
153
|
+
*
|
|
154
|
+
* If the blade is uncontrolled, this new state will be effective.
|
|
155
|
+
* If the blade is controlled, it is up to the parent component to manage this state.
|
|
156
|
+
*
|
|
157
|
+
* @param {SyntheticEvent} event The event source of the callback.
|
|
158
|
+
* @param {boolean} value The new value.
|
|
159
|
+
*/
|
|
160
|
+
onChange?: (event: React_2.SyntheticEvent, value: boolean) => void;
|
|
161
|
+
/**
|
|
162
|
+
* Specifies whether the blade is disabled. If true, the blade cannot be interacted with.
|
|
163
|
+
*/
|
|
164
|
+
disabled?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* If true, the blade will take up the maximum width of the container when expanded.
|
|
167
|
+
*/
|
|
168
|
+
fullWidth?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Props to be passed to the button that toggles the blade's expanded state.
|
|
171
|
+
* This can be used to further customize the appearance or behavior of the blade's button,
|
|
172
|
+
* e.g. to set the aria-label attribute.
|
|
173
|
+
*/
|
|
174
|
+
buttonProps?: HTMLAttributes<HTMLDivElement>;
|
|
175
|
+
/**
|
|
176
|
+
* Props to be passed to the container div that holds the blade's children.
|
|
177
|
+
* This can be used to further customize the appearance or behavior of the blade's content area.
|
|
178
|
+
*/
|
|
179
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
180
|
+
/**
|
|
181
|
+
* A Jss Object used to override or extend the styles applied.
|
|
182
|
+
*/
|
|
183
|
+
classes?: HvBladeClasses;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* `HvBlades` is a component that groups multiple `HvBlade` components.
|
|
188
|
+
*
|
|
189
|
+
* It allows for better control over the expanded state of blades, suitable for both
|
|
190
|
+
* controlled and uncontrolled scenarios.
|
|
191
|
+
*/
|
|
192
|
+
export declare const HvBlades: (props: HvBladesProps) => JSX_2.Element;
|
|
193
|
+
|
|
194
|
+
export declare type HvBladesClasses = ExtractNames<typeof useClasses_2>;
|
|
195
|
+
|
|
196
|
+
export declare interface HvBladesProps extends HvBaseProps<HTMLDivElement, "onChange" | "children"> {
|
|
197
|
+
/**
|
|
198
|
+
* Array of indices representing the expanded state of each blade.
|
|
199
|
+
*
|
|
200
|
+
* When defined, the expanded state of the blades becomes controlled.
|
|
201
|
+
*/
|
|
202
|
+
expanded?: number[];
|
|
203
|
+
/**
|
|
204
|
+
* Initial expanded state of the blades when in an uncontrolled state.
|
|
205
|
+
*
|
|
206
|
+
* It's an array of indices representing the blades that should be initially expanded.
|
|
207
|
+
*/
|
|
208
|
+
defaultExpanded?: number[];
|
|
209
|
+
/**
|
|
210
|
+
* If true, ensures that only one blade can be expanded at a time.
|
|
211
|
+
*/
|
|
212
|
+
atMostOneExpanded?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* If true, ensures that at least one blade is always expanded.
|
|
215
|
+
*/
|
|
216
|
+
atLeastOneExpanded?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* If true, the blades will take up the full width of the container by default.
|
|
219
|
+
*/
|
|
220
|
+
fullWidthBlades?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* Callback function triggered when the expanded state of any blade changes.
|
|
223
|
+
* It receives the event and the new array of expanded indices as arguments.
|
|
224
|
+
*
|
|
225
|
+
* If uncontrolled, this new state will be effective.
|
|
226
|
+
* If controlled, it is up to the parent component to manage this state.
|
|
227
|
+
*
|
|
228
|
+
* @param {SyntheticEvent} event The event source of the callback.
|
|
229
|
+
* @param {number[]} value Array of indices of the blades that are expanded.
|
|
230
|
+
*/
|
|
231
|
+
onChange?: (event: SyntheticEvent, value: number[]) => void;
|
|
232
|
+
/**
|
|
233
|
+
* The blades to be rendered within the group.
|
|
234
|
+
* Must be instances of `HvBlade`, otherwise the behavior is undefined and will most likely break.
|
|
235
|
+
*/
|
|
236
|
+
children: React_2.ReactNode;
|
|
237
|
+
/**
|
|
238
|
+
* A Jss Object used to override or extend the styles applied.
|
|
239
|
+
*/
|
|
240
|
+
classes?: HvBladesClasses;
|
|
241
|
+
}
|
|
242
|
+
|
|
88
243
|
/**
|
|
89
244
|
* A Dashboard grid layout component, based on `react-grid-layout`.
|
|
90
245
|
* The children elements are grid items and must be `key`ed.
|
|
@@ -95,11 +250,11 @@ export declare const flowSidebarClasses: {
|
|
|
95
250
|
*/
|
|
96
251
|
export declare const HvDashboard: (props: HvDashboardProps) => JSX_2.Element;
|
|
97
252
|
|
|
98
|
-
export declare type HvDashboardClasses = ExtractNames<typeof
|
|
253
|
+
export declare type HvDashboardClasses = ExtractNames<typeof useClasses_3>;
|
|
99
254
|
|
|
100
255
|
export declare const HvDashboardNode: (props: HvDashboardNodeProps) => JSX_2.Element;
|
|
101
256
|
|
|
102
|
-
export declare interface HvDashboardNodeClasses extends ExtractNames<typeof
|
|
257
|
+
export declare interface HvDashboardNodeClasses extends ExtractNames<typeof useClasses_9>, HvFlowNodeClasses {
|
|
103
258
|
}
|
|
104
259
|
|
|
105
260
|
export declare const hvDashboardNodeClasses: {
|
|
@@ -180,7 +335,7 @@ export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "co
|
|
|
180
335
|
|
|
181
336
|
export declare const HvFlowBaseNode: ({ id, title, headerItems, icon, color: colorProp, inputs, outputs, nodeActions, footer, classes: classesProp, className, children, }: HvFlowBaseNodeProps<unknown>) => JSX_2.Element | null;
|
|
182
337
|
|
|
183
|
-
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof
|
|
338
|
+
export declare type HvFlowBaseNodeClasses = ExtractNames<typeof useClasses_7>;
|
|
184
339
|
|
|
185
340
|
export declare interface HvFlowBaseNodeProps<T = any> extends Omit<HvBaseProps, "id">, NodeProps<T> {
|
|
186
341
|
/** Header title */
|
|
@@ -209,7 +364,7 @@ export declare type HvFlowBuiltInActions = Omit<HvFlowNodeAction, "id" | "callba
|
|
|
209
364
|
id: HvFlowBuiltInAction;
|
|
210
365
|
};
|
|
211
366
|
|
|
212
|
-
export declare type HvFlowClasses = ExtractNames<typeof
|
|
367
|
+
export declare type HvFlowClasses = ExtractNames<typeof useClasses_4>;
|
|
213
368
|
|
|
214
369
|
declare interface HvFlowContextValue<NodeGroups extends keyof any = string> {
|
|
215
370
|
/** Flow nodes types. */
|
|
@@ -255,7 +410,7 @@ export declare interface HvFlowEmptyProps extends HvEmptyStateProps {
|
|
|
255
410
|
|
|
256
411
|
export declare const HvFlowMinimap: ({ nodeColor, maskColor, maskStrokeColor, nodeStrokeColor, classes: classesProp, className, ...others }: HvFlowMinimapProps) => JSX_2.Element;
|
|
257
412
|
|
|
258
|
-
export declare type HvFlowMinimapClasses = ExtractNames<typeof
|
|
413
|
+
export declare type HvFlowMinimapClasses = ExtractNames<typeof useClasses_5>;
|
|
259
414
|
|
|
260
415
|
export declare interface HvFlowMinimapProps<NodeData = any> extends Omit<MiniMapProps<NodeData>, "nodeColor" | "nodeStrokeColor" | "maskColor" | "maskStrokeColor"> {
|
|
261
416
|
/** Node color. Defaults to `atmo4`. */
|
|
@@ -276,7 +431,7 @@ export declare interface HvFlowNodeAction extends HvActionGeneric {
|
|
|
276
431
|
callback?: (node: Node_2) => void;
|
|
277
432
|
}
|
|
278
433
|
|
|
279
|
-
export declare interface HvFlowNodeClasses extends ExtractNames<typeof
|
|
434
|
+
export declare interface HvFlowNodeClasses extends ExtractNames<typeof useClasses_8>, HvFlowBaseNodeClasses {
|
|
280
435
|
}
|
|
281
436
|
|
|
282
437
|
export declare interface HvFlowNodeComponentClass<GroupId extends keyof any = string, NodeData = any> extends ComponentClass<NodeProps>, NodeExtras<GroupId, NodeData> {
|
|
@@ -403,7 +558,7 @@ export declare interface HvFlowProps<NodeGroups extends keyof any = string, Node
|
|
|
403
558
|
|
|
404
559
|
export declare const HvFlowSidebar: ({ id, title, description, anchor, buttonTitle, classes: classesProp, labels: labelsProps, dragOverlayProps, defaultGroupProps, ...others }: HvFlowSidebarProps) => JSX_2.Element;
|
|
405
560
|
|
|
406
|
-
export declare type HvFlowSidebarClasses = ExtractNames<typeof
|
|
561
|
+
export declare type HvFlowSidebarClasses = ExtractNames<typeof useClasses_6>;
|
|
407
562
|
|
|
408
563
|
export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes" | "title"> {
|
|
409
564
|
/** Sidebar title. */
|
|
@@ -429,7 +584,7 @@ export declare interface HvFlowSidebarProps extends Omit<HvDrawerProps, "classes
|
|
|
429
584
|
defaultGroupProps?: HvFlowNodeGroup;
|
|
430
585
|
}
|
|
431
586
|
|
|
432
|
-
declare type HvStepClasses = ExtractNames<typeof
|
|
587
|
+
declare type HvStepClasses = ExtractNames<typeof useClasses_11>;
|
|
433
588
|
|
|
434
589
|
/**
|
|
435
590
|
* Navigation page with steps.
|
|
@@ -454,7 +609,7 @@ declare type HvStepClasses = ExtractNames<typeof useClasses_9>;
|
|
|
454
609
|
*/
|
|
455
610
|
export declare const HvStepNavigation: ({ className, classes: classesProp, width, steps, stepSize, showTitles, type, "aria-label": ariaLabel, ...others }: HvStepNavigationProps) => JSX_2.Element;
|
|
456
611
|
|
|
457
|
-
export declare type HvStepNavigationClasses = ExtractNames<typeof
|
|
612
|
+
export declare type HvStepNavigationClasses = ExtractNames<typeof useClasses_10>;
|
|
458
613
|
|
|
459
614
|
export declare interface HvStepNavigationProps extends HvBaseProps {
|
|
460
615
|
/** Type of step navigation. Values = {"Simple", "Default"} */
|
|
@@ -500,7 +655,7 @@ export declare const HvWizard: ({ className, children, onClose, handleSubmit, ti
|
|
|
500
655
|
|
|
501
656
|
export declare const HvWizardActions: ({ classes: classesProp, handleClose, handleSubmit, loading, skippable, labels, }: HvWizardActionsProps) => JSX_2.Element;
|
|
502
657
|
|
|
503
|
-
export declare type HvWizardActionsClasses = ExtractNames<typeof
|
|
658
|
+
export declare type HvWizardActionsClasses = ExtractNames<typeof useClasses_13>;
|
|
504
659
|
|
|
505
660
|
export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
506
661
|
/** Function to handle the cancel button. */
|
|
@@ -528,11 +683,11 @@ export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
|
528
683
|
classes?: HvWizardActionsClasses;
|
|
529
684
|
}
|
|
530
685
|
|
|
531
|
-
export declare type HvWizardClasses = ExtractNames<typeof
|
|
686
|
+
export declare type HvWizardClasses = ExtractNames<typeof useClasses_12>;
|
|
532
687
|
|
|
533
688
|
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
534
689
|
|
|
535
|
-
export declare type HvWizardContainerClasses = ExtractNames<typeof
|
|
690
|
+
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_15>;
|
|
536
691
|
|
|
537
692
|
export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClose">, Pick<HvDialogProps, "maxWidth" | "fullWidth"> {
|
|
538
693
|
/** Current state of the Wizard. */
|
|
@@ -545,7 +700,7 @@ export declare interface HvWizardContainerProps extends Omit<HvBaseProps, "onClo
|
|
|
545
700
|
|
|
546
701
|
export declare const HvWizardContent: ({ classes: classesProp, fixedHeight, loading, children, summaryContent, }: HvWizardContentProps) => JSX_2.Element;
|
|
547
702
|
|
|
548
|
-
export declare type HvWizardContentClasses = ExtractNames<typeof
|
|
703
|
+
export declare type HvWizardContentClasses = ExtractNames<typeof useClasses_16>;
|
|
549
704
|
|
|
550
705
|
export declare interface HvWizardContentProps extends HvBaseProps {
|
|
551
706
|
/** Forces minimum height to the component. */
|
|
@@ -612,7 +767,7 @@ export declare type HvWizardTabs = {
|
|
|
612
767
|
|
|
613
768
|
export declare const HvWizardTitle: ({ title, hasSummary, labels, classes: classesProp, customStep, }: HvWizardTitleProps) => JSX_2.Element;
|
|
614
769
|
|
|
615
|
-
export declare type HvWizardTitleClasses = ExtractNames<typeof
|
|
770
|
+
export declare type HvWizardTitleClasses = ExtractNames<typeof useClasses_14>;
|
|
616
771
|
|
|
617
772
|
export declare interface HvWizardTitleProps extends HvBaseProps {
|
|
618
773
|
/** Title for the wizard. */
|
|
@@ -642,9 +797,16 @@ export declare const stepNavigationClasses: {
|
|
|
642
797
|
titles: "HvStepNavigation-titles";
|
|
643
798
|
};
|
|
644
799
|
|
|
645
|
-
declare const useClasses: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
800
|
+
declare const useClasses: (classesProp?: Partial<Record<"container" | "root" | "disabled" | "button" | "expanded" | "heading" | "fullWidth" | "textOnlyLabel", string>>, addStatic?: boolean) => {
|
|
646
801
|
classes: {
|
|
802
|
+
container: string;
|
|
647
803
|
root: string;
|
|
804
|
+
disabled: string;
|
|
805
|
+
button: string;
|
|
806
|
+
expanded: string;
|
|
807
|
+
heading: string;
|
|
808
|
+
fullWidth: string;
|
|
809
|
+
textOnlyLabel: string;
|
|
648
810
|
};
|
|
649
811
|
css: {
|
|
650
812
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -653,9 +815,13 @@ declare const useClasses: (classesProp?: Partial<Record<"root", string>>, addSta
|
|
|
653
815
|
cx: (...args: any) => string;
|
|
654
816
|
};
|
|
655
817
|
|
|
656
|
-
declare const useClasses_10: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
818
|
+
declare const useClasses_10: (classesProp?: Partial<Record<"root" | "separator" | "li" | "ol" | "titles", string>>, addStatic?: boolean) => {
|
|
657
819
|
classes: {
|
|
658
820
|
root: string;
|
|
821
|
+
separator: string;
|
|
822
|
+
li: string;
|
|
823
|
+
ol: string;
|
|
824
|
+
titles: string;
|
|
659
825
|
};
|
|
660
826
|
css: {
|
|
661
827
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -664,7 +830,38 @@ declare const useClasses_10: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
664
830
|
cx: (...args: any) => string;
|
|
665
831
|
};
|
|
666
832
|
|
|
667
|
-
declare const useClasses_11: (classesProp?: Partial<Record<"
|
|
833
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "ghost" | "avatar" | "ghostDisabled" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
834
|
+
classes: {
|
|
835
|
+
xs: string;
|
|
836
|
+
sm: string;
|
|
837
|
+
md: string;
|
|
838
|
+
lg: string;
|
|
839
|
+
xl: string;
|
|
840
|
+
root: string;
|
|
841
|
+
ghost: string;
|
|
842
|
+
avatar: string;
|
|
843
|
+
ghostDisabled: string;
|
|
844
|
+
notCurrent: string;
|
|
845
|
+
};
|
|
846
|
+
css: {
|
|
847
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
848
|
+
(...args: CSSInterpolation[]): string;
|
|
849
|
+
};
|
|
850
|
+
cx: (...args: any) => string;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
854
|
+
classes: {
|
|
855
|
+
root: string;
|
|
856
|
+
};
|
|
857
|
+
css: {
|
|
858
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
859
|
+
(...args: CSSInterpolation[]): string;
|
|
860
|
+
};
|
|
861
|
+
cx: (...args: any) => string;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"actionsContainer" | "buttonWidth" | "buttonsContainer" | "buttonSpacing", string>>, addStatic?: boolean) => {
|
|
668
865
|
classes: {
|
|
669
866
|
actionsContainer: string;
|
|
670
867
|
buttonWidth: string;
|
|
@@ -678,7 +875,7 @@ declare const useClasses_11: (classesProp?: Partial<Record<"actionsContainer" |
|
|
|
678
875
|
cx: (...args: any) => string;
|
|
679
876
|
};
|
|
680
877
|
|
|
681
|
-
declare const
|
|
878
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"titleContainer" | "messageContainer" | "headerContainer" | "buttonWidth" | "rootSummaryButton" | "stepContainer", string>>, addStatic?: boolean) => {
|
|
682
879
|
classes: {
|
|
683
880
|
titleContainer: string;
|
|
684
881
|
messageContainer: string;
|
|
@@ -694,7 +891,7 @@ declare const useClasses_12: (classesProp?: Partial<Record<"titleContainer" | "m
|
|
|
694
891
|
cx: (...args: any) => string;
|
|
695
892
|
};
|
|
696
893
|
|
|
697
|
-
declare const
|
|
894
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
698
895
|
classes: {
|
|
699
896
|
root: string;
|
|
700
897
|
paper: string;
|
|
@@ -707,7 +904,7 @@ declare const useClasses_13: (classesProp?: Partial<Record<"root" | "paper" | "c
|
|
|
707
904
|
cx: (...args: any) => string;
|
|
708
905
|
};
|
|
709
906
|
|
|
710
|
-
declare const
|
|
907
|
+
declare const useClasses_16: (classesProp?: Partial<Record<"contentContainer" | "fixedHeight" | "summaryRef" | "summarySticky" | "summaryContainer", string>>, addStatic?: boolean) => {
|
|
711
908
|
classes: {
|
|
712
909
|
contentContainer: string;
|
|
713
910
|
fixedHeight: string;
|
|
@@ -744,7 +941,29 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
744
941
|
cx: (...args: any) => string;
|
|
745
942
|
};
|
|
746
943
|
|
|
747
|
-
declare const useClasses_4: (classesProp?: Partial<Record<"
|
|
944
|
+
declare const useClasses_4: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
945
|
+
classes: {
|
|
946
|
+
root: string;
|
|
947
|
+
};
|
|
948
|
+
css: {
|
|
949
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
950
|
+
(...args: CSSInterpolation[]): string;
|
|
951
|
+
};
|
|
952
|
+
cx: (...args: any) => string;
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
declare const useClasses_5: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
956
|
+
classes: {
|
|
957
|
+
root: string;
|
|
958
|
+
};
|
|
959
|
+
css: {
|
|
960
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
961
|
+
(...args: CSSInterpolation[]): string;
|
|
962
|
+
};
|
|
963
|
+
cx: (...args: any) => string;
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
declare const useClasses_6: (classesProp?: Partial<Record<"description" | "titleContainer" | "drawerPaper" | "contentContainer" | "searchRoot" | "groupsContainer" | "nodeType", string>>, addStatic?: boolean) => {
|
|
748
967
|
classes: {
|
|
749
968
|
description: string;
|
|
750
969
|
titleContainer: string;
|
|
@@ -761,7 +980,7 @@ declare const useClasses_4: (classesProp?: Partial<Record<"description" | "title
|
|
|
761
980
|
cx: (...args: any) => string;
|
|
762
981
|
};
|
|
763
982
|
|
|
764
|
-
declare const
|
|
983
|
+
declare const useClasses_7: (classesProp?: Partial<Record<"root" | "title" | "titleContainer" | "mandatory" | "footerContainer" | "inputContainer" | "contentContainer" | "headerContainer" | "inputsTitleContainer" | "outputsTitleContainer" | "inputsContainer" | "outputsContainer" | "outputContainer", string>>, addStatic?: boolean) => {
|
|
765
984
|
classes: {
|
|
766
985
|
root: string;
|
|
767
986
|
title: string;
|
|
@@ -784,7 +1003,7 @@ declare const useClasses_5: (classesProp?: Partial<Record<"root" | "title" | "ti
|
|
|
784
1003
|
cx: (...args: any) => string;
|
|
785
1004
|
};
|
|
786
1005
|
|
|
787
|
-
declare const
|
|
1006
|
+
declare const useClasses_8: (classesProp?: Partial<Record<"actions" | "subtitleContainer" | "paramsContainer", string>>, addStatic?: boolean) => {
|
|
788
1007
|
classes: {
|
|
789
1008
|
actions: string;
|
|
790
1009
|
subtitleContainer: string;
|
|
@@ -797,7 +1016,7 @@ declare const useClasses_6: (classesProp?: Partial<Record<"actions" | "subtitleC
|
|
|
797
1016
|
cx: (...args: any) => string;
|
|
798
1017
|
};
|
|
799
1018
|
|
|
800
|
-
declare const
|
|
1019
|
+
declare const useClasses_9: (classesProp?: Partial<Record<"empty" | "actions", string>>, addStatic?: boolean) => {
|
|
801
1020
|
classes: {
|
|
802
1021
|
empty: string;
|
|
803
1022
|
actions: string;
|
|
@@ -809,41 +1028,6 @@ declare const useClasses_7: (classesProp?: Partial<Record<"empty" | "actions", s
|
|
|
809
1028
|
cx: (...args: any) => string;
|
|
810
1029
|
};
|
|
811
1030
|
|
|
812
|
-
declare const useClasses_8: (classesProp?: Partial<Record<"root" | "separator" | "li" | "ol" | "titles", string>>, addStatic?: boolean) => {
|
|
813
|
-
classes: {
|
|
814
|
-
root: string;
|
|
815
|
-
separator: string;
|
|
816
|
-
li: string;
|
|
817
|
-
ol: string;
|
|
818
|
-
titles: string;
|
|
819
|
-
};
|
|
820
|
-
css: {
|
|
821
|
-
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
822
|
-
(...args: CSSInterpolation[]): string;
|
|
823
|
-
};
|
|
824
|
-
cx: (...args: any) => string;
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
declare const useClasses_9: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "root" | "ghost" | "avatar" | "ghostDisabled" | "notCurrent", string>>, addStatic?: boolean) => {
|
|
828
|
-
classes: {
|
|
829
|
-
xs: string;
|
|
830
|
-
sm: string;
|
|
831
|
-
md: string;
|
|
832
|
-
lg: string;
|
|
833
|
-
xl: string;
|
|
834
|
-
root: string;
|
|
835
|
-
ghost: string;
|
|
836
|
-
avatar: string;
|
|
837
|
-
ghostDisabled: string;
|
|
838
|
-
notCurrent: string;
|
|
839
|
-
};
|
|
840
|
-
css: {
|
|
841
|
-
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
842
|
-
(...args: CSSInterpolation[]): string;
|
|
843
|
-
};
|
|
844
|
-
cx: (...args: any) => string;
|
|
845
|
-
};
|
|
846
|
-
|
|
847
1031
|
export declare const useFlowContext: () => HvFlowContextValue<string>;
|
|
848
1032
|
|
|
849
1033
|
export declare function useFlowInputNodes<T = any>(id: string): Node_2<T, string | undefined>[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-lab",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.23.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,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.
|
|
36
|
-
"@hitachivantara/uikit-react-icons": "^5.
|
|
35
|
+
"@hitachivantara/uikit-react-core": "^5.44.3",
|
|
36
|
+
"@hitachivantara/uikit-react-icons": "^5.8.0",
|
|
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": "
|
|
53
|
+
"gitHead": "5cf0119ea66c034bda2108043eb3c6b09ab4b7ff",
|
|
54
54
|
"main": "dist/cjs/index.cjs",
|
|
55
55
|
"exports": {
|
|
56
56
|
".": {
|