@hitachivantara/uikit-react-core 5.77.0 → 5.79.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 (49) hide show
  1. package/dist/cjs/Button/Button.cjs +24 -31
  2. package/dist/cjs/Button/Button.styles.cjs +38 -59
  3. package/dist/cjs/Footer/Footer.cjs +1 -1
  4. package/dist/cjs/Loading/Loading.styles.cjs +4 -2
  5. package/dist/cjs/MultiButton/MultiButton.cjs +12 -39
  6. package/dist/cjs/MultiButton/MultiButton.styles.cjs +25 -56
  7. package/dist/cjs/Select/Select.styles.cjs +1 -0
  8. package/dist/cjs/Switch/Switch.cjs +14 -1
  9. package/dist/cjs/Table/TableCell/TableCell.styles.cjs +3 -0
  10. package/dist/cjs/Table/TableHeader/TableHeader.styles.cjs +3 -0
  11. package/dist/cjs/Table/TableRow/TableRow.styles.cjs +1 -0
  12. package/dist/cjs/Table/hooks/useRowExpand.cjs +3 -3
  13. package/dist/cjs/Tooltip/Tooltip.styles.cjs +12 -6
  14. package/dist/cjs/index.cjs +0 -4
  15. package/dist/esm/Button/Button.js +26 -33
  16. package/dist/esm/Button/Button.js.map +1 -1
  17. package/dist/esm/Button/Button.styles.js +38 -59
  18. package/dist/esm/Button/Button.styles.js.map +1 -1
  19. package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
  20. package/dist/esm/Footer/Footer.js +1 -1
  21. package/dist/esm/Footer/Footer.js.map +1 -1
  22. package/dist/esm/Loading/Loading.styles.js +4 -2
  23. package/dist/esm/Loading/Loading.styles.js.map +1 -1
  24. package/dist/esm/MultiButton/MultiButton.js +15 -42
  25. package/dist/esm/MultiButton/MultiButton.js.map +1 -1
  26. package/dist/esm/MultiButton/MultiButton.styles.js +25 -56
  27. package/dist/esm/MultiButton/MultiButton.styles.js.map +1 -1
  28. package/dist/esm/Select/Select.styles.js +1 -0
  29. package/dist/esm/Select/Select.styles.js.map +1 -1
  30. package/dist/esm/Switch/Switch.js +14 -1
  31. package/dist/esm/Switch/Switch.js.map +1 -1
  32. package/dist/esm/Table/TableCell/TableCell.styles.js +3 -0
  33. package/dist/esm/Table/TableCell/TableCell.styles.js.map +1 -1
  34. package/dist/esm/Table/TableHeader/TableHeader.styles.js +3 -0
  35. package/dist/esm/Table/TableHeader/TableHeader.styles.js.map +1 -1
  36. package/dist/esm/Table/TableRow/TableRow.styles.js +1 -0
  37. package/dist/esm/Table/TableRow/TableRow.styles.js.map +1 -1
  38. package/dist/esm/Table/hooks/useRowExpand.js +4 -4
  39. package/dist/esm/Table/hooks/useRowExpand.js.map +1 -1
  40. package/dist/esm/Tooltip/Tooltip.js.map +1 -1
  41. package/dist/esm/Tooltip/Tooltip.styles.js +12 -6
  42. package/dist/esm/Tooltip/Tooltip.styles.js.map +1 -1
  43. package/dist/esm/index.js +0 -4
  44. package/dist/esm/index.js.map +1 -1
  45. package/dist/types/index.d.ts +39 -34
  46. package/package.json +6 -6
  47. package/dist/cjs/Button/types.cjs +0 -33
  48. package/dist/esm/Button/types.js +0 -33
  49. package/dist/esm/Button/types.js.map +0 -1
package/dist/esm/index.js CHANGED
@@ -116,7 +116,6 @@ import { staticClasses as staticClasses31 } from "./BulkActions/BulkActions.styl
116
116
  import { HvBulkActions } from "./BulkActions/BulkActions.js";
117
117
  import { HvButton } from "./Button/Button.js";
118
118
  import { staticClasses as staticClasses32 } from "./Button/Button.styles.js";
119
- import { buttonRadius, buttonSize, buttonVariant } from "./Button/types.js";
120
119
  import { staticClasses as staticClasses33 } from "./Calendar/Calendar.styles.js";
121
120
  import { HvCalendar } from "./Calendar/Calendar.js";
122
121
  import { staticClasses as staticClasses34 } from "./Calendar/CalendarHeader/CalendarHeader.styles.js";
@@ -489,9 +488,6 @@ export {
489
488
  staticClasses31 as bulkActionsClasses,
490
489
  staticClasses2 as buttonBaseClasses,
491
490
  staticClasses32 as buttonClasses,
492
- buttonRadius,
493
- buttonSize,
494
- buttonVariant,
495
491
  staticClasses33 as calendarClasses,
496
492
  staticClasses34 as calendarHeaderClasses,
497
493
  staticClasses35 as cardClasses,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -46,6 +46,7 @@ import { HvColor } from '@hitachivantara/uikit-styles';
46
46
  import { HvColorAny } from '@hitachivantara/uikit-styles';
47
47
  import { HvExtraDeepProps } from '@hitachivantara/uikit-react-shared';
48
48
  import { HvExtraProps } from '@hitachivantara/uikit-react-shared';
49
+ import { HvRadius } from '@hitachivantara/uikit-styles';
49
50
  import { HvSemanticColor } from '@hitachivantara/uikit-styles';
50
51
  import { HvSize } from '@hitachivantara/uikit-styles';
51
52
  import { HvSupportColor } from '@hitachivantara/uikit-styles';
@@ -442,6 +443,7 @@ export declare const buttonClasses: {
442
443
  focusVisible: string;
443
444
  disabled: string;
444
445
  icon: string;
446
+ contained: string;
445
447
  subtle: string;
446
448
  ghost: string;
447
449
  semantic: string;
@@ -453,12 +455,6 @@ export declare const buttonClasses: {
453
455
  secondary: string;
454
456
  };
455
457
 
456
- export declare const buttonRadius: readonly ["none", "base", "round", "circle", "full"];
457
-
458
- export declare const buttonSize: readonly ["xs", "sm", "md", "lg", "xl"];
459
-
460
- export declare const buttonVariant: readonly ["primary", "primarySubtle", "primaryGhost", "positive", "positiveSubtle", "positiveGhost", "negative", "negativeSubtle", "negativeGhost", "warning", "warningSubtle", "warningGhost", "secondarySubtle", "secondaryGhost", "semantic", "secondary", "ghost"];
461
-
462
458
  export declare const calendarClasses: {
463
459
  root: string;
464
460
  rangeCalendarContainer: string;
@@ -536,7 +532,7 @@ declare type CellValue<V = any> = V;
536
532
 
537
533
  export declare const CellWithCheckBox: ({ row, labels: labelsProp }: any) => JSX_3.Element;
538
534
 
539
- export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp, }: any) => JSX_3.Element;
535
+ export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp, }: HvCellProps<any>) => JSX_3.Element;
540
536
 
541
537
  export declare const charCounterClasses: {
542
538
  root: string;
@@ -2013,7 +2009,7 @@ export declare interface HvBulkActionsProps extends HvBaseProps {
2013
2009
  */
2014
2010
  export declare const HvButton: <C extends ElementType<any, keyof JSX_2.IntrinsicElements> = "button">(props: {
2015
2011
  /** Use the variant prop to change the visual style of the button. */
2016
- variant?: "positive" | "warning" | "negative" | "secondary" | "primary" | "semantic" | "secondarySubtle" | "ghost" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "positiveSubtle" | "positiveGhost" | "negativeSubtle" | "negativeGhost" | "warningSubtle" | "warningGhost" | undefined;
2012
+ variant?: HvButtonVariant | undefined;
2017
2013
  /** Whether the button is an icon-only button. */
2018
2014
  icon?: boolean | undefined;
2019
2015
  /** Whether the button is disabled or not. */
@@ -2024,6 +2020,8 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
2024
2020
  startIcon?: React.ReactNode;
2025
2021
  /** Element placed after the children. */
2026
2022
  endIcon?: React.ReactNode;
2023
+ /** Color of the button. */
2024
+ color?: HvColorAny | undefined;
2027
2025
  /** Button size. */
2028
2026
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
2029
2027
  /** Button border radius. */
@@ -2038,6 +2036,7 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
2038
2036
  focusVisible: string;
2039
2037
  disabled: string;
2040
2038
  icon: string;
2039
+ contained: string;
2041
2040
  subtle: string;
2042
2041
  ghost: string;
2043
2042
  semantic: string;
@@ -2060,8 +2059,8 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
2060
2059
  component?: C | undefined;
2061
2060
  } & {
2062
2061
  children?: ReactNode;
2063
- } & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never) & {
2064
- ref?: PolymorphicRef<C> | undefined;
2062
+ } & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never) & {
2063
+ ref?: PolymorphicRef<C> | undefined; /** Class names to be applied. */
2065
2064
  } & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
2066
2065
 
2067
2066
  /**
@@ -2123,10 +2122,12 @@ export declare type HvButtonProps<C extends React.ElementType = "button"> = Poly
2123
2122
  startIcon?: React.ReactNode;
2124
2123
  /** Element placed after the children. */
2125
2124
  endIcon?: React.ReactNode;
2125
+ /** Color of the button. */
2126
+ color?: HvColorAny;
2126
2127
  /** Button size. */
2127
- size?: HvButtonSize;
2128
+ size?: HvSize;
2128
2129
  /** Button border radius. */
2129
- radius?: HvButtonRadius;
2130
+ radius?: HvRadius;
2130
2131
  /** Defines the default colors of the button are forced into the icon. */
2131
2132
  overrideIconColors?: boolean;
2132
2133
  /** A Jss Object used to override or extend the styles applied. */
@@ -2141,11 +2142,13 @@ export declare type HvButtonProps<C extends React.ElementType = "button"> = Poly
2141
2142
  focusableWhenDisabled?: boolean;
2142
2143
  }>;
2143
2144
 
2144
- export declare type HvButtonRadius = (typeof buttonRadius)[number];
2145
+ /** @deprecated use `HvRadius` */
2146
+ export declare type HvButtonRadius = HvRadius;
2145
2147
 
2146
- export declare type HvButtonSize = (typeof buttonSize)[number];
2148
+ /** @deprecated use `HvSize` */
2149
+ export declare type HvButtonSize = HvSize;
2147
2150
 
2148
- export declare type HvButtonVariant = (typeof buttonVariant)[number];
2151
+ export declare type HvButtonVariant = "contained" | "subtle" | "ghost" | `primary${TypeSuffix}` | `secondary${TypeSuffix}` | `positive${TypeSuffix}` | `negative${TypeSuffix}` | `warning${TypeSuffix}` | "semantic";
2149
2152
 
2150
2153
  export declare const HvCalendar: (props: HvCalendarProps) => JSX_3.Element;
2151
2154
 
@@ -3252,7 +3255,7 @@ export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement,
3252
3255
  /** The variant to be used in the header. */
3253
3256
  variant?: HvButtonVariant;
3254
3257
  /** Button size. */
3255
- size?: HvButtonSize;
3258
+ size?: HvSize;
3256
3259
  /** A Jss Object used to override or extend the styles applied to the component. */
3257
3260
  classes?: HvDropDownMenuClasses;
3258
3261
  /** An object containing all the labels. */
@@ -4131,7 +4134,7 @@ export declare const HvIconButton: <C extends ElementType<any, keyof JSX_2.Intri
4131
4134
  component?: C | undefined;
4132
4135
  } & {
4133
4136
  children?: ReactNode;
4134
- } & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "placement" | "overrideIconColors" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> extends infer T_1 ? T_1 extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "placement" | "overrideIconColors" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T_2 ? T_2 extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T_2 extends any ? T_2 : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> ? T_1 extends any ? T_1 : never : never : never) & {
4137
+ } & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "placement" | "overrideIconColors" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> extends infer T_1 ? T_1 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "placement" | "overrideIconColors" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T_2 ? T_2 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T_2 extends any ? T_2 : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> ? T_1 extends any ? T_1 : never : never : never) & {
4135
4138
  ref?: PolymorphicRef<C> | undefined;
4136
4139
  } & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
4137
4140
 
@@ -4725,7 +4728,7 @@ export declare interface HvMultiButtonProps extends HvBaseProps {
4725
4728
  /** A Jss Object used to override or extend the styles applied to the component. */
4726
4729
  classes?: HvMultiButtonClasses;
4727
4730
  /** Button size. */
4728
- size?: HvButtonSize;
4731
+ size?: HvSize;
4729
4732
  /** Add a split between buttons */
4730
4733
  split?: boolean;
4731
4734
  }
@@ -5427,6 +5430,8 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
5427
5430
 
5428
5431
  export declare type HvRadioStatus = "standBy" | "valid" | "invalid";
5429
5432
 
5433
+ export { HvRadius }
5434
+
5430
5435
  export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) => JSX_3.Element;
5431
5436
 
5432
5437
  export declare type HvRightControlClasses = ExtractNames<typeof useClasses_57>;
@@ -6118,7 +6123,7 @@ export declare interface HvSwitchColumnCellProp {
6118
6123
  switchProps?: HvBaseSwitchProps;
6119
6124
  }
6120
6125
 
6121
- export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "classes"> {
6126
+ export declare interface HvSwitchProps extends Omit<SwitchProps, "color" | "onChange" | "classes"> {
6122
6127
  /**
6123
6128
  * A Jss Object used to override or extend the styles applied to the switch.
6124
6129
  */
@@ -6202,6 +6207,8 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
6202
6207
  ref?: SwitchProps["ref"];
6203
6208
  /** @ignore */
6204
6209
  component?: SwitchProps["component"];
6210
+ /** Color applied to the switch. */
6211
+ color?: HvColorAny;
6205
6212
  }
6206
6213
 
6207
6214
  export declare const HvTab: (props: HvTabProps) => JSX_3.Element;
@@ -6999,6 +7006,7 @@ export declare interface HvTooltipProps extends Omit<TooltipProps, "classes"> {
6999
7006
  TransitionProps?: TooltipProps["TransitionProps"];
7000
7007
  /**
7001
7008
  * Defines if should use a single or multiline tooltip.
7009
+ * @deprecated tooltips already support multiline and can be styled accordingly.
7002
7010
  */
7003
7011
  useSingle?: boolean;
7004
7012
  /**
@@ -7695,9 +7703,6 @@ export declare const multiButtonClasses: {
7695
7703
  button: string;
7696
7704
  selected: string;
7697
7705
  vertical: string;
7698
- split: string;
7699
- splitContainer: string;
7700
- splitDisabled: string;
7701
7706
  firstButton: string;
7702
7707
  lastButton: string;
7703
7708
  primary: string;
@@ -8274,8 +8279,8 @@ export declare const timePickerClasses: {
8274
8279
  export declare const tooltipClasses: {
8275
8280
  root: string;
8276
8281
  tooltip: string;
8277
- tooltipMulti: string;
8278
8282
  popper: string;
8283
+ tooltipMulti: string;
8279
8284
  title: string;
8280
8285
  valuesContainer: string;
8281
8286
  values: string;
@@ -8345,6 +8350,8 @@ declare interface TreeViewNode {
8345
8350
 
8346
8351
  declare type TreeViewSelectionValue<Multiple extends boolean | undefined> = Multiple extends true ? string[] : string | null;
8347
8352
 
8353
+ declare type TypeSuffix = "" | "Subtle" | "Ghost";
8354
+
8348
8355
  export declare const typographyClasses: {
8349
8356
  root: string;
8350
8357
  disabled: string;
@@ -8889,7 +8896,7 @@ declare const useClasses_129: (classesProp?: Partial<Record<"content" | "header"
8889
8896
  readonly cx: (...args: any) => string;
8890
8897
  };
8891
8898
 
8892
- declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "subtle" | "focusVisible" | "startIcon" | "endIcon", string>>, addStatic?: boolean) => {
8899
+ declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "contained" | "primaryGhost" | "primarySubtle" | "subtle" | "focusVisible" | "startIcon" | "endIcon", string>>, addStatic?: boolean) => {
8893
8900
  readonly classes: {
8894
8901
  root: string;
8895
8902
  startIcon: string;
@@ -8897,6 +8904,7 @@ declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primar
8897
8904
  focusVisible: string;
8898
8905
  disabled: string;
8899
8906
  icon: string;
8907
+ contained: string;
8900
8908
  subtle: string;
8901
8909
  ghost: string;
8902
8910
  semantic: string;
@@ -9219,7 +9227,7 @@ declare const useClasses_31: (classesProp?: Partial<Record<"warning" | "root" |
9219
9227
  readonly cx: (...args: any) => string;
9220
9228
  };
9221
9229
 
9222
- declare const useClasses_32: (classesProp?: Partial<Record<"root" | "disabled" | "semantic" | "icon" | "checked" | "focusVisible" | "indeterminate", string>>, addStatic?: boolean) => {
9230
+ declare const useClasses_32: (classesProp?: Partial<Record<"root" | "disabled" | "semantic" | "icon" | "checked" | "indeterminate" | "focusVisible", string>>, addStatic?: boolean) => {
9223
9231
  readonly classes: {
9224
9232
  root: string;
9225
9233
  disabled: string;
@@ -9290,7 +9298,7 @@ declare const useClasses_36: (classesProp?: Partial<Record<"root" | "semantic" |
9290
9298
  readonly cx: (...args: any) => string;
9291
9299
  };
9292
9300
 
9293
- declare const useClasses_37: (classesProp?: Partial<Record<"container" | "label" | "root" | "disabled" | "semantic" | "checkbox" | "checked" | "focusVisible" | "indeterminate" | "invalidContainer" | "invalidCheckbox", string>>, addStatic?: boolean) => {
9301
+ declare const useClasses_37: (classesProp?: Partial<Record<"container" | "label" | "root" | "disabled" | "semantic" | "checkbox" | "checked" | "indeterminate" | "focusVisible" | "invalidContainer" | "invalidCheckbox", string>>, addStatic?: boolean) => {
9294
9302
  readonly classes: {
9295
9303
  root: string;
9296
9304
  container: string;
@@ -9669,7 +9677,7 @@ declare const useClasses_57: (classesProp?: Partial<Record<"root" | "sortDropdow
9669
9677
  readonly cx: (...args: any) => string;
9670
9678
  };
9671
9679
 
9672
- declare const useClasses_58: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "error" | "dropdown" | "description" | "arrow" | "labelContainer" | "selectionDisabled" | "rootList" | "dropdownListContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen", string>>, addStatic?: boolean) => {
9680
+ declare const useClasses_58: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "error" | "description" | "arrow" | "labelContainer" | "dropdown" | "selectionDisabled" | "rootList" | "dropdownListContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen", string>>, addStatic?: boolean) => {
9673
9681
  readonly classes: {
9674
9682
  root: string;
9675
9683
  labelContainer: string;
@@ -9720,7 +9728,7 @@ declare const useClasses_6: (classesProp?: Partial<Record<"root" | "counterDisab
9720
9728
  readonly cx: (...args: any) => string;
9721
9729
  };
9722
9730
 
9723
- declare const useClasses_60: (classesProp?: Partial<Record<"container" | "label" | "root" | "panel" | "icon" | "inputText" | "action" | "error" | "dropdown" | "description" | "labelContainer" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "dateText", string>>, addStatic?: boolean) => {
9731
+ declare const useClasses_60: (classesProp?: Partial<Record<"container" | "label" | "root" | "panel" | "icon" | "inputText" | "action" | "error" | "description" | "labelContainer" | "dropdown" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "dateText", string>>, addStatic?: boolean) => {
9724
9732
  readonly classes: {
9725
9733
  root: string;
9726
9734
  actionContainer: string;
@@ -10115,7 +10123,7 @@ declare const useClasses_85: (classesProp?: Partial<Record<"link" | "root" | "it
10115
10123
  readonly cx: (...args: any) => string;
10116
10124
  };
10117
10125
 
10118
- declare const useClasses_86: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "root" | "hidden" | "blur" | "regular" | "barContainer" | "loadingBar" | "smallColor" | "regularColor", string>>, addStatic?: boolean) => {
10126
+ declare const useClasses_86: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "root" | "hidden" | "loadingBar" | "blur" | "regular" | "barContainer" | "smallColor" | "regularColor", string>>, addStatic?: boolean) => {
10119
10127
  readonly classes: {
10120
10128
  root: string;
10121
10129
  barContainer: string;
@@ -10151,7 +10159,7 @@ declare const useClasses_88: (classesProp?: Partial<Record<"root" | "formContain
10151
10159
  readonly cx: (...args: any) => string;
10152
10160
  };
10153
10161
 
10154
- declare const useClasses_89: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "splitDisabled" | "multiple" | "primaryGhost" | "primarySubtle" | "splitGroup" | "splitGroupDisabled" | "splitContainer" | "split" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
10162
+ declare const useClasses_89: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "multiple" | "primaryGhost" | "primarySubtle" | "splitGroup" | "splitGroupDisabled" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
10155
10163
  readonly classes: {
10156
10164
  root: string;
10157
10165
  multiple: string;
@@ -10160,9 +10168,6 @@ declare const useClasses_89: (classesProp?: Partial<Record<"secondary" | "primar
10160
10168
  button: string;
10161
10169
  selected: string;
10162
10170
  vertical: string;
10163
- split: string;
10164
- splitContainer: string;
10165
- splitDisabled: string;
10166
10171
  firstButton: string;
10167
10172
  lastButton: string;
10168
10173
  primary: string;
@@ -10200,8 +10205,8 @@ declare const useClasses_91: (classesProp?: Partial<Record<"color" | "root" | "t
10200
10205
  readonly classes: {
10201
10206
  root: string;
10202
10207
  tooltip: string;
10203
- tooltipMulti: string;
10204
10208
  popper: string;
10209
+ tooltipMulti: string;
10205
10210
  title: string;
10206
10211
  valuesContainer: string;
10207
10212
  values: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-core",
3
- "version": "5.77.0",
3
+ "version": "5.79.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.12.3",
36
- "@hitachivantara/uikit-react-shared": "^5.3.8",
37
- "@hitachivantara/uikit-react-utils": "^0.2.8",
38
- "@hitachivantara/uikit-styles": "^5.35.0",
35
+ "@hitachivantara/uikit-react-icons": "^5.12.5",
36
+ "@hitachivantara/uikit-react-shared": "^5.3.10",
37
+ "@hitachivantara/uikit-react-utils": "^0.2.10",
38
+ "@hitachivantara/uikit-styles": "^5.37.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": "15e4e3ff8298e486aa40ba892487db442976e925",
65
+ "gitHead": "2245f2d1fa289ab8eab0c4efa73729e121bb4cf3",
66
66
  "exports": {
67
67
  ".": {
68
68
  "types": "./dist/types/index.d.ts",
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const buttonVariant = [
4
- "primary",
5
- "primarySubtle",
6
- "primaryGhost",
7
- "positive",
8
- "positiveSubtle",
9
- "positiveGhost",
10
- "negative",
11
- "negativeSubtle",
12
- "negativeGhost",
13
- "warning",
14
- "warningSubtle",
15
- "warningGhost",
16
- "secondarySubtle",
17
- "secondaryGhost",
18
- "semantic",
19
- // deprecated props
20
- "secondary",
21
- "ghost"
22
- ];
23
- const buttonSize = ["xs", "sm", "md", "lg", "xl"];
24
- const buttonRadius = [
25
- "none",
26
- "base",
27
- "round",
28
- "circle",
29
- "full"
30
- ];
31
- exports.buttonRadius = buttonRadius;
32
- exports.buttonSize = buttonSize;
33
- exports.buttonVariant = buttonVariant;
@@ -1,33 +0,0 @@
1
- const buttonVariant = [
2
- "primary",
3
- "primarySubtle",
4
- "primaryGhost",
5
- "positive",
6
- "positiveSubtle",
7
- "positiveGhost",
8
- "negative",
9
- "negativeSubtle",
10
- "negativeGhost",
11
- "warning",
12
- "warningSubtle",
13
- "warningGhost",
14
- "secondarySubtle",
15
- "secondaryGhost",
16
- "semantic",
17
- // deprecated props
18
- "secondary",
19
- "ghost"
20
- ];
21
- const buttonSize = ["xs", "sm", "md", "lg", "xl"];
22
- const buttonRadius = [
23
- "none",
24
- "base",
25
- "round",
26
- "circle",
27
- "full"
28
- ];
29
- export {
30
- buttonRadius,
31
- buttonSize,
32
- buttonVariant
33
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":["../../../src/Button/types.ts"],"sourcesContent":["export const buttonVariant = [\n \"primary\",\n \"primarySubtle\",\n \"primaryGhost\",\n \"positive\",\n \"positiveSubtle\",\n \"positiveGhost\",\n \"negative\",\n \"negativeSubtle\",\n \"negativeGhost\",\n \"warning\",\n \"warningSubtle\",\n \"warningGhost\",\n \"secondarySubtle\",\n \"secondaryGhost\",\n \"semantic\",\n // deprecated props\n \"secondary\",\n \"ghost\",\n] as const;\nexport type HvButtonVariant = (typeof buttonVariant)[number];\n\nexport const buttonSize = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"] as const;\nexport type HvButtonSize = (typeof buttonSize)[number];\n\nexport const buttonRadius = [\n \"none\",\n \"base\",\n \"round\",\n \"circle\",\n \"full\",\n] as const;\nexport type HvButtonRadius = (typeof buttonRadius)[number];\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAEA;AAAA,EACA;AACF;AAGO,MAAM,aAAa,CAAC,MAAM,MAAM,MAAM,MAAM,IAAI;AAGhD,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}