@hitachivantara/uikit-react-core 5.72.0 → 5.73.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.
Files changed (41) hide show
  1. package/dist/cjs/Button/Button.cjs +1 -0
  2. package/dist/cjs/Header/Actions/Actions.cjs +4 -3
  3. package/dist/cjs/Header/Brand/Brand.cjs +4 -3
  4. package/dist/cjs/Header/Navigation/MenuItem/MenuItem.cjs +13 -28
  5. package/dist/cjs/Header/Navigation/MenuItem/MenuItem.styles.cjs +11 -43
  6. package/dist/cjs/Header/Navigation/Navigation.cjs +4 -3
  7. package/dist/cjs/Pagination/Pagination.cjs +7 -7
  8. package/dist/cjs/SimpleGrid/SimpleGrid.cjs +2 -2
  9. package/dist/cjs/SimpleGrid/SimpleGrid.styles.cjs +17 -22
  10. package/dist/cjs/TableSection/TableSection.styles.cjs +1 -1
  11. package/dist/cjs/TimeAgo/TimeAgo.cjs +1 -2
  12. package/dist/cjs/TimeAgo/formatUtils.cjs +65 -98
  13. package/dist/cjs/TimeAgo/useTimeAgo.cjs +7 -5
  14. package/dist/esm/Button/Button.js +1 -0
  15. package/dist/esm/Button/Button.js.map +1 -1
  16. package/dist/esm/Header/Actions/Actions.js +4 -3
  17. package/dist/esm/Header/Actions/Actions.js.map +1 -1
  18. package/dist/esm/Header/Brand/Brand.js +4 -3
  19. package/dist/esm/Header/Brand/Brand.js.map +1 -1
  20. package/dist/esm/Header/Navigation/MenuItem/MenuItem.js +13 -28
  21. package/dist/esm/Header/Navigation/MenuItem/MenuItem.js.map +1 -1
  22. package/dist/esm/Header/Navigation/MenuItem/MenuItem.styles.js +11 -43
  23. package/dist/esm/Header/Navigation/MenuItem/MenuItem.styles.js.map +1 -1
  24. package/dist/esm/Header/Navigation/Navigation.js +4 -3
  25. package/dist/esm/Header/Navigation/Navigation.js.map +1 -1
  26. package/dist/esm/Pagination/Pagination.js +7 -5
  27. package/dist/esm/Pagination/Pagination.js.map +1 -1
  28. package/dist/esm/SimpleGrid/SimpleGrid.js +2 -2
  29. package/dist/esm/SimpleGrid/SimpleGrid.js.map +1 -1
  30. package/dist/esm/SimpleGrid/SimpleGrid.styles.js +17 -22
  31. package/dist/esm/SimpleGrid/SimpleGrid.styles.js.map +1 -1
  32. package/dist/esm/TableSection/TableSection.styles.js +1 -1
  33. package/dist/esm/TimeAgo/TimeAgo.js +1 -2
  34. package/dist/esm/TimeAgo/TimeAgo.js.map +1 -1
  35. package/dist/esm/TimeAgo/formatUtils.js +66 -91
  36. package/dist/esm/TimeAgo/formatUtils.js.map +1 -1
  37. package/dist/esm/TimeAgo/useTimeAgo.js +7 -5
  38. package/dist/esm/TimeAgo/useTimeAgo.js.map +1 -1
  39. package/dist/esm/TreeView/TreeItem/useHvTreeItem.js.map +1 -1
  40. package/dist/types/index.d.ts +75 -81
  41. package/package.json +6 -6
@@ -303,9 +303,9 @@ export declare const bannerContentClasses: {
303
303
  root: "HvBannerContent-root";
304
304
  action: "HvBannerContent-action";
305
305
  default: "HvBannerContent-default";
306
+ success: "HvBannerContent-success";
306
307
  error: "HvBannerContent-error";
307
308
  message: "HvBannerContent-message";
308
- success: "HvBannerContent-success";
309
309
  baseVariant: "HvBannerContent-baseVariant";
310
310
  outContainer: "HvBannerContent-outContainer";
311
311
  };
@@ -406,7 +406,7 @@ export declare interface Breakpoint {
406
406
  cols?: number;
407
407
  maxWidth?: number;
408
408
  minWidth?: number;
409
- spacing?: Spacing;
409
+ spacing?: HvBreakpoints;
410
410
  }
411
411
 
412
412
  export declare const buildAriaPropsFromContext: (props: InputBaseComponentProps, context: HvFormElementDescriptorsContextValue, isInvalid: boolean, inputId?: string) => default_2.AriaAttributes;
@@ -440,11 +440,11 @@ export declare const buttonClasses: {
440
440
  ghost: "HvButton-ghost";
441
441
  secondaryGhost: "HvButton-secondaryGhost";
442
442
  primaryGhost: "HvButton-primaryGhost";
443
+ primarySubtle: "HvButton-primarySubtle";
443
444
  subtle: "HvButton-subtle";
444
445
  focusVisible: "HvButton-focusVisible";
445
446
  startIcon: "HvButton-startIcon";
446
447
  endIcon: "HvButton-endIcon";
447
- primarySubtle: "HvButton-primarySubtle";
448
448
  };
449
449
 
450
450
  export declare const buttonRadius: readonly ["none", "base", "round", "circle", "full"];
@@ -558,8 +558,8 @@ export declare const checkBoxGroupClasses: {
558
558
  horizontal: "HvCheckBoxGroup-horizontal";
559
559
  label: "HvCheckBoxGroup-label";
560
560
  root: "HvCheckBoxGroup-root";
561
- group: "HvCheckBoxGroup-group";
562
561
  error: "HvCheckBoxGroup-error";
562
+ group: "HvCheckBoxGroup-group";
563
563
  invalid: "HvCheckBoxGroup-invalid";
564
564
  selectAll: "HvCheckBoxGroup-selectAll";
565
565
  };
@@ -615,9 +615,9 @@ export declare const datePickerClasses: {
615
615
  icon: "HvDatePicker-icon";
616
616
  inputText: "HvDatePicker-inputText";
617
617
  action: "HvDatePicker-action";
618
+ error: "HvDatePicker-error";
618
619
  dropdown: "HvDatePicker-dropdown";
619
620
  description: "HvDatePicker-description";
620
- error: "HvDatePicker-error";
621
621
  labelContainer: "HvDatePicker-labelContainer";
622
622
  actionContainer: "HvDatePicker-actionContainer";
623
623
  dropdownHeaderInvalid: "HvDatePicker-dropdownHeaderInvalid";
@@ -793,8 +793,8 @@ export declare const dialogClasses: {
793
793
  background: "HvDialog-background";
794
794
  root: "HvDialog-root";
795
795
  paper: "HvDialog-paper";
796
- error: "HvDialog-error";
797
796
  success: "HvDialog-success";
797
+ error: "HvDialog-error";
798
798
  fullscreen: "HvDialog-fullscreen";
799
799
  closeButton: "HvDialog-closeButton";
800
800
  statusBar: "HvDialog-statusBar";
@@ -843,9 +843,9 @@ export declare const dropdownClasses: {
843
843
  disabled: "HvDropdown-disabled";
844
844
  readOnly: "HvDropdown-readOnly";
845
845
  placeholderClosed: "HvDropdown-placeholderClosed";
846
+ error: "HvDropdown-error";
846
847
  dropdown: "HvDropdown-dropdown";
847
848
  description: "HvDropdown-description";
848
- error: "HvDropdown-error";
849
849
  arrow: "HvDropdown-arrow";
850
850
  labelContainer: "HvDropdown-labelContainer";
851
851
  selectionDisabled: "HvDropdown-selectionDisabled";
@@ -906,8 +906,8 @@ export declare const fileUploaderPreviewClasses: {
906
906
  export declare const filterGroupClasses: {
907
907
  label: "HvFilterGroup-label";
908
908
  root: "HvFilterGroup-root";
909
- description: "HvFilterGroup-description";
910
909
  error: "HvFilterGroup-error";
910
+ description: "HvFilterGroup-description";
911
911
  labelContainer: "HvFilterGroup-labelContainer";
912
912
  };
913
913
 
@@ -2034,11 +2034,11 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
2034
2034
  ghost: string;
2035
2035
  secondaryGhost: string;
2036
2036
  primaryGhost: string;
2037
+ primarySubtle: string;
2037
2038
  subtle: string;
2038
2039
  focusVisible: string;
2039
2040
  startIcon: string;
2040
2041
  endIcon: string;
2041
- primarySubtle: string;
2042
2042
  }> | undefined;
2043
2043
  /** Whether the button is selected or not. */
2044
2044
  selected?: boolean | undefined;
@@ -3953,7 +3953,7 @@ export declare type HvGridSpacing = "xs" | "sm" | "md" | "lg" | "xl" | "auto" |
3953
3953
  */
3954
3954
  export declare const HvHeader: (props: HvHeaderProps) => JSX_3.Element;
3955
3955
 
3956
- export declare const HvHeaderActions: (props: HvHeaderActionsProps) => JSX_3.Element;
3956
+ export declare const HvHeaderActions: ForwardRefExoticComponent<HvHeaderActionsProps & RefAttributes<HTMLDivElement>>;
3957
3957
 
3958
3958
  export declare type HvHeaderActionsClasses = ExtractNames<typeof useClasses_76>;
3959
3959
 
@@ -3964,7 +3964,7 @@ export declare interface HvHeaderActionsProps extends HvBaseProps {
3964
3964
  /**
3965
3965
  * Header component is used to render a header bar with logo and brand name, navigation and actions.
3966
3966
  */
3967
- export declare const HvHeaderBrand: (props: HvHeaderBrandProps) => JSX_3.Element;
3967
+ export declare const HvHeaderBrand: ForwardRefExoticComponent<HvHeaderBrandProps & RefAttributes<HTMLDivElement>>;
3968
3968
 
3969
3969
  export declare type HvHeaderBrandClasses = ExtractNames<typeof useClasses_77>;
3970
3970
 
@@ -4006,7 +4006,7 @@ declare interface HvHeaderMenuItemProps extends HvBaseProps<HTMLDivElement, "onC
4006
4006
  classes?: HvHeaderMenuItemClasses;
4007
4007
  }
4008
4008
 
4009
- export declare const HvHeaderNavigation: (props: HvHeaderNavigationProps) => JSX_3.Element;
4009
+ export declare const HvHeaderNavigation: ForwardRefExoticComponent<HvHeaderNavigationProps & RefAttributes<HTMLElement>>;
4010
4010
 
4011
4011
  export declare type HvHeaderNavigationClasses = ExtractNames<typeof useClasses_80>;
4012
4012
 
@@ -5704,23 +5704,16 @@ export declare type HvSimpleGridClasses = ExtractNames<typeof useClasses_100>;
5704
5704
 
5705
5705
  /** Grid component that enables you to create columns of equal width and define your own breakpoints and responsive behavior. */
5706
5706
  export declare interface HvSimpleGridProps extends HvBaseProps {
5707
- /**
5708
- * Spacing with pre-defined values according the values defined in the theme
5709
- */
5710
- spacing?: Spacing;
5707
+ /** Spacing with pre-defined values according the values defined in the theme */
5708
+ spacing?: HvBreakpoints;
5711
5709
  /**
5712
5710
  * Provide an array to define responsive behavior:
5713
- *
5714
- * maxWidth or minWidth: max-width or min-width at which media query will work
5715
- *
5716
- * cols: number of columns per row at given max-width
5717
- *
5718
- * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead
5711
+ * - `maxWidth` or `minWidth`: max-width or min-width at which media query will work
5712
+ * - `cols`: number of columns per row at given max-width
5713
+ * - `spacing`: optional spacing at given max-width, if not provided spacing from component prop will be used instead
5719
5714
  */
5720
5715
  breakpoints?: Breakpoint[];
5721
- /**
5722
- * Number of how many columns the content will be displayed
5723
- */
5716
+ /** Number of how many columns the content will be displayed */
5724
5717
  cols?: number;
5725
5718
  /** A Jss Object used to override or extend the styles applied to the component. */
5726
5719
  classes?: HvSimpleGridClasses;
@@ -6761,10 +6754,10 @@ export declare const HvTimeAgo: <C extends ElementType<any, keyof JSX_2.Intrinsi
6761
6754
  */
6762
6755
  timestamp?: number | undefined;
6763
6756
  /**
6764
- * The locale to be used. Should be on of the dayjs supported locales and explicitly imported
6765
- * @see https://day.js.org/docs/en/i18n/i18n
6757
+ * The locale to be used. Should be on of the JS supported locales
6758
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
6766
6759
  */
6767
- locale?: string | undefined;
6760
+ locale?: Intl.LocalesArgument;
6768
6761
  /**
6769
6762
  * The element to render when the timestamp is null or 0
6770
6763
  * Defaults to `—` (Em Dash)
@@ -6800,10 +6793,10 @@ export declare type HvTimeAgoProps<C extends React.ElementType = "p"> = Polymorp
6800
6793
  */
6801
6794
  timestamp?: number;
6802
6795
  /**
6803
- * The locale to be used. Should be on of the dayjs supported locales and explicitly imported
6804
- * @see https://day.js.org/docs/en/i18n/i18n
6796
+ * The locale to be used. Should be on of the JS supported locales
6797
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
6805
6798
  */
6806
- locale?: string;
6799
+ locale?: Intl.LocalesArgument;
6807
6800
  /**
6808
6801
  * The element to render when the timestamp is null or 0
6809
6802
  * Defaults to `—` (Em Dash)
@@ -7495,8 +7488,8 @@ export declare const inputClasses: {
7495
7488
  inputRootMultiline: "HvInput-inputRootMultiline";
7496
7489
  input: "HvInput-input";
7497
7490
  icon: "HvInput-icon";
7498
- description: "HvInput-description";
7499
7491
  error: "HvInput-error";
7492
+ description: "HvInput-description";
7500
7493
  labelContainer: "HvInput-labelContainer";
7501
7494
  adornmentButton: "HvInput-adornmentButton";
7502
7495
  inputRootDisabled: "HvInput-inputRootDisabled";
@@ -7638,13 +7631,13 @@ export declare const multiButtonClasses: {
7638
7631
  splitDisabled: "HvMultiButton-splitDisabled";
7639
7632
  multiple: "HvMultiButton-multiple";
7640
7633
  primaryGhost: "HvMultiButton-primaryGhost";
7634
+ primarySubtle: "HvMultiButton-primarySubtle";
7641
7635
  splitGroup: "HvMultiButton-splitGroup";
7642
7636
  splitGroupDisabled: "HvMultiButton-splitGroupDisabled";
7643
7637
  splitContainer: "HvMultiButton-splitContainer";
7644
7638
  split: "HvMultiButton-split";
7645
7639
  firstButton: "HvMultiButton-firstButton";
7646
7640
  lastButton: "HvMultiButton-lastButton";
7647
- primarySubtle: "HvMultiButton-primarySubtle";
7648
7641
  };
7649
7642
 
7650
7643
  export declare const multiSelectionEventHandler: (evt: any, index: number, selectionAnchor: any, allValues: any[], selectedState: boolean[], selectionCheck: any) => any[];
@@ -7830,8 +7823,8 @@ export declare const radioGroupClasses: {
7830
7823
  horizontal: "HvRadioGroup-horizontal";
7831
7824
  label: "HvRadioGroup-label";
7832
7825
  root: "HvRadioGroup-root";
7833
- group: "HvRadioGroup-group";
7834
7826
  error: "HvRadioGroup-error";
7827
+ group: "HvRadioGroup-group";
7835
7828
  invalid: "HvRadioGroup-invalid";
7836
7829
  };
7837
7830
 
@@ -7883,8 +7876,8 @@ export declare const selectClasses: {
7883
7876
  readOnly: "HvSelect-readOnly";
7884
7877
  select: "HvSelect-select";
7885
7878
  popper: "HvSelect-popper";
7886
- description: "HvSelect-description";
7887
7879
  error: "HvSelect-error";
7880
+ description: "HvSelect-description";
7888
7881
  labelContainer: "HvSelect-labelContainer";
7889
7882
  invalid: "HvSelect-invalid";
7890
7883
  panelOpenedUp: "HvSelect-panelOpenedUp";
@@ -7897,8 +7890,8 @@ export declare const selectionListClasses: {
7897
7890
  label: "HvSelectionList-label";
7898
7891
  root: "HvSelectionList-root";
7899
7892
  listbox: "HvSelectionList-listbox";
7900
- description: "HvSelectionList-description";
7901
7893
  error: "HvSelectionList-error";
7894
+ description: "HvSelectionList-description";
7902
7895
  invalid: "HvSelectionList-invalid";
7903
7896
  };
7904
7897
 
@@ -7962,9 +7955,9 @@ export declare const snackbarContentClasses: {
7962
7955
  root: "HvSnackbar-Content-root";
7963
7956
  action: "HvSnackbar-Content-action";
7964
7957
  default: "HvSnackbar-Content-default";
7958
+ success: "HvSnackbar-Content-success";
7965
7959
  error: "HvSnackbar-Content-error";
7966
7960
  message: "HvSnackbar-Content-message";
7967
- success: "HvSnackbar-Content-success";
7968
7961
  messageSpan: "HvSnackbar-Content-messageSpan";
7969
7962
  messageText: "HvSnackbar-Content-messageText";
7970
7963
  iconVariant: "HvSnackbar-Content-iconVariant";
@@ -7974,7 +7967,7 @@ export declare const snackbarProviderClasses: {
7974
7967
  snackItemRoot: "HvSnackbarProvider-snackItemRoot";
7975
7968
  };
7976
7969
 
7977
- export declare type Spacing = "sm" | "md" | "lg" | "xl";
7970
+ export declare type Spacing = HvBreakpoints;
7978
7971
 
7979
7972
  export declare const stackClasses: {
7980
7973
  xs: "HvStack-xs";
@@ -8147,8 +8140,8 @@ export declare const tagsInputClasses: {
8147
8140
  readOnly: "HvTagsInput-readOnly";
8148
8141
  input: "HvTagsInput-input";
8149
8142
  tagsList: "HvTagsInput-tagsList";
8150
- description: "HvTagsInput-description";
8151
8143
  error: "HvTagsInput-error";
8144
+ description: "HvTagsInput-description";
8152
8145
  labelContainer: "HvTagsInput-labelContainer";
8153
8146
  invalid: "HvTagsInput-invalid";
8154
8147
  resizable: "HvTagsInput-resizable";
@@ -8173,8 +8166,8 @@ export declare const textAreaClasses: {
8173
8166
  root: "HvTextArea-root";
8174
8167
  disabled: "HvTextArea-disabled";
8175
8168
  input: "HvTextArea-input";
8176
- description: "HvTextArea-description";
8177
8169
  error: "HvTextArea-error";
8170
+ description: "HvTextArea-description";
8178
8171
  labelContainer: "HvTextArea-labelContainer";
8179
8172
  invalid: "HvTextArea-invalid";
8180
8173
  resizable: "HvTextArea-resizable";
@@ -8198,8 +8191,8 @@ export declare const timePickerClasses: {
8198
8191
  root: "HvTimePicker-root";
8199
8192
  placeholder: "HvTimePicker-placeholder";
8200
8193
  icon: "HvTimePicker-icon";
8201
- description: "HvTimePicker-description";
8202
8194
  error: "HvTimePicker-error";
8195
+ description: "HvTimePicker-description";
8203
8196
  labelContainer: "HvTimePicker-labelContainer";
8204
8197
  dropdownHeader: "HvTimePicker-dropdownHeader";
8205
8198
  dropdownHeaderInvalid: "HvTimePicker-dropdownHeaderInvalid";
@@ -8430,15 +8423,15 @@ declare const useClasses_102: (classesProp?: Partial<Record<"root" | "anchorOrig
8430
8423
  cx: (...args: any) => string;
8431
8424
  };
8432
8425
 
8433
- declare const useClasses_103: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "error" | "message" | "success" | "messageSpan" | "messageText" | "iconVariant", string>>, addStatic?: boolean) => {
8426
+ declare const useClasses_103: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "success" | "error" | "message" | "messageSpan" | "messageText" | "iconVariant", string>>, addStatic?: boolean) => {
8434
8427
  classes: {
8435
8428
  warning: string;
8436
8429
  root: string;
8437
8430
  action: string;
8438
8431
  default: string;
8432
+ success: string;
8439
8433
  error: string;
8440
8434
  message: string;
8441
- success: string;
8442
8435
  messageSpan: string;
8443
8436
  messageText: string;
8444
8437
  iconVariant: string;
@@ -8510,7 +8503,7 @@ declare const useClasses_109: (classesProp?: Partial<Record<"root", string>>, ad
8510
8503
  cx: (...args: any) => string;
8511
8504
  };
8512
8505
 
8513
- declare const useClasses_11: (classesProp?: Partial<Record<"label" | "root" | "panel" | "disabled" | "readOnly" | "select" | "popper" | "description" | "error" | "labelContainer" | "invalid" | "panelOpenedUp" | "panelOpenedDown", string>>, addStatic?: boolean) => {
8506
+ declare const useClasses_11: (classesProp?: Partial<Record<"label" | "root" | "panel" | "disabled" | "readOnly" | "select" | "popper" | "error" | "description" | "labelContainer" | "invalid" | "panelOpenedUp" | "panelOpenedDown", string>>, addStatic?: boolean) => {
8514
8507
  classes: {
8515
8508
  label: string;
8516
8509
  root: string;
@@ -8519,8 +8512,8 @@ declare const useClasses_11: (classesProp?: Partial<Record<"label" | "root" | "p
8519
8512
  readOnly: string;
8520
8513
  select: string;
8521
8514
  popper: string;
8522
- description: string;
8523
8515
  error: string;
8516
+ description: string;
8524
8517
  labelContainer: string;
8525
8518
  invalid: string;
8526
8519
  panelOpenedUp: string;
@@ -8570,7 +8563,7 @@ declare const useClasses_112: (classesProp?: Partial<Record<"root" | "flexContai
8570
8563
  cx: (...args: any) => string;
8571
8564
  };
8572
8565
 
8573
- declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "readOnly" | "input" | "tagsList" | "description" | "error" | "labelContainer" | "invalid" | "resizable" | "suggestionsContainer" | "suggestionList" | "inputExtension" | "chipRoot" | "listItemGutters" | "listItemRoot" | "characterCounter" | "tagInputContainerRoot" | "tagInputRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty" | "singleLine", string>>, addStatic?: boolean) => {
8566
+ declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "readOnly" | "input" | "tagsList" | "error" | "description" | "labelContainer" | "invalid" | "resizable" | "suggestionsContainer" | "suggestionList" | "inputExtension" | "chipRoot" | "listItemGutters" | "listItemRoot" | "characterCounter" | "tagInputContainerRoot" | "tagInputRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty" | "singleLine", string>>, addStatic?: boolean) => {
8574
8567
  classes: {
8575
8568
  label: string;
8576
8569
  root: string;
@@ -8578,8 +8571,8 @@ declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "
8578
8571
  readOnly: string;
8579
8572
  input: string;
8580
8573
  tagsList: string;
8581
- description: string;
8582
8574
  error: string;
8575
+ description: string;
8583
8576
  labelContainer: string;
8584
8577
  invalid: string;
8585
8578
  resizable: string;
@@ -8602,14 +8595,14 @@ declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "
8602
8595
  cx: (...args: any) => string;
8603
8596
  };
8604
8597
 
8605
- declare const useClasses_114: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "input" | "description" | "error" | "labelContainer" | "invalid" | "resizable" | "inputResizable" | "characterCounter" | "baseInput", string>>, addStatic?: boolean) => {
8598
+ declare const useClasses_114: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "input" | "error" | "description" | "labelContainer" | "invalid" | "resizable" | "inputResizable" | "characterCounter" | "baseInput", string>>, addStatic?: boolean) => {
8606
8599
  classes: {
8607
8600
  label: string;
8608
8601
  root: string;
8609
8602
  disabled: string;
8610
8603
  input: string;
8611
- description: string;
8612
8604
  error: string;
8605
+ description: string;
8613
8606
  labelContainer: string;
8614
8607
  invalid: string;
8615
8608
  resizable: string;
@@ -8629,14 +8622,14 @@ declare const useClasses_115: (classesProp?: Partial<Record<"root", string>>, ad
8629
8622
  cx: (...args: any) => string;
8630
8623
  };
8631
8624
 
8632
- declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "icon" | "description" | "error" | "labelContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "placeholderDisabled" | "dropdownPanel" | "timePopperContainer", string>>, addStatic?: boolean) => {
8625
+ declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "icon" | "error" | "description" | "labelContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "placeholderDisabled" | "dropdownPanel" | "timePopperContainer", string>>, addStatic?: boolean) => {
8633
8626
  classes: {
8634
8627
  label: string;
8635
8628
  root: string;
8636
8629
  placeholder: string;
8637
8630
  icon: string;
8638
- description: string;
8639
8631
  error: string;
8632
+ description: string;
8640
8633
  labelContainer: string;
8641
8634
  dropdownHeader: string;
8642
8635
  dropdownHeaderInvalid: string;
@@ -8687,7 +8680,7 @@ declare const useClasses_119: (classesProp?: Partial<Record<"label" | "root" | "
8687
8680
  cx: (...args: any) => string;
8688
8681
  };
8689
8682
 
8690
- declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "primaryGhost" | "subtle" | "focusVisible" | "startIcon" | "endIcon" | "primarySubtle", string>>, addStatic?: boolean) => {
8683
+ declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "subtle" | "focusVisible" | "startIcon" | "endIcon", string>>, addStatic?: boolean) => {
8691
8684
  classes: {
8692
8685
  secondary: string;
8693
8686
  primary: string;
@@ -8699,11 +8692,11 @@ declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primar
8699
8692
  ghost: string;
8700
8693
  secondaryGhost: string;
8701
8694
  primaryGhost: string;
8695
+ primarySubtle: string;
8702
8696
  subtle: string;
8703
8697
  focusVisible: string;
8704
8698
  startIcon: string;
8705
8699
  endIcon: string;
8706
- primarySubtle: string;
8707
8700
  };
8708
8701
  css: any;
8709
8702
  cx: (...args: any) => string;
@@ -8856,15 +8849,15 @@ declare const useClasses_14: (classesProp?: Partial<Record<"root", string>>, add
8856
8849
  cx: (...args: any) => string;
8857
8850
  };
8858
8851
 
8859
- declare const useClasses_15: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "listbox" | "description" | "error" | "invalid", string>>, addStatic?: boolean) => {
8852
+ declare const useClasses_15: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "listbox" | "error" | "description" | "invalid", string>>, addStatic?: boolean) => {
8860
8853
  classes: {
8861
8854
  vertical: string;
8862
8855
  horizontal: string;
8863
8856
  label: string;
8864
8857
  root: string;
8865
8858
  listbox: string;
8866
- description: string;
8867
8859
  error: string;
8860
+ description: string;
8868
8861
  invalid: string;
8869
8862
  };
8870
8863
  css: any;
@@ -9114,15 +9107,15 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addS
9114
9107
  cx: (...args: any) => string;
9115
9108
  };
9116
9109
 
9117
- declare const useClasses_30: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "error" | "message" | "success" | "baseVariant" | "outContainer", string>>, addStatic?: boolean) => {
9110
+ declare const useClasses_30: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "success" | "error" | "message" | "baseVariant" | "outContainer", string>>, addStatic?: boolean) => {
9118
9111
  classes: {
9119
9112
  warning: string;
9120
9113
  root: string;
9121
9114
  action: string;
9122
9115
  default: string;
9116
+ success: string;
9123
9117
  error: string;
9124
9118
  message: string;
9125
- success: string;
9126
9119
  baseVariant: string;
9127
9120
  outContainer: string;
9128
9121
  };
@@ -9347,7 +9340,7 @@ declare const useClasses_44: (classesProp?: Partial<Record<"image" | "slide", st
9347
9340
  cx: (...args: any) => string;
9348
9341
  };
9349
9342
 
9350
- declare const useClasses_45: (classesProp?: Partial<Record<"label" | "root" | "inputBorderContainer" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "icon" | "description" | "error" | "labelContainer" | "adornmentButton" | "inputRootDisabled" | "adornmentsBox" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputExtension", string>>, addStatic?: boolean) => {
9343
+ declare const useClasses_45: (classesProp?: Partial<Record<"label" | "root" | "inputBorderContainer" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "icon" | "error" | "description" | "labelContainer" | "adornmentButton" | "inputRootDisabled" | "adornmentsBox" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputExtension", string>>, addStatic?: boolean) => {
9351
9344
  classes: {
9352
9345
  label: string;
9353
9346
  root: string;
@@ -9357,8 +9350,8 @@ declare const useClasses_45: (classesProp?: Partial<Record<"label" | "root" | "i
9357
9350
  inputRootMultiline: string;
9358
9351
  input: string;
9359
9352
  icon: string;
9360
- description: string;
9361
9353
  error: string;
9354
+ description: string;
9362
9355
  labelContainer: string;
9363
9356
  adornmentButton: string;
9364
9357
  inputRootDisabled: string;
@@ -9395,14 +9388,14 @@ declare const useClasses_46: (classesProp?: Partial<Record<"root" | "icon" | "pa
9395
9388
  cx: (...args: any) => string;
9396
9389
  };
9397
9390
 
9398
- declare const useClasses_47: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid" | "selectAll", string>>, addStatic?: boolean) => {
9391
+ declare const useClasses_47: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "error" | "group" | "invalid" | "selectAll", string>>, addStatic?: boolean) => {
9399
9392
  classes: {
9400
9393
  vertical: string;
9401
9394
  horizontal: string;
9402
9395
  label: string;
9403
9396
  root: string;
9404
- group: string;
9405
9397
  error: string;
9398
+ group: string;
9406
9399
  invalid: string;
9407
9400
  selectAll: string;
9408
9401
  };
@@ -9583,7 +9576,7 @@ declare const useClasses_56: (classesProp?: Partial<Record<"root" | "sortDropdow
9583
9576
  cx: (...args: any) => string;
9584
9577
  };
9585
9578
 
9586
- declare const useClasses_57: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "dropdown" | "description" | "error" | "arrow" | "labelContainer" | "selectionDisabled" | "rootList" | "dropdownListContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen", string>>, addStatic?: boolean) => {
9579
+ declare const useClasses_57: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "error" | "dropdown" | "description" | "arrow" | "labelContainer" | "selectionDisabled" | "rootList" | "dropdownListContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen", string>>, addStatic?: boolean) => {
9587
9580
  classes: {
9588
9581
  label: string;
9589
9582
  root: string;
@@ -9591,9 +9584,9 @@ declare const useClasses_57: (classesProp?: Partial<Record<"label" | "root" | "p
9591
9584
  disabled: string;
9592
9585
  readOnly: string;
9593
9586
  placeholderClosed: string;
9587
+ error: string;
9594
9588
  dropdown: string;
9595
9589
  description: string;
9596
- error: string;
9597
9590
  arrow: string;
9598
9591
  labelContainer: string;
9599
9592
  selectionDisabled: string;
@@ -9623,7 +9616,7 @@ declare const useClasses_58: (classesProp?: Partial<Record<"listContainer" | "se
9623
9616
  cx: (...args: any) => string;
9624
9617
  };
9625
9618
 
9626
- declare const useClasses_59: (classesProp?: Partial<Record<"label" | "root" | "panel" | "icon" | "inputText" | "action" | "dropdown" | "description" | "error" | "labelContainer" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "dateText", string>>, addStatic?: boolean) => {
9619
+ declare const useClasses_59: (classesProp?: Partial<Record<"label" | "root" | "panel" | "icon" | "inputText" | "action" | "error" | "dropdown" | "description" | "labelContainer" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "dateText", string>>, addStatic?: boolean) => {
9627
9620
  classes: {
9628
9621
  label: string;
9629
9622
  root: string;
@@ -9631,9 +9624,9 @@ declare const useClasses_59: (classesProp?: Partial<Record<"label" | "root" | "p
9631
9624
  icon: string;
9632
9625
  inputText: string;
9633
9626
  action: string;
9627
+ error: string;
9634
9628
  dropdown: string;
9635
9629
  description: string;
9636
- error: string;
9637
9630
  labelContainer: string;
9638
9631
  actionContainer: string;
9639
9632
  dropdownHeaderInvalid: string;
@@ -9691,14 +9684,14 @@ declare const useClasses_62: (classesProp?: Partial<Record<"root" | "spacing" |
9691
9684
  cx: (...args: any) => string;
9692
9685
  };
9693
9686
 
9694
- declare const useClasses_63: (classesProp?: Partial<Record<"warning" | "background" | "root" | "paper" | "error" | "success" | "fullscreen" | "closeButton" | "statusBar", string>>, addStatic?: boolean) => {
9687
+ declare const useClasses_63: (classesProp?: Partial<Record<"warning" | "background" | "root" | "paper" | "success" | "error" | "fullscreen" | "closeButton" | "statusBar", string>>, addStatic?: boolean) => {
9695
9688
  classes: {
9696
9689
  warning: string;
9697
9690
  background: string;
9698
9691
  root: string;
9699
9692
  paper: string;
9700
- error: string;
9701
9693
  success: string;
9694
+ error: string;
9702
9695
  fullscreen: string;
9703
9696
  closeButton: string;
9704
9697
  statusBar: string;
@@ -9719,14 +9712,14 @@ declare const useClasses_64: (classesProp?: Partial<Record<"horizontal" | "root"
9719
9712
  cx: (...args: any) => string;
9720
9713
  };
9721
9714
 
9722
- declare const useClasses_65: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid", string>>, addStatic?: boolean) => {
9715
+ declare const useClasses_65: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "error" | "group" | "invalid", string>>, addStatic?: boolean) => {
9723
9716
  classes: {
9724
9717
  vertical: string;
9725
9718
  horizontal: string;
9726
9719
  label: string;
9727
9720
  root: string;
9728
- group: string;
9729
9721
  error: string;
9722
+ group: string;
9730
9723
  invalid: string;
9731
9724
  };
9732
9725
  css: any;
@@ -9793,12 +9786,12 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root", string>>, addS
9793
9786
  cx: (...args: any) => string;
9794
9787
  };
9795
9788
 
9796
- declare const useClasses_70: (classesProp?: Partial<Record<"label" | "root" | "description" | "error" | "labelContainer", string>>, addStatic?: boolean) => {
9789
+ declare const useClasses_70: (classesProp?: Partial<Record<"label" | "root" | "error" | "description" | "labelContainer", string>>, addStatic?: boolean) => {
9797
9790
  classes: {
9798
9791
  label: string;
9799
9792
  root: string;
9800
- description: string;
9801
9793
  error: string;
9794
+ description: string;
9802
9795
  labelContainer: string;
9803
9796
  };
9804
9797
  css: any;
@@ -9923,27 +9916,28 @@ declare const useClasses_77: (classesProp?: Partial<Record<"root" | "separator"
9923
9916
  cx: (...args: any) => string;
9924
9917
  };
9925
9918
 
9926
- declare const useClasses_78: (classesProp?: Partial<Record<"root" | "active" | "list" | "menu" | "menubar" | "hidden", string>>, addStatic?: boolean) => {
9919
+ declare const useClasses_78: (classesProp?: Partial<Record<"root" | "active" | "list" | "hidden" | "menu" | "menubar", string>>, addStatic?: boolean) => {
9927
9920
  classes: {
9928
9921
  root: string;
9929
9922
  active: string;
9930
9923
  list: string;
9924
+ hidden: string;
9931
9925
  menu: string;
9932
9926
  menubar: string;
9933
- hidden: string;
9934
9927
  };
9935
9928
  css: any;
9936
9929
  cx: (...args: any) => string;
9937
9930
  };
9938
9931
 
9939
- declare const useClasses_79: (classesProp?: Partial<Record<"link" | "root" | "menu" | "menubar" | "selected" | "button", string>>, addStatic?: boolean) => {
9932
+ declare const useClasses_79: (classesProp?: Partial<Record<"link" | "root" | "selected" | "button" | "menu" | "menubar" | "item", string>>, addStatic?: boolean) => {
9940
9933
  classes: {
9941
9934
  link: string;
9942
9935
  root: string;
9943
- menu: string;
9944
- menubar: string;
9945
9936
  selected: string;
9946
9937
  button: string;
9938
+ menu: string;
9939
+ menubar: string;
9940
+ item: string;
9947
9941
  };
9948
9942
  css: any;
9949
9943
  cx: (...args: any) => string;
@@ -10062,7 +10056,7 @@ declare const useClasses_87: (classesProp?: Partial<Record<"root" | "formContain
10062
10056
  cx: (...args: any) => string;
10063
10057
  };
10064
10058
 
10065
- declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "splitDisabled" | "multiple" | "primaryGhost" | "splitGroup" | "splitGroupDisabled" | "splitContainer" | "split" | "firstButton" | "lastButton" | "primarySubtle", string>>, addStatic?: boolean) => {
10059
+ declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "splitDisabled" | "multiple" | "primaryGhost" | "primarySubtle" | "splitGroup" | "splitGroupDisabled" | "splitContainer" | "split" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
10066
10060
  classes: {
10067
10061
  secondary: string;
10068
10062
  primary: string;
@@ -10075,13 +10069,13 @@ declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primar
10075
10069
  splitDisabled: string;
10076
10070
  multiple: string;
10077
10071
  primaryGhost: string;
10072
+ primarySubtle: string;
10078
10073
  splitGroup: string;
10079
10074
  splitGroupDisabled: string;
10080
10075
  splitContainer: string;
10081
10076
  split: string;
10082
10077
  firstButton: string;
10083
10078
  lastButton: string;
10084
- primarySubtle: string;
10085
10079
  };
10086
10080
  css: any;
10087
10081
  cx: (...args: any) => string;
@@ -10544,9 +10538,9 @@ export declare function useHvTreeItem(nodeId: string): {
10544
10538
  expanded: boolean;
10545
10539
  selected: boolean;
10546
10540
  focused: boolean;
10547
- handleExpansion: (event: React_2.MouseEvent<HTMLDivElement>) => void;
10548
- handleSelection: (event: React_2.MouseEvent<HTMLDivElement>) => void;
10549
- preventSelection: (event: React_2.MouseEvent<HTMLDivElement>) => void;
10541
+ handleExpansion: (event: React_2.MouseEvent) => void;
10542
+ handleSelection: (event: React_2.MouseEvent) => void;
10543
+ preventSelection: (event: React_2.MouseEvent) => void;
10550
10544
  };
10551
10545
 
10552
10546
  export declare const useImageLoaded: (src?: string, srcSet?: string) => string | boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-core",
3
- "version": "5.72.0",
3
+ "version": "5.73.0",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Core React components for the NEXT Design System.",
@@ -32,10 +32,10 @@
32
32
  "dependencies": {
33
33
  "@emotion/cache": "^11.11.0",
34
34
  "@emotion/serialize": "^1.1.2",
35
- "@hitachivantara/uikit-react-icons": "^5.11.0",
36
- "@hitachivantara/uikit-react-shared": "^5.3.3",
37
- "@hitachivantara/uikit-react-utils": "^0.2.3",
38
- "@hitachivantara/uikit-styles": "^5.33.1",
35
+ "@hitachivantara/uikit-react-icons": "^5.12.0",
36
+ "@hitachivantara/uikit-react-shared": "^5.3.5",
37
+ "@hitachivantara/uikit-react-utils": "^0.2.5",
38
+ "@hitachivantara/uikit-styles": "^5.34.0",
39
39
  "@internationalized/date": "^3.2.0",
40
40
  "@mui/base": "^5.0.0-beta.40",
41
41
  "@popperjs/core": "^2.11.8",
@@ -62,7 +62,7 @@
62
62
  "access": "public",
63
63
  "directory": "package"
64
64
  },
65
- "gitHead": "203815fb64303db21ae2810cc2055f186f9cfe07",
65
+ "gitHead": "28985d0931d61161910d73f3eb2b1d312ec86a81",
66
66
  "exports": {
67
67
  ".": {
68
68
  "types": "./dist/types/index.d.ts",