@hitachivantara/uikit-react-core 5.0.2 → 5.1.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/Dropdown/dropdownClasses.cjs +1 -1
- package/dist/cjs/components/Dropdown/dropdownClasses.cjs.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.cjs +1 -1
- package/dist/cjs/components/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/components/Slider/Slider.cjs +301 -0
- package/dist/cjs/components/Slider/Slider.cjs.map +1 -0
- package/dist/cjs/components/Slider/Slider.styles.cjs +334 -0
- package/dist/cjs/components/Slider/Slider.styles.cjs.map +1 -0
- package/dist/cjs/components/Slider/SliderInput/SliderInput.cjs +66 -0
- package/dist/cjs/components/Slider/SliderInput/SliderInput.cjs.map +1 -0
- package/dist/cjs/components/Slider/SliderInput/SliderInput.styles.cjs +55 -0
- package/dist/cjs/components/Slider/SliderInput/SliderInput.styles.cjs.map +1 -0
- package/dist/cjs/components/Slider/SliderInput/sliderInputClasses.cjs +8 -0
- package/dist/cjs/components/Slider/SliderInput/sliderInputClasses.cjs.map +1 -0
- package/dist/cjs/components/Slider/base.cjs +251 -0
- package/dist/cjs/components/Slider/base.cjs.map +1 -0
- package/dist/cjs/components/Slider/sliderClasses.cjs +8 -0
- package/dist/cjs/components/Slider/sliderClasses.cjs.map +1 -0
- package/dist/cjs/components/Slider/utils.cjs +217 -0
- package/dist/cjs/components/Slider/utils.cjs.map +1 -0
- package/dist/cjs/components/Table/TableBody/tableBodyClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/TableCell/tableCellClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/TableContainer/tableContainerClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/TableHead/tableHeadClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/TableHeader/tableHeaderClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/TableRow/tableRowClasses.cjs.map +1 -1
- package/dist/cjs/components/Table/tableClasses.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.cjs +76 -17
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.styles.cjs +4 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/navigationClasses.cjs +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/navigationClasses.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.cjs +58 -0
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.cjs.map +1 -0
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.cjs +16 -0
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.cjs.map +1 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.cjs +41 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.cjs.map +1 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.styles.cjs +42 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.styles.cjs.map +1 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/TooltipWrapper/TooltipWrapper.cjs +24 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/TooltipWrapper/TooltipWrapper.cjs.map +1 -0
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.cjs +42 -44
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.cjs +6 -2
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.styles.cjs +6 -4
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/VerticalNavigationContext.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/utils/VerticalNavigation.utils.cjs +7 -0
- package/dist/cjs/components/VerticalNavigation/utils/VerticalNavigation.utils.cjs.map +1 -0
- package/dist/cjs/index.cjs +4 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Dropdown/dropdownClasses.js +1 -1
- package/dist/esm/components/Dropdown/dropdownClasses.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +1 -1
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/Slider/Slider.js +299 -0
- package/dist/esm/components/Slider/Slider.js.map +1 -0
- package/dist/esm/components/Slider/Slider.styles.js +330 -0
- package/dist/esm/components/Slider/Slider.styles.js.map +1 -0
- package/dist/esm/components/Slider/SliderInput/SliderInput.js +64 -0
- package/dist/esm/components/Slider/SliderInput/SliderInput.js.map +1 -0
- package/dist/esm/components/Slider/SliderInput/SliderInput.styles.js +53 -0
- package/dist/esm/components/Slider/SliderInput/SliderInput.styles.js.map +1 -0
- package/dist/esm/components/Slider/SliderInput/sliderInputClasses.js +8 -0
- package/dist/esm/components/Slider/SliderInput/sliderInputClasses.js.map +1 -0
- package/dist/esm/components/Slider/base.js +251 -0
- package/dist/esm/components/Slider/base.js.map +1 -0
- package/dist/esm/components/Slider/sliderClasses.js +8 -0
- package/dist/esm/components/Slider/sliderClasses.js.map +1 -0
- package/dist/esm/components/Slider/utils.js +217 -0
- package/dist/esm/components/Slider/utils.js.map +1 -0
- package/dist/esm/components/Table/TableBody/tableBodyClasses.js.map +1 -1
- package/dist/esm/components/Table/TableCell/tableCellClasses.js.map +1 -1
- package/dist/esm/components/Table/TableContainer/tableContainerClasses.js.map +1 -1
- package/dist/esm/components/Table/TableHead/tableHeadClasses.js.map +1 -1
- package/dist/esm/components/Table/TableHeader/tableHeaderClasses.js.map +1 -1
- package/dist/esm/components/Table/TableRow/tableRowClasses.js.map +1 -1
- package/dist/esm/components/Table/tableClasses.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.js +77 -19
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.styles.js +4 -1
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/navigationClasses.js +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/navigationClasses.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.js +56 -0
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.js.map +1 -0
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.js +14 -0
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.js.map +1 -0
- package/dist/esm/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.js +41 -0
- package/dist/esm/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.js.map +1 -0
- package/dist/esm/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.styles.js +40 -0
- package/dist/esm/components/VerticalNavigation/TreeView/IconWrapper/IconWrapper.styles.js.map +1 -0
- package/dist/esm/components/VerticalNavigation/TreeView/TooltipWrapper/TooltipWrapper.js +24 -0
- package/dist/esm/components/VerticalNavigation/TreeView/TooltipWrapper/TooltipWrapper.js.map +1 -0
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.js +42 -44
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.js +6 -2
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.styles.js +6 -4
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/VerticalNavigationContext.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/utils/VerticalNavigation.utils.js +7 -0
- package/dist/esm/components/VerticalNavigation/utils/VerticalNavigation.utils.js.map +1 -0
- package/dist/esm/index.js +22 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +201 -14
- package/package.json +7 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ import type { RefAttributes } from 'react';
|
|
|
55
55
|
import { RefObject } from 'react';
|
|
56
56
|
import { Renderer } from 'react-table';
|
|
57
57
|
import { Row } from 'react-table';
|
|
58
|
+
import { SliderProps } from 'rc-slider';
|
|
58
59
|
import { SnackbarCloseReason } from '@mui/material/Snackbar';
|
|
59
60
|
import { SnackbarContentProps } from '@mui/material/SnackbarContent';
|
|
60
61
|
import type { SnackbarKey } from 'notistack';
|
|
@@ -3562,6 +3563,16 @@ declare type HvInputValidity = {
|
|
|
3562
3563
|
valueMissing?: boolean;
|
|
3563
3564
|
};
|
|
3564
3565
|
|
|
3566
|
+
export declare interface HvKnobProperty {
|
|
3567
|
+
color?: string;
|
|
3568
|
+
defaultValue?: number;
|
|
3569
|
+
hidden?: boolean;
|
|
3570
|
+
fixed?: boolean;
|
|
3571
|
+
hoverColor?: string;
|
|
3572
|
+
trackColor?: string;
|
|
3573
|
+
dragColor?: string;
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3565
3576
|
/**
|
|
3566
3577
|
* Key Performance Indicator is a type of performance measurement. It monitors a business indicator
|
|
3567
3578
|
* and its success/failure against a given target. KPIs are the first item read on a dashboard.
|
|
@@ -3952,6 +3963,11 @@ export declare type HvLoginProps = HvBaseProps & {
|
|
|
3952
3963
|
classes?: HvLoginClasses;
|
|
3953
3964
|
};
|
|
3954
3965
|
|
|
3966
|
+
export declare interface HvMarkProperty {
|
|
3967
|
+
position?: number;
|
|
3968
|
+
label?: string;
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3955
3971
|
declare type HvMenuBarProps = HvBaseProps<"div", {
|
|
3956
3972
|
onClick: any;
|
|
3957
3973
|
}> & {
|
|
@@ -4640,6 +4656,165 @@ export declare type HvSimpleGridProps = HvBaseProps & {
|
|
|
4640
4656
|
cols?: number;
|
|
4641
4657
|
};
|
|
4642
4658
|
|
|
4659
|
+
/**
|
|
4660
|
+
* Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.
|
|
4661
|
+
*/
|
|
4662
|
+
export declare const HvSlider: ({ id, className, name, label, status, statusMessage, disabled, classes, sliderProps, knobProps, inputProps, requiredMessage, noOverlap, hideInput, required, readOnly, markProperties, defaultValues, values: valuesProp, knobProperties: knobPropertiesProp, "aria-errormessage": ariaErrorMessage, maxPointValue, minPointValue, divisionQuantity, markStep, markDigits, formatMark, onChange, onBlur, onBeforeChange, onAfterChange, formatTooltip, ...others }: HvSliderProps) => JSX_2.Element;
|
|
4663
|
+
|
|
4664
|
+
export declare interface HvSliderClasses {
|
|
4665
|
+
root?: string;
|
|
4666
|
+
rootRange?: string;
|
|
4667
|
+
labelContainer?: string;
|
|
4668
|
+
label?: string;
|
|
4669
|
+
handle?: string;
|
|
4670
|
+
handleContainer?: string;
|
|
4671
|
+
sliderBase?: string;
|
|
4672
|
+
sliderRoot?: string;
|
|
4673
|
+
trackDragging?: string;
|
|
4674
|
+
rootDisabled?: string;
|
|
4675
|
+
trackStandBy?: string;
|
|
4676
|
+
error?: string;
|
|
4677
|
+
handleHiddenContainer?: string;
|
|
4678
|
+
handleContainerDisabled?: string;
|
|
4679
|
+
labelIncluded?: string;
|
|
4680
|
+
onlyInput?: string;
|
|
4681
|
+
sliderTooltip?: string;
|
|
4682
|
+
sliderContainer?: string;
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4685
|
+
export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, {
|
|
4686
|
+
onChange: any;
|
|
4687
|
+
onBlur: any;
|
|
4688
|
+
}> {
|
|
4689
|
+
/**
|
|
4690
|
+
* The slider name.
|
|
4691
|
+
*/
|
|
4692
|
+
name?: string;
|
|
4693
|
+
/**
|
|
4694
|
+
* The label of the slider.
|
|
4695
|
+
*
|
|
4696
|
+
* If not provided, an aria-label or aria-labelledby must be inputted via sliderProps.
|
|
4697
|
+
*/
|
|
4698
|
+
label?: React_2.ReactNode;
|
|
4699
|
+
/**
|
|
4700
|
+
* Indicates that the slider is disabled.
|
|
4701
|
+
*/
|
|
4702
|
+
disabled?: boolean;
|
|
4703
|
+
/**
|
|
4704
|
+
* Indicates that the slider is not editable.
|
|
4705
|
+
*/
|
|
4706
|
+
readOnly?: boolean;
|
|
4707
|
+
/**
|
|
4708
|
+
* Indicates that user slider is required on the form element.
|
|
4709
|
+
*/
|
|
4710
|
+
required?: boolean;
|
|
4711
|
+
/**
|
|
4712
|
+
* What message to render when the value is required.
|
|
4713
|
+
*/
|
|
4714
|
+
requiredMessage?: string;
|
|
4715
|
+
/**
|
|
4716
|
+
* If `true` the input that controls the slider is hidden.
|
|
4717
|
+
*/
|
|
4718
|
+
hideInput?: boolean;
|
|
4719
|
+
/**
|
|
4720
|
+
* Attributes applied to the slider element.
|
|
4721
|
+
*/
|
|
4722
|
+
sliderProps?: SliderProps;
|
|
4723
|
+
/**
|
|
4724
|
+
* The status of the slider element.
|
|
4725
|
+
*
|
|
4726
|
+
* Valid is correct, invalid is incorrect and standBy means no validations have run.
|
|
4727
|
+
*
|
|
4728
|
+
* When uncontrolled and unspecified it will default to "standBy" and change to either "valid"
|
|
4729
|
+
* or "invalid" after any change to the state.
|
|
4730
|
+
*/
|
|
4731
|
+
status?: HvFormStatus | HvFormStatus[];
|
|
4732
|
+
/**
|
|
4733
|
+
* The error message to show when `status` is "invalid".
|
|
4734
|
+
*/
|
|
4735
|
+
statusMessage?: React_2.ReactNode;
|
|
4736
|
+
/**
|
|
4737
|
+
* The values array to apply to the component
|
|
4738
|
+
*/
|
|
4739
|
+
values?: number[];
|
|
4740
|
+
/**
|
|
4741
|
+
* The default values array to apply to the component
|
|
4742
|
+
*/
|
|
4743
|
+
defaultValues?: (number | undefined)[];
|
|
4744
|
+
/**
|
|
4745
|
+
* The object used to set the knob properties,
|
|
4746
|
+
* for every item in the array a new knob will be created.
|
|
4747
|
+
*/
|
|
4748
|
+
knobProperties?: HvKnobProperty[];
|
|
4749
|
+
/**
|
|
4750
|
+
* The object used to set the mark properties individually.
|
|
4751
|
+
*/
|
|
4752
|
+
markProperties?: HvMarkProperty[];
|
|
4753
|
+
/**
|
|
4754
|
+
* The function executed before a change will occur in the slider.
|
|
4755
|
+
*/
|
|
4756
|
+
onBeforeChange?: (value: number[]) => void;
|
|
4757
|
+
/**
|
|
4758
|
+
* The function executed while a change is occurring in the slider.
|
|
4759
|
+
*/
|
|
4760
|
+
onChange?: (value: number[]) => void;
|
|
4761
|
+
/**
|
|
4762
|
+
* The function executed after a change ocurred in the slider.
|
|
4763
|
+
*/
|
|
4764
|
+
onAfterChange?: (value: number[]) => void;
|
|
4765
|
+
/**
|
|
4766
|
+
* The function executed after a blur ocurred in the slider.
|
|
4767
|
+
*/
|
|
4768
|
+
onBlur?: (event: React_2.FocusEvent, knobsValues: number[], status?: HvFormStatus | HvFormStatus[]) => void;
|
|
4769
|
+
/**
|
|
4770
|
+
* The separation in points between marks.
|
|
4771
|
+
* example: if 10 divisions and a markstep of 2 there will be 5 marks.
|
|
4772
|
+
*/
|
|
4773
|
+
markStep?: number;
|
|
4774
|
+
/**
|
|
4775
|
+
* How many subdivisions there are in the slider.
|
|
4776
|
+
*/
|
|
4777
|
+
divisionQuantity?: number;
|
|
4778
|
+
/**
|
|
4779
|
+
* The value of the first point in the slider from left to right.
|
|
4780
|
+
*/
|
|
4781
|
+
minPointValue?: number;
|
|
4782
|
+
/**
|
|
4783
|
+
* The value of the last point in the slider from left to right.
|
|
4784
|
+
*/
|
|
4785
|
+
maxPointValue?: number;
|
|
4786
|
+
/**
|
|
4787
|
+
* The nax number of decimals if no format function is applied
|
|
4788
|
+
*/
|
|
4789
|
+
markDigits?: number;
|
|
4790
|
+
/**
|
|
4791
|
+
* A formatting function used to add format to the marks in the track,
|
|
4792
|
+
* the function receives the mark text
|
|
4793
|
+
*/
|
|
4794
|
+
formatMark?: (label: React_2.ReactNode) => React_2.ReactNode;
|
|
4795
|
+
/**
|
|
4796
|
+
* A formatting function used to add format to the tooltip in the track,
|
|
4797
|
+
* the function receives the mark text
|
|
4798
|
+
*/
|
|
4799
|
+
formatTooltip?: (label: React_2.ReactNode) => React_2.ReactNode;
|
|
4800
|
+
/**
|
|
4801
|
+
* If `true` the knobs can't have the same value, if `false` knobs can have the same value.
|
|
4802
|
+
*/
|
|
4803
|
+
noOverlap?: boolean;
|
|
4804
|
+
/**
|
|
4805
|
+
* Attributes applied to the input element.
|
|
4806
|
+
*/
|
|
4807
|
+
inputProps?: HvInputProps[];
|
|
4808
|
+
/**
|
|
4809
|
+
* Attributes applied to the knob element.
|
|
4810
|
+
*/
|
|
4811
|
+
knobProps?: React_2.HTMLAttributes<HTMLDivElement>[];
|
|
4812
|
+
/**
|
|
4813
|
+
* The classes object to be applied into the root object.
|
|
4814
|
+
*/
|
|
4815
|
+
classes?: HvSliderClasses;
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4643
4818
|
/**
|
|
4644
4819
|
* A Snackbar provides brief messages about app processes.
|
|
4645
4820
|
* It is dismissed automatically after a given interval.
|
|
@@ -4998,10 +5173,10 @@ export declare const HvTable: ForwardRefExoticComponent<HvTableProps & RefAttrib
|
|
|
4998
5173
|
*/
|
|
4999
5174
|
export declare const HvTableBody: React_2.ForwardRefExoticComponent<HvTableBodyProps & React_2.RefAttributes<HTMLElement>>;
|
|
5000
5175
|
|
|
5001
|
-
export declare
|
|
5176
|
+
export declare interface HvTableBodyClasses {
|
|
5002
5177
|
/** Styles applied to the component root class. */
|
|
5003
5178
|
root?: string;
|
|
5004
|
-
}
|
|
5179
|
+
}
|
|
5005
5180
|
|
|
5006
5181
|
export declare interface HvTableBodyProps extends HvBaseProps<HTMLTableSectionElement, {
|
|
5007
5182
|
children: any;
|
|
@@ -5037,7 +5212,7 @@ export declare const HvTableCell: ForwardRefExoticComponent<HvTableCellProps & R
|
|
|
5037
5212
|
|
|
5038
5213
|
export declare type HvTableCellAlign = "center" | "inherit" | "justify" | "left" | "right";
|
|
5039
5214
|
|
|
5040
|
-
export declare
|
|
5215
|
+
export declare interface HvTableCellClasses {
|
|
5041
5216
|
/** Styles applied to the component root class. */
|
|
5042
5217
|
root?: string;
|
|
5043
5218
|
/** Styles applied to the cell when it's in the table head. */
|
|
@@ -5088,7 +5263,7 @@ export declare type HvTableCellClasses = {
|
|
|
5088
5263
|
resizable?: string;
|
|
5089
5264
|
/** Styles applied to the cell when it's part of a resizing column. */
|
|
5090
5265
|
resizing?: string;
|
|
5091
|
-
}
|
|
5266
|
+
}
|
|
5092
5267
|
|
|
5093
5268
|
export declare interface HvTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
5094
5269
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to td. */
|
|
@@ -5127,7 +5302,7 @@ export declare type HvTableCellType = "body" | "footer" | "head";
|
|
|
5127
5302
|
|
|
5128
5303
|
export declare type HvTableCellVariant = "checkbox" | "expand" | "actions" | "default" | "none";
|
|
5129
5304
|
|
|
5130
|
-
export declare
|
|
5305
|
+
export declare interface HvTableClasses {
|
|
5131
5306
|
/** Styles applied to the component root class. */
|
|
5132
5307
|
root?: string;
|
|
5133
5308
|
/** Styles applied to the component root class when it has a sticky header. */
|
|
@@ -5136,7 +5311,7 @@ export declare type HvTableClasses = {
|
|
|
5136
5311
|
stickyColumns?: string;
|
|
5137
5312
|
/** Styles applied to the component root class when it has sticky columns. */
|
|
5138
5313
|
listRow?: string;
|
|
5139
|
-
}
|
|
5314
|
+
}
|
|
5140
5315
|
|
|
5141
5316
|
export declare type HvTableColumnConfig<D extends object = Record<string, unknown>, H extends HvTableHeaderRenderer | undefined = HvTableHeaderRenderer> = HvColumnGroup<D, H> | HvColumnWithLooseAccessor<D, H> | HvColumnWithStrictAccessor<D, H>;
|
|
5142
5317
|
|
|
@@ -5150,10 +5325,10 @@ export declare interface HvTableColumnOptions<D extends object = Record<string,
|
|
|
5150
5325
|
*/
|
|
5151
5326
|
export declare const HvTableContainer: ForwardRefExoticComponent<HvTableContainerProps & RefAttributes<HTMLElement>>;
|
|
5152
5327
|
|
|
5153
|
-
export declare
|
|
5328
|
+
export declare interface HvTableContainerClasses {
|
|
5154
5329
|
/** Styles applied to the component root class. */
|
|
5155
5330
|
root?: string;
|
|
5156
|
-
}
|
|
5331
|
+
}
|
|
5157
5332
|
|
|
5158
5333
|
export declare interface HvTableContainerProps extends HvBaseProps<HTMLDivElement, {
|
|
5159
5334
|
children: any;
|
|
@@ -5179,19 +5354,19 @@ export declare type HvTableDefinitionConfig<D extends object = Record<string, un
|
|
|
5179
5354
|
*/
|
|
5180
5355
|
export declare const HvTableHead: ForwardRefExoticComponent<HvTableHeadProps & RefAttributes<HTMLElement>>;
|
|
5181
5356
|
|
|
5182
|
-
export declare
|
|
5357
|
+
export declare interface HvTableHeadClasses {
|
|
5183
5358
|
/** Styles applied to the component root class. */
|
|
5184
5359
|
root?: string;
|
|
5185
5360
|
/** Styles applied when the table has a sticky header. */
|
|
5186
5361
|
stickyHeader?: string;
|
|
5187
|
-
}
|
|
5362
|
+
}
|
|
5188
5363
|
|
|
5189
5364
|
/**
|
|
5190
5365
|
* `HvTableHeader` acts as a `th` element and inherits styles from its context
|
|
5191
5366
|
*/
|
|
5192
5367
|
export declare const HvTableHeader: ForwardRefExoticComponent<HvTableHeaderProps & RefAttributes<HTMLElement>>;
|
|
5193
5368
|
|
|
5194
|
-
export declare
|
|
5369
|
+
export declare interface HvTableHeaderClasses {
|
|
5195
5370
|
/** Styles applied to the component root class. */
|
|
5196
5371
|
root?: string;
|
|
5197
5372
|
/** Styles applied to the cell when it's in the table head. */
|
|
@@ -5258,7 +5433,7 @@ export declare type HvTableHeaderClasses = {
|
|
|
5258
5433
|
resizing?: string;
|
|
5259
5434
|
/** Styles applied to the resizer object when column is resizable. */
|
|
5260
5435
|
resizer?: string;
|
|
5261
|
-
}
|
|
5436
|
+
}
|
|
5262
5437
|
|
|
5263
5438
|
export declare interface HvTableHeaderProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
5264
5439
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to th. */
|
|
@@ -5399,7 +5574,7 @@ export declare interface HvTableProps extends TableHTMLAttributes<HTMLTableEleme
|
|
|
5399
5574
|
*/
|
|
5400
5575
|
export declare const HvTableRow: ForwardRefExoticComponent<HvTableRowProps & RefAttributes<HTMLElement>>;
|
|
5401
5576
|
|
|
5402
|
-
export declare
|
|
5577
|
+
export declare interface HvTableRowClasses {
|
|
5403
5578
|
/** Styles applied to the component root class. */
|
|
5404
5579
|
root?: string;
|
|
5405
5580
|
/** Styles applied to the component root when selected. */
|
|
@@ -5420,7 +5595,7 @@ export declare type HvTableRowClasses = {
|
|
|
5420
5595
|
variantList?: string;
|
|
5421
5596
|
/** Styles applied to the component root when its table variant is list. */
|
|
5422
5597
|
variantListHead?: string;
|
|
5423
|
-
}
|
|
5598
|
+
}
|
|
5424
5599
|
|
|
5425
5600
|
export declare interface HvTableRowProps extends HvBaseProps<HTMLTableRowElement, {
|
|
5426
5601
|
children: any;
|
|
@@ -6263,6 +6438,7 @@ export declare type HvVerticalNavigationTreeClasses = {
|
|
|
6263
6438
|
list?: string;
|
|
6264
6439
|
listItem?: string;
|
|
6265
6440
|
collapsed?: string;
|
|
6441
|
+
popup?: string;
|
|
6266
6442
|
};
|
|
6267
6443
|
|
|
6268
6444
|
export declare type HvVerticalNavigationTreeProps = HvBaseProps<HTMLDivElement, {
|
|
@@ -6436,6 +6612,14 @@ export declare type HvVerticalNavigationTreeViewItemProps = {
|
|
|
6436
6612
|
* The content of the component.
|
|
6437
6613
|
*/
|
|
6438
6614
|
children?: React.ReactNode;
|
|
6615
|
+
/**
|
|
6616
|
+
* @ignore
|
|
6617
|
+
*/
|
|
6618
|
+
onMouseEnter?: any;
|
|
6619
|
+
/**
|
|
6620
|
+
* Disables the appearence of a tooltip on hovering an element ( Only applicable when the in collapsed mode)
|
|
6621
|
+
*/
|
|
6622
|
+
disableTooltip?: boolean;
|
|
6439
6623
|
};
|
|
6440
6624
|
|
|
6441
6625
|
export declare type HvVerticalNavigationTreeViewProps = {
|
|
@@ -6835,6 +7019,8 @@ export declare const setId: (...args: any[]) => string | undefined;
|
|
|
6835
7019
|
|
|
6836
7020
|
export declare const setUid: (id: any, suffix: any) => string | undefined;
|
|
6837
7021
|
|
|
7022
|
+
export declare const sliderClasses: HvSliderClasses;
|
|
7023
|
+
|
|
6838
7024
|
export declare const snackbarClasses: HvSnackbarClasses;
|
|
6839
7025
|
|
|
6840
7026
|
export declare const snackbarContentClasses: HvSnackbarContentClasses;
|
|
@@ -7216,6 +7402,7 @@ declare interface VerticalNavigationContextValue {
|
|
|
7216
7402
|
setParentData?: React.Dispatch<React.SetStateAction<any>>;
|
|
7217
7403
|
parentSelected?: any;
|
|
7218
7404
|
setParentSelected?: React.Dispatch<React.SetStateAction<any>>;
|
|
7405
|
+
hasAnyChildWithData?: boolean;
|
|
7219
7406
|
}
|
|
7220
7407
|
|
|
7221
7408
|
export declare const verticalNavigationHeaderClasses: HvVerticalNavigationHeaderClasses;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@emotion/cache": "^11.10.5",
|
|
33
|
-
"@hitachivantara/uikit-react-icons": "^5.0.
|
|
34
|
-
"@hitachivantara/uikit-react-shared": "^5.0.
|
|
35
|
-
"@hitachivantara/uikit-styles": "^5.0
|
|
33
|
+
"@hitachivantara/uikit-react-icons": "^5.0.2",
|
|
34
|
+
"@hitachivantara/uikit-react-shared": "^5.0.2",
|
|
35
|
+
"@hitachivantara/uikit-styles": "^5.1.0",
|
|
36
36
|
"@popperjs/core": "^2.11.6",
|
|
37
37
|
"@types/react-table": "^7.7.14",
|
|
38
38
|
"attr-accept": "^2.2.2",
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
"hoist-non-react-statics": "^3.3.2",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
44
44
|
"notistack": "^2.0.8",
|
|
45
|
+
"rc-slider": "^10.1.1",
|
|
46
|
+
"rc-tooltip": "^6.0.1",
|
|
45
47
|
"react-popper": "^2.3.0",
|
|
46
48
|
"react-resize-detector": "^8.0.4",
|
|
47
49
|
"react-table": "^7.8.0",
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
"access": "public",
|
|
55
57
|
"directory": "package"
|
|
56
58
|
},
|
|
57
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "021f98edd28c964a67329124bbd687203aa2fcb2",
|
|
58
60
|
"main": "dist/cjs/index.cjs",
|
|
59
61
|
"exports": {
|
|
60
62
|
".": {
|