@hitachivantara/uikit-react-core 5.46.2 → 5.47.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.
- package/dist/cjs/ColorPicker/ColorPicker.cjs +3 -3
- package/dist/cjs/ColorPicker/ColorPicker.cjs.map +1 -1
- package/dist/cjs/DatePicker/DatePicker.cjs +5 -1
- package/dist/cjs/DatePicker/DatePicker.cjs.map +1 -1
- package/dist/cjs/Dropdown/Dropdown.cjs +6 -0
- package/dist/cjs/Dropdown/Dropdown.cjs.map +1 -1
- package/dist/cjs/Dropdown/List/List.cjs.map +1 -1
- package/dist/cjs/Dropdown/utils.cjs.map +1 -1
- package/dist/cjs/FilterGroup/FilterContent/FilterContent.cjs.map +1 -1
- package/dist/cjs/FilterGroup/FilterGroup.cjs +7 -0
- package/dist/cjs/FilterGroup/FilterGroup.cjs.map +1 -1
- package/dist/cjs/Input/Input.cjs +5 -0
- package/dist/cjs/Input/Input.cjs.map +1 -1
- package/dist/cjs/Kpi/Kpi.cjs +12 -8
- package/dist/cjs/Kpi/Kpi.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs +27 -32
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +14 -1
- package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/Panel/Panel.cjs +13 -11
- package/dist/cjs/Panel/Panel.cjs.map +1 -1
- package/dist/cjs/Section/Section.cjs +32 -20
- package/dist/cjs/Section/Section.cjs.map +1 -1
- package/dist/cjs/Section/Section.styles.cjs +13 -3
- package/dist/cjs/Section/Section.styles.cjs.map +1 -1
- package/dist/cjs/TableSection/TableSection.cjs +24 -0
- package/dist/cjs/TableSection/TableSection.cjs.map +1 -0
- package/dist/cjs/TableSection/TableSection.styles.cjs +81 -0
- package/dist/cjs/TableSection/TableSection.styles.cjs.map +1 -0
- package/dist/cjs/hooks/useLabels.cjs +1 -4
- package/dist/cjs/hooks/useLabels.cjs.map +1 -1
- package/dist/cjs/index.cjs +4 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/ColorPicker/ColorPicker.js +3 -3
- package/dist/esm/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/esm/DatePicker/DatePicker.js +5 -1
- package/dist/esm/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.js +6 -0
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/Dropdown/List/List.js.map +1 -1
- package/dist/esm/Dropdown/utils.js.map +1 -1
- package/dist/esm/FilterGroup/FilterContent/FilterContent.js.map +1 -1
- package/dist/esm/FilterGroup/FilterGroup.js +7 -0
- package/dist/esm/FilterGroup/FilterGroup.js.map +1 -1
- package/dist/esm/Input/Input.js +5 -0
- package/dist/esm/Input/Input.js.map +1 -1
- package/dist/esm/Kpi/Kpi.js +12 -8
- package/dist/esm/Kpi/Kpi.js.map +1 -1
- package/dist/esm/ListContainer/ListItem/ListItem.js +27 -32
- package/dist/esm/ListContainer/ListItem/ListItem.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +14 -1
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/Panel/Panel.js +13 -11
- package/dist/esm/Panel/Panel.js.map +1 -1
- package/dist/esm/Section/Section.js +32 -20
- package/dist/esm/Section/Section.js.map +1 -1
- package/dist/esm/Section/Section.styles.js +13 -3
- package/dist/esm/Section/Section.styles.js.map +1 -1
- package/dist/esm/TableSection/TableSection.js +25 -0
- package/dist/esm/TableSection/TableSection.js.map +1 -0
- package/dist/esm/TableSection/TableSection.styles.js +81 -0
- package/dist/esm/TableSection/TableSection.styles.js.map +1 -0
- package/dist/esm/hooks/useLabels.js +2 -3
- package/dist/esm/hooks/useLabels.js.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +161 -128
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -644,6 +644,107 @@ export declare type DeepPartial<T> = T extends Object ? Partial<{
|
|
|
644
644
|
[P in keyof T]: DeepPartial<T[P]>;
|
|
645
645
|
}> : T;
|
|
646
646
|
|
|
647
|
+
declare const DEFAULT_LABELS: {
|
|
648
|
+
/** The show label. */
|
|
649
|
+
pageSizePrev: string;
|
|
650
|
+
/** Indicate the units of the page size selection. */
|
|
651
|
+
pageSizeEntryName: string;
|
|
652
|
+
/** Used for the aria-label of the selection of number of unit.s */
|
|
653
|
+
pageSizeSelectorDescription: string;
|
|
654
|
+
/** Separator of current page and total pages. */
|
|
655
|
+
pagesSeparator: string;
|
|
656
|
+
/** Title of button `firstPage`. @deprecated Use `firstPage` instead. */
|
|
657
|
+
paginationFirstPageTitle: string;
|
|
658
|
+
/** Title of button `previousPage`. @deprecated Use `previousPage` instead. */
|
|
659
|
+
paginationPreviousPageTitle: string;
|
|
660
|
+
/** Title of button `nextPage`. @deprecated Use `nextPage` instead. */
|
|
661
|
+
paginationNextPageTitle: string;
|
|
662
|
+
/** Title of button `lastPage`. @deprecated Use `lastPage` instead. */
|
|
663
|
+
paginationLastPageTitle: string;
|
|
664
|
+
/** Aria-label passed to the page input. */
|
|
665
|
+
paginationInputLabel: string;
|
|
666
|
+
/** Label of the first page button */
|
|
667
|
+
firstPage: string;
|
|
668
|
+
/** Label of the previous page button */
|
|
669
|
+
previousPage: string;
|
|
670
|
+
/** Label of the next page button */
|
|
671
|
+
nextPage: string;
|
|
672
|
+
/** Label of the last page button */
|
|
673
|
+
lastPage: string;
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
declare const DEFAULT_LABELS_2: {
|
|
677
|
+
/** The label of the clear button. */
|
|
678
|
+
clearButtonLabel: string;
|
|
679
|
+
/** The label of the reveal password button. */
|
|
680
|
+
revealPasswordButtonLabel: string;
|
|
681
|
+
/** The tooltip of the reveal password button when the password is hidden. */
|
|
682
|
+
revealPasswordButtonClickToShowTooltip: string;
|
|
683
|
+
/** The tooltip of the reveal password button when the password is revealed. */
|
|
684
|
+
revealPasswordButtonClickToHideTooltip: string;
|
|
685
|
+
/** The label of the search button. */
|
|
686
|
+
searchButtonLabel: string;
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
declare const DEFAULT_LABELS_3: {
|
|
690
|
+
recommendedColorsLabel: string;
|
|
691
|
+
customColorsLabel: string;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
declare const DEFAULT_LABELS_4: {
|
|
695
|
+
/** Label for overwrite the default header behavior. */
|
|
696
|
+
select: string | undefined;
|
|
697
|
+
/** Label used for the All checkbox action. */
|
|
698
|
+
selectAll: string;
|
|
699
|
+
/** Cancel button label. */
|
|
700
|
+
cancelLabel: string;
|
|
701
|
+
/** Apply button label. */
|
|
702
|
+
applyLabel: string;
|
|
703
|
+
/** The label used in the middle of the multiSelection count. */
|
|
704
|
+
searchPlaceholder: string;
|
|
705
|
+
/** The label used in search. */
|
|
706
|
+
multiSelectionConjunction: string;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
declare const DEFAULT_LABELS_5: {
|
|
710
|
+
/** Apply button label. */
|
|
711
|
+
applyLabel: string;
|
|
712
|
+
/** Cancel button label. */
|
|
713
|
+
cancelLabel: string;
|
|
714
|
+
/** Clear button label. */
|
|
715
|
+
clearLabel: string;
|
|
716
|
+
/** Invalid Date label. */
|
|
717
|
+
invalidDateLabel: string;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
declare const DEFAULT_LABELS_6: {
|
|
721
|
+
/** Apply button label. */
|
|
722
|
+
applyLabel: string;
|
|
723
|
+
/** Cancel button label. */
|
|
724
|
+
cancelLabel: string;
|
|
725
|
+
/** Clear button label. */
|
|
726
|
+
clearLabel: string;
|
|
727
|
+
/** Placeholder label. */
|
|
728
|
+
placeholder: string;
|
|
729
|
+
/** SearchBox placeholder label. */
|
|
730
|
+
searchBoxPlaceholder: string;
|
|
731
|
+
/** Select All placeholder label. */
|
|
732
|
+
selectAll: string;
|
|
733
|
+
/** Multi selection conjunction placeholder label. */
|
|
734
|
+
multiSelectionConjunction: string;
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
declare const DEFAULT_LABELS_7: {
|
|
738
|
+
/** The text at the top of the kpi. */
|
|
739
|
+
title: string;
|
|
740
|
+
/** The text in the middle of the kpi. */
|
|
741
|
+
indicator: string | undefined;
|
|
742
|
+
/** The text to the right of the indicator. */
|
|
743
|
+
unit: string | undefined;
|
|
744
|
+
/** The text to the right of the visual comparison. */
|
|
745
|
+
comparisonIndicatorInfo: string | undefined;
|
|
746
|
+
};
|
|
747
|
+
|
|
647
748
|
declare type DefaultAttributes = (typeof defaultAttributes)[number];
|
|
648
749
|
|
|
649
750
|
declare const defaultAttributes: readonly ["boolean", "numeric", "dateandtime", "text", "textarea"];
|
|
@@ -2457,10 +2558,7 @@ export declare interface HvColorPickerProps {
|
|
|
2457
2558
|
/** If `true`, the labels are shown. If `false`, they are not shown. */
|
|
2458
2559
|
showLabels?: boolean;
|
|
2459
2560
|
/** An object containing all the labels. */
|
|
2460
|
-
labels?:
|
|
2461
|
-
recommendedColorsLabel?: string;
|
|
2462
|
-
customColorsLabel?: string;
|
|
2463
|
-
};
|
|
2561
|
+
labels?: Partial<typeof DEFAULT_LABELS_3>;
|
|
2464
2562
|
/** Icon type for the input's end adornment. */
|
|
2465
2563
|
dropdownIcon?: "arrow" | "colorPicker";
|
|
2466
2564
|
/** If `true`, the input only shows an icon. If `false`, the input shows text and icons. */
|
|
@@ -2667,24 +2765,7 @@ export declare interface HvDatePickerProps extends Omit<HvFormElementProps, "onC
|
|
|
2667
2765
|
/**
|
|
2668
2766
|
* An object containing all the labels for the datepicker.
|
|
2669
2767
|
*/
|
|
2670
|
-
labels?:
|
|
2671
|
-
/**
|
|
2672
|
-
* Apply button label.
|
|
2673
|
-
*/
|
|
2674
|
-
applyLabel?: string;
|
|
2675
|
-
/**
|
|
2676
|
-
* Cancel button label.
|
|
2677
|
-
*/
|
|
2678
|
-
cancelLabel?: string;
|
|
2679
|
-
/**
|
|
2680
|
-
* Clear button label.
|
|
2681
|
-
*/
|
|
2682
|
-
clearLabel?: string;
|
|
2683
|
-
/**
|
|
2684
|
-
* Invalid Date label.
|
|
2685
|
-
*/
|
|
2686
|
-
invalidDateLabel?: string;
|
|
2687
|
-
};
|
|
2768
|
+
labels?: Partial<typeof DEFAULT_LABELS_5>;
|
|
2688
2769
|
/**
|
|
2689
2770
|
* The initial value of the input when in single calendar mode.
|
|
2690
2771
|
*/
|
|
@@ -2944,32 +3025,10 @@ export declare interface HvDropdownColumnCellProp {
|
|
|
2944
3025
|
dropdownProps?: HvDropdownProps;
|
|
2945
3026
|
}
|
|
2946
3027
|
|
|
2947
|
-
export declare
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
select?: string;
|
|
2952
|
-
/**
|
|
2953
|
-
* Label used for the All checkbox action.
|
|
2954
|
-
*/
|
|
2955
|
-
selectAll?: string;
|
|
2956
|
-
/**
|
|
2957
|
-
* Cancel button label.
|
|
2958
|
-
*/
|
|
2959
|
-
cancelLabel?: string;
|
|
2960
|
-
/**
|
|
2961
|
-
* Apply button label.
|
|
2962
|
-
*/
|
|
2963
|
-
applyLabel?: string;
|
|
2964
|
-
/**
|
|
2965
|
-
* The label used in the middle of the multiSelection count.
|
|
2966
|
-
*/
|
|
2967
|
-
multiSelectionConjunction?: string;
|
|
2968
|
-
/**
|
|
2969
|
-
* The label used in search.
|
|
2970
|
-
*/
|
|
2971
|
-
searchPlaceholder?: string;
|
|
2972
|
-
}
|
|
3028
|
+
export declare type HvDropdownLabels = Partial<typeof DEFAULT_LABELS_4>;
|
|
3029
|
+
|
|
3030
|
+
/** @deprecated use `HvDropdownLabels` instead */
|
|
3031
|
+
export declare type HvDropdownLabelsProps = HvDropdownLabels;
|
|
2973
3032
|
|
|
2974
3033
|
declare type HvDropdownListClasses = ExtractNames<typeof useClasses_55>;
|
|
2975
3034
|
|
|
@@ -3014,7 +3073,7 @@ declare interface HvDropdownListProps {
|
|
|
3014
3073
|
/**
|
|
3015
3074
|
* An object containing all the labels for the dropdown.
|
|
3016
3075
|
*/
|
|
3017
|
-
labels?:
|
|
3076
|
+
labels?: HvDropdownLabels;
|
|
3018
3077
|
/**
|
|
3019
3078
|
* If 'true' the dropdown will notify on the first render.
|
|
3020
3079
|
*/
|
|
@@ -3171,7 +3230,7 @@ export declare interface HvDropdownProps extends HvBaseProps<HTMLDivElement, "on
|
|
|
3171
3230
|
/**
|
|
3172
3231
|
* An object containing all the labels for the dropdown.
|
|
3173
3232
|
*/
|
|
3174
|
-
labels?:
|
|
3233
|
+
labels?: HvDropdownLabels;
|
|
3175
3234
|
/**
|
|
3176
3235
|
* If `true` the dropdown will show tooltips when user mouseenter text in list
|
|
3177
3236
|
*/
|
|
@@ -3507,22 +3566,7 @@ export declare type HvFilterGroupFilters = {
|
|
|
3507
3566
|
|
|
3508
3567
|
export declare type HvFilterGroupHorizontalPlacement = "left" | "right";
|
|
3509
3568
|
|
|
3510
|
-
export declare
|
|
3511
|
-
/** Apply button label. */
|
|
3512
|
-
applyLabel?: string;
|
|
3513
|
-
/** Cancel button label. */
|
|
3514
|
-
cancelLabel?: string;
|
|
3515
|
-
/** Cancel button label. */
|
|
3516
|
-
clearLabel?: string;
|
|
3517
|
-
/** Placeholder label. */
|
|
3518
|
-
placeholder?: string;
|
|
3519
|
-
/** SearchBox placeholder label. */
|
|
3520
|
-
searchBoxPlaceholder?: string;
|
|
3521
|
-
/** Select All placeholder label. */
|
|
3522
|
-
selectAll?: string;
|
|
3523
|
-
/** Multi selection conjunction placeholder label. */
|
|
3524
|
-
multiSelectionConjunction?: string;
|
|
3525
|
-
}
|
|
3569
|
+
export declare type HvFilterGroupLabels = Partial<typeof DEFAULT_LABELS_6>;
|
|
3526
3570
|
|
|
3527
3571
|
export declare interface HvFilterGroupProps extends Omit<HvFormElementProps, "classes" | "onChange" | "defaultValue" | "statusMessage"> {
|
|
3528
3572
|
/** The initial value of the input when in single calendar mode. */
|
|
@@ -4069,18 +4113,7 @@ export declare const HvInput: React_2.ForwardRefExoticComponent<HvInputProps & R
|
|
|
4069
4113
|
|
|
4070
4114
|
export declare type HvInputClasses = ExtractNames<typeof useClasses_42>;
|
|
4071
4115
|
|
|
4072
|
-
export declare
|
|
4073
|
-
/** The label of the clear button. */
|
|
4074
|
-
clearButtonLabel?: string;
|
|
4075
|
-
/** The label of the reveal password button. */
|
|
4076
|
-
revealPasswordButtonLabel?: string;
|
|
4077
|
-
/** The tooltip of the reveal password button when the password is hidden. */
|
|
4078
|
-
revealPasswordButtonClickToShowTooltip?: string;
|
|
4079
|
-
/** The tooltip of the reveal password button when the password is revealed. */
|
|
4080
|
-
revealPasswordButtonClickToHideTooltip?: string;
|
|
4081
|
-
/** The label of the search button. */
|
|
4082
|
-
searchButtonLabel?: string;
|
|
4083
|
-
}
|
|
4116
|
+
export declare type HvInputLabels = Partial<typeof DEFAULT_LABELS_2>;
|
|
4084
4117
|
|
|
4085
4118
|
export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange" | "onBlur" | "onFocus" | "onKeyDown" | "color"> {
|
|
4086
4119
|
/** The form element name. */
|
|
@@ -4146,7 +4179,7 @@ export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange
|
|
|
4146
4179
|
/** The placeholder value of the input. */
|
|
4147
4180
|
placeholder?: string;
|
|
4148
4181
|
/** Internal labels?. */
|
|
4149
|
-
labels?: HvInputLabels &
|
|
4182
|
+
labels?: HvInputLabels & Record<string, any>;
|
|
4150
4183
|
/** An Object containing the various texts associated with the input. */
|
|
4151
4184
|
validationMessages?: HvValidationMessages;
|
|
4152
4185
|
/** Attributes applied to the input element. */
|
|
@@ -4228,24 +4261,7 @@ export declare const HvKpi: (props: HvKpiProps) => JSX_2.Element;
|
|
|
4228
4261
|
|
|
4229
4262
|
export declare type HvKpiClasses = ExtractNames<typeof useClasses_79>;
|
|
4230
4263
|
|
|
4231
|
-
export declare
|
|
4232
|
-
/**
|
|
4233
|
-
* The text at the top of the kpi.
|
|
4234
|
-
*/
|
|
4235
|
-
title?: string;
|
|
4236
|
-
/**
|
|
4237
|
-
* The text in the middle of the kpi.
|
|
4238
|
-
*/
|
|
4239
|
-
indicator?: string;
|
|
4240
|
-
/**
|
|
4241
|
-
* The text to the right of the indicator.
|
|
4242
|
-
*/
|
|
4243
|
-
unit?: string;
|
|
4244
|
-
/**
|
|
4245
|
-
* The text to the right of the visual comparison.
|
|
4246
|
-
*/
|
|
4247
|
-
comparisonIndicatorInfo?: string;
|
|
4248
|
-
}
|
|
4264
|
+
export declare type HvKpiLabelProps = Partial<typeof DEFAULT_LABELS_7>;
|
|
4249
4265
|
|
|
4250
4266
|
export declare interface HvKpiProps extends HvBaseProps<HTMLDivElement, "children"> {
|
|
4251
4267
|
/**
|
|
@@ -4593,34 +4609,7 @@ export declare const HvPagination: (props: HvPaginationProps) => JSX_2.Element;
|
|
|
4593
4609
|
|
|
4594
4610
|
export declare type HvPaginationClasses = ExtractNames<typeof useClasses_43>;
|
|
4595
4611
|
|
|
4596
|
-
export declare
|
|
4597
|
-
/** The show label. */
|
|
4598
|
-
pageSizePrev?: string;
|
|
4599
|
-
/** Indicate the units of the page size selection. */
|
|
4600
|
-
pageSizeEntryName?: string;
|
|
4601
|
-
/** Used for the aria-label of the selection of number of unit.s */
|
|
4602
|
-
pageSizeSelectorDescription?: string;
|
|
4603
|
-
/** Separator of current page and total pages. */
|
|
4604
|
-
pagesSeparator?: string;
|
|
4605
|
-
/** Title of button `firstPage`. @deprecated Use `firstPage` instead. */
|
|
4606
|
-
paginationFirstPageTitle?: string;
|
|
4607
|
-
/** Title of button `previousPage`. @deprecated Use `previousPage` instead. */
|
|
4608
|
-
paginationPreviousPageTitle?: string;
|
|
4609
|
-
/** Title of button `nextPage`. @deprecated Use `nextPage` instead. */
|
|
4610
|
-
paginationNextPageTitle?: string;
|
|
4611
|
-
/** Title of button `lastPage`. @deprecated Use `lastPage` instead. */
|
|
4612
|
-
paginationLastPageTitle?: string;
|
|
4613
|
-
/** Aria-label passed to the page input. */
|
|
4614
|
-
paginationInputLabel?: string;
|
|
4615
|
-
/** Label of the first page button */
|
|
4616
|
-
firstPage?: string;
|
|
4617
|
-
/** Label of the previous page button */
|
|
4618
|
-
previousPage?: string;
|
|
4619
|
-
/** Label of the next page button */
|
|
4620
|
-
nextPage?: string;
|
|
4621
|
-
/** Label of the last page button */
|
|
4622
|
-
lastPage?: string;
|
|
4623
|
-
}
|
|
4612
|
+
export declare type HvPaginationLabels = Partial<typeof DEFAULT_LABELS>;
|
|
4624
4613
|
|
|
4625
4614
|
export declare type HvPaginationPropGetter<D extends object> = PropGetter<D, HvTablePaginationProps>;
|
|
4626
4615
|
|
|
@@ -4662,7 +4651,7 @@ export declare interface HvPaginationProps extends HvBaseProps {
|
|
|
4662
4651
|
* It can be horizontal or vertical and its size is defined by its content and how it relates to surrounding patterns.
|
|
4663
4652
|
* Regardless of its content, a panel look and feel should be consistent.
|
|
4664
4653
|
*/
|
|
4665
|
-
export declare const HvPanel:
|
|
4654
|
+
export declare const HvPanel: ForwardRefExoticComponent<HvPanelProps & RefAttributes<HTMLDivElement>>;
|
|
4666
4655
|
|
|
4667
4656
|
export declare type HvPanelClasses = ExtractNames<typeof useClasses_87>;
|
|
4668
4657
|
|
|
@@ -5503,6 +5492,8 @@ export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>
|
|
|
5503
5492
|
onToggle?: (event: React.MouseEvent<HTMLButtonElement>, open: boolean) => void;
|
|
5504
5493
|
/** Props to be passed to the expand button */
|
|
5505
5494
|
expandButtonProps?: HvButtonProps;
|
|
5495
|
+
/** Determines whether or not the header has a shadow on the bottom border. */
|
|
5496
|
+
raisedHeader?: boolean;
|
|
5506
5497
|
/** A Jss Object used to override or extend the styles applied to the empty state component. */
|
|
5507
5498
|
classes?: HvSectionClasses;
|
|
5508
5499
|
}
|
|
@@ -6322,6 +6313,17 @@ export declare interface HvTableRowProps extends HvBaseProps<HTMLTableRowElement
|
|
|
6322
6313
|
classes?: HvTableRowClasses;
|
|
6323
6314
|
}
|
|
6324
6315
|
|
|
6316
|
+
/**
|
|
6317
|
+
* The `TableSection` component is a wrapper for the `Section` component that applies
|
|
6318
|
+
* specific stylings for tables that follow the latest DS specifications.
|
|
6319
|
+
*/
|
|
6320
|
+
export declare const HvTableSection: ForwardRefExoticComponent<HvTableSectionProps & RefAttributes<HTMLDivElement>>;
|
|
6321
|
+
|
|
6322
|
+
export declare type HvTableSectionClasses = ExtractNames<typeof useClasses_124>;
|
|
6323
|
+
|
|
6324
|
+
export declare interface HvTableSectionProps extends HvSectionProps {
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6325
6327
|
export declare interface HvTableState<D extends object = Record<string, unknown>> extends TableState<D>, Partial<UseColumnOrderState<D>>, Partial<UseExpandedState<D>>, Partial<UseFiltersState<D>>, Partial<UseGlobalFiltersState<D>>, Partial<UseGroupByState<D>>, Partial<UsePaginationState<D>>, Partial<UseResizeColumnsState<D>>, Partial<UseSortByState<D>>, Partial<UseRowStateState<D>>, Partial<UseHvRowSelectionState<D>> {
|
|
6326
6328
|
rowCount: number;
|
|
6327
6329
|
}
|
|
@@ -7804,6 +7806,8 @@ export declare const sectionClasses: {
|
|
|
7804
7806
|
root: "HvSection-root";
|
|
7805
7807
|
hidden: "HvSection-hidden";
|
|
7806
7808
|
actions: "HvSection-actions";
|
|
7809
|
+
spaceTop: "HvSection-spaceTop";
|
|
7810
|
+
raisedHeader: "HvSection-raisedHeader";
|
|
7807
7811
|
};
|
|
7808
7812
|
|
|
7809
7813
|
export declare const selectionListClasses: {
|
|
@@ -8012,6 +8016,16 @@ export declare const tableRowClasses: {
|
|
|
8012
8016
|
variantListHead: "HvTableRow-variantListHead";
|
|
8013
8017
|
};
|
|
8014
8018
|
|
|
8019
|
+
export declare const tableSectionClasses: {
|
|
8020
|
+
content: "HvTableSection-content";
|
|
8021
|
+
header: "HvTableSection-header";
|
|
8022
|
+
root: "HvTableSection-root";
|
|
8023
|
+
hidden: "HvTableSection-hidden";
|
|
8024
|
+
actions: "HvTableSection-actions";
|
|
8025
|
+
spaceTop: "HvTableSection-spaceTop";
|
|
8026
|
+
raisedHeader: "HvTableSection-raisedHeader";
|
|
8027
|
+
};
|
|
8028
|
+
|
|
8015
8029
|
export declare const tabsClasses: {
|
|
8016
8030
|
root: "HvTabs-root";
|
|
8017
8031
|
indicator: "HvTabs-indicator";
|
|
@@ -8697,6 +8711,23 @@ declare const useClasses_123: (classesProp?: Partial<Record<"content" | "label"
|
|
|
8697
8711
|
cx: (...args: any) => string;
|
|
8698
8712
|
};
|
|
8699
8713
|
|
|
8714
|
+
declare const useClasses_124: (classesProp?: Partial<Record<"content" | "header" | "root" | "hidden" | "actions" | "spaceTop" | "raisedHeader", string>>, addStatic?: boolean) => {
|
|
8715
|
+
classes: {
|
|
8716
|
+
content: string;
|
|
8717
|
+
header: string;
|
|
8718
|
+
root: string;
|
|
8719
|
+
hidden: string;
|
|
8720
|
+
actions: string;
|
|
8721
|
+
spaceTop: string;
|
|
8722
|
+
raisedHeader: string;
|
|
8723
|
+
};
|
|
8724
|
+
css: {
|
|
8725
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
8726
|
+
(...args: CSSInterpolation[]): string;
|
|
8727
|
+
};
|
|
8728
|
+
cx: (...args: any) => string;
|
|
8729
|
+
};
|
|
8730
|
+
|
|
8700
8731
|
declare const useClasses_13: (classesProp?: Partial<Record<"root" | "disabled" | "readOnly" | "inputBorderContainer" | "inputRootReadOnly" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "inputReadOnly" | "invalid" | "resizable" | "inputRootInvalid" | "inputRootDisabled" | "inputDisabled" | "inputResizable", string>>, addStatic?: boolean) => {
|
|
8701
8732
|
classes: {
|
|
8702
8733
|
root: string;
|
|
@@ -10301,13 +10332,15 @@ declare const useClasses_94: (classesProp?: Partial<Record<"root" | "selected" |
|
|
|
10301
10332
|
cx: (...args: any) => string;
|
|
10302
10333
|
};
|
|
10303
10334
|
|
|
10304
|
-
declare const useClasses_95: (classesProp?: Partial<Record<"content" | "header" | "root" | "hidden" | "actions", string>>, addStatic?: boolean) => {
|
|
10335
|
+
declare const useClasses_95: (classesProp?: Partial<Record<"content" | "header" | "root" | "hidden" | "actions" | "spaceTop" | "raisedHeader", string>>, addStatic?: boolean) => {
|
|
10305
10336
|
classes: {
|
|
10306
10337
|
content: string;
|
|
10307
10338
|
header: string;
|
|
10308
10339
|
root: string;
|
|
10309
10340
|
hidden: string;
|
|
10310
10341
|
actions: string;
|
|
10342
|
+
spaceTop: string;
|
|
10343
|
+
raisedHeader: string;
|
|
10311
10344
|
};
|
|
10312
10345
|
css: {
|
|
10313
10346
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -10703,7 +10736,7 @@ export declare function useInstance(instance: any): void;
|
|
|
10703
10736
|
|
|
10704
10737
|
export declare const useIsMounted: () => React_2.MutableRefObject<boolean>;
|
|
10705
10738
|
|
|
10706
|
-
export declare function useLabels<T>(defaultLabels:
|
|
10739
|
+
export declare function useLabels<T>(defaultLabels: T, labels?: Partial<T>): T;
|
|
10707
10740
|
|
|
10708
10741
|
export declare type UsePaginationProps = (<D extends object = Record<string, unknown>>(hooks: Hooks<D>) => void) & {
|
|
10709
10742
|
pluginName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.47.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"access": "public",
|
|
64
64
|
"directory": "package"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "796a901e589700060cddec2035f4c8db50748f84",
|
|
67
67
|
"main": "dist/cjs/index.cjs",
|
|
68
68
|
"exports": {
|
|
69
69
|
".": {
|