@hitachivantara/uikit-react-core 6.2.0 → 6.3.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.
@@ -9,12 +9,11 @@ import { useClasses } from "./Pagination.styles.js";
9
9
  import { staticClasses } from "./Pagination.styles.js";
10
10
  import HvSelect, { Option } from "./Select.js";
11
11
  import { HvIconButton } from "../IconButton/IconButton.js";
12
- import { HvTypography } from "../Typography/Typography.js";
13
12
  import { HvBaseInput } from "../BaseInput/BaseInput.js";
14
13
  const defaultPageSizeOptions = [5, 10, 20, 25, 50, 100];
15
14
  const DEFAULT_LABELS = {
16
15
  /** The show label. */
17
- pageSizePrev: "Show",
16
+ pageSizePrev: "",
18
17
  /** Indicate the units of the page size selection. */
19
18
  pageSizeEntryName: "rows",
20
19
  /** Used for the aria-label of the selection of number of unit.s */
@@ -36,15 +35,14 @@ const HvPagination = forwardRef(function HvPagination2(props, ref) {
36
35
  const {
37
36
  classes: classesProp,
38
37
  className,
39
- id,
40
38
  pages = 1,
41
39
  page = 0,
42
40
  showPageSizeOptions = true,
43
41
  pageSizeOptions = defaultPageSizeOptions,
44
42
  pageSize = defaultPageSizeOptions[1],
45
43
  showPageJump = true,
46
- canPrevious = false,
47
- canNext = false,
44
+ canPrevious,
45
+ canNext,
48
46
  onPageChange,
49
47
  onPageSizeChange,
50
48
  labels: labelsProp,
@@ -56,7 +54,7 @@ const HvPagination = forwardRef(function HvPagination2(props, ref) {
56
54
  const { classes, cx } = useClasses(classesProp);
57
55
  const labels = useLabels(DEFAULT_LABELS, labelsProp);
58
56
  const muiTheme = useTheme();
59
- const isXsDown = useMediaQuery(muiTheme.breakpoints.down("xs"));
57
+ const isXsDown = useMediaQuery(muiTheme.breakpoints.only("xs"));
60
58
  const [pageInput, setPageInput] = useState(page);
61
59
  const changePage = useCallback(
62
60
  (newPage) => {
@@ -97,14 +95,14 @@ const HvPagination = forwardRef(function HvPagination2(props, ref) {
97
95
  ...currentPageInputProps
98
96
  }
99
97
  );
100
- return /* @__PURE__ */ jsxs("div", { ref, id, className: cx(classes.root, className), ...others, children: [
101
- /* @__PURE__ */ jsx("div", { className: classes.pageSizeOptions, ...showPageProps, children: showPageSizeOptions && /* @__PURE__ */ jsxs(Fragment, { children: [
102
- !isXsDown && /* @__PURE__ */ jsx("span", { className: classes?.pageSizeTextContainer, children: labels?.pageSizePrev }),
98
+ return /* @__PURE__ */ jsxs("div", { ref, className: cx(classes.root, className), ...others, children: [
99
+ showPageSizeOptions && /* @__PURE__ */ jsx("div", { className: classes.pageSizeOptions, ...showPageProps, children: /* @__PURE__ */ jsxs(Fragment, { children: [
100
+ !isXsDown && labels.pageSizePrev && /* @__PURE__ */ jsx("span", { className: classes.pageSizeTextContainer, children: labels.pageSizePrev }),
103
101
  /* @__PURE__ */ jsx(
104
102
  HvSelect,
105
103
  {
106
104
  disabled: pageSize === 0,
107
- "aria-label": labels?.pageSizeSelectorDescription,
105
+ "aria-label": labels.pageSizeSelectorDescription,
108
106
  onChange: (evt, val) => onPageSizeChange?.(val),
109
107
  value: pageSize,
110
108
  classes: {
@@ -114,7 +112,7 @@ const HvPagination = forwardRef(function HvPagination2(props, ref) {
114
112
  children: pageSizeOptions.map((option) => /* @__PURE__ */ jsx(Option, { value: option, children: option }, option))
115
113
  }
116
114
  ),
117
- !isXsDown && /* @__PURE__ */ jsx("span", { className: classes.pageSizeTextContainer, children: labels?.pageSizeEntryName })
115
+ !isXsDown && labels.pageSizeEntryName && /* @__PURE__ */ jsx("span", { className: classes.pageSizeTextContainer, children: labels.pageSizeEntryName })
118
116
  ] }) }),
119
117
  /* @__PURE__ */ jsxs("div", { className: classes.pageNavigator, ...navigationProps, children: [
120
118
  /* @__PURE__ */ jsx(
@@ -139,7 +137,7 @@ const HvPagination = forwardRef(function HvPagination2(props, ref) {
139
137
  ),
140
138
  /* @__PURE__ */ jsxs("div", { className: classes.pageInfo, children: [
141
139
  showPageJump ? renderPageJump() : /* @__PURE__ */ jsx("span", { children: `${page + 1}` }),
142
- /* @__PURE__ */ jsx(HvTypography, { component: "span", children: `${labels?.pagesSeparator} ` }),
140
+ /* @__PURE__ */ jsx("span", { children: `${labels?.pagesSeparator} ` }),
143
141
  /* @__PURE__ */ jsx("span", { children: pages })
144
142
  ] }),
145
143
  /* @__PURE__ */ jsx(
@@ -8,21 +8,17 @@ const { staticClasses, useClasses } = createClasses("HvPagination", {
8
8
  position: "relative",
9
9
  zIndex: 1,
10
10
  display: "flex",
11
- justifyContent: "center",
12
- alignItems: "stretch",
11
+ justifyContent: "space-between",
12
+ alignItems: "center",
13
13
  flexWrap: "wrap",
14
14
  marginTop: theme.space.sm,
15
- ...theme.typography.caption2
15
+ ...theme.typography.caption1
16
16
  },
17
17
  /** Styles applied to the page size selector container. */
18
18
  pageSizeOptions: {
19
19
  display: "flex",
20
- position: "absolute",
21
20
  gap: theme.space.xs,
22
- height: 24,
23
- top: "50%",
24
- transform: "translateY(-50%)",
25
- left: "0"
21
+ height: 24
26
22
  },
27
23
  pageSizeHeader: {
28
24
  height: 24,
@@ -55,8 +51,9 @@ const { staticClasses, useClasses } = createClasses("HvPagination", {
55
51
  pageNavigator: {
56
52
  display: "flex",
57
53
  alignItems: "center",
58
- height: "32px",
59
- gap: 8
54
+ justifyContent: "center",
55
+ flex: 1,
56
+ gap: theme.space.xs
60
57
  },
61
58
  /** Styles applied to each navigation `HvButton` icon container. */
62
59
  iconContainer: {
@@ -66,22 +63,17 @@ const { staticClasses, useClasses } = createClasses("HvPagination", {
66
63
  icon: {},
67
64
  /** Styles applied to the central page information container. */
68
65
  pageInfo: {
69
- display: "inline-block",
66
+ display: "inline-flex",
67
+ gap: 4,
70
68
  whiteSpace: "nowrap",
71
- height: "32px",
72
- lineHeight: "32px"
69
+ alignItems: "center"
73
70
  },
74
71
  /** Styles applied to the page selector input container. */
75
72
  pageJump: {
76
- marginRight: 4,
77
73
  width: 24,
78
74
  minWidth: 24,
79
- maxWidth: theme.spacing(8),
80
75
  backgroundColor: "transparent",
81
76
  height: "24px",
82
- "&:focus, &:focus-within, &:hover": {
83
- backgroundColor: theme.colors.bgHover
84
- },
85
77
  "&, & $pageSizeInput": {
86
78
  fontSize: "inherit",
87
79
  lineHeight: "inherit"
@@ -89,19 +81,9 @@ const { staticClasses, useClasses } = createClasses("HvPagination", {
89
81
  },
90
82
  /** Styles passed down to the page selector Input component as `input`. */
91
83
  pageSizeInput: {
92
- paddingLeft: 4,
93
- paddingRight: 4,
94
84
  margin: 0,
95
85
  textAlign: "center",
96
- borderRadius: theme.radii.base,
97
- MozAppearance: "textfield",
98
- "&:focus": {
99
- padding: 0,
100
- backgroundColor: theme.colors.bgHover
101
- },
102
- "&:hover": {
103
- cursor: "pointer"
104
- }
86
+ MozAppearance: "textfield"
105
87
  }
106
88
  });
107
89
  export {
@@ -36,7 +36,7 @@ const HvSection = forwardRef(
36
36
  {
37
37
  ref,
38
38
  className: cx(classes.root, className, {
39
- [classes.raisedHeader]: raisedHeader && isOpen
39
+ [classes.raisedHeader]: hasHeader && raisedHeader && isOpen
40
40
  }),
41
41
  ...others,
42
42
  children: [
@@ -85,7 +85,7 @@ const HvSection = forwardRef(
85
85
  "div",
86
86
  {
87
87
  ref: contentRef,
88
- hidden: !isOpen,
88
+ hidden: expandable && !isOpen,
89
89
  className: cx(classes.content, {
90
90
  [classes.hidden]: expandable && !isOpen,
91
91
  [classes.hasHeader]: hasHeader
@@ -15,10 +15,10 @@ function getSortedBreakpoints(breakpoints) {
15
15
  return breakpoints;
16
16
  }
17
17
  const property = "maxWidth" in breakpoints[0] ? "maxWidth" : "minWidth";
18
- const sorted = [...breakpoints].sort(
18
+ const sorted = breakpoints.toSorted(
19
19
  (a, b) => getSize(b[property]) - getSize(a[property])
20
20
  );
21
- return property === "minWidth" ? sorted.reverse() : sorted;
21
+ return property === "minWidth" ? sorted.toReversed() : sorted;
22
22
  }
23
23
  const getContainerStyle = (breakpoints, spacing = "sm", cols = 1) => {
24
24
  return {
@@ -13,14 +13,14 @@ const { staticClasses, useClasses } = createClasses("HvStatusIcon", {
13
13
  display: "inline-flex",
14
14
  lineHeight: 0,
15
15
  flexShrink: 0,
16
- padding: theme.space.xxs,
17
16
  borderRadius: theme.radii.base,
18
17
  "--icsize": "auto",
19
18
  ":where([data-size=md])": { borderRadius: theme.radii.round },
20
19
  ":where([data-size=lg])": { borderRadius: theme.radii.large },
21
20
  ":where([data-size=xl])": { borderRadius: theme.radii.large },
22
21
  ":where([data-type=full])": {
23
- outline: "1px solid currentcolor"
22
+ outline: "1px solid currentcolor",
23
+ padding: theme.space.xxs
24
24
  },
25
25
  ...Object.fromEntries(
26
26
  Object.entries(notificationMap).map(([variant, color]) => [
@@ -7,7 +7,7 @@ const { staticClasses, useClasses } = createClasses("HvTableCell", {
7
7
  alignContent: "inherit",
8
8
  textAlign: "left",
9
9
  borderColor: theme.colors.border,
10
- padding: `calc(${theme.space.xs} - 2px ) ${theme.space.xs} calc(${theme.space.xs} - 3px ) ${theme.spacing(4)}`,
10
+ padding: theme.spacing(0, "sm"),
11
11
  borderBottomWidth: 1
12
12
  },
13
13
  /** Styles applied to the cell when it's in the table head. */
@@ -7,9 +7,9 @@ import TableContext from "../TableContext.js";
7
7
  import { TableSectionContext } from "../TableSectionContext.js";
8
8
  import { useClasses } from "./TableHeader.styles.js";
9
9
  import { staticClasses } from "./TableHeader.styles.js";
10
- import { getSortIconName, isParagraph } from "./utils.js";
11
- import { HvButton } from "../../Button/Button.js";
10
+ import { isParagraph, getSortIconName } from "./utils.js";
12
11
  import { HvTypography } from "../../Typography/Typography.js";
12
+ import { HvButtonBase } from "../../ButtonBase/ButtonBase.js";
13
13
  const defaultComponent = "th";
14
14
  const HvTableHeader = forwardRef(
15
15
  function HvTableHeader2(props, ref) {
@@ -80,40 +80,40 @@ const HvTableHeader = forwardRef(
80
80
  /* @__PURE__ */ jsxs(
81
81
  "div",
82
82
  {
83
+ "data-align": align !== "inherit" ? align : void 0,
83
84
  className: cx(
84
85
  classes.headerContent,
85
86
  align !== "inherit" && classes[`alignFlex${capitalize(align)}`]
86
87
  ),
87
88
  children: [
89
+ /* @__PURE__ */ jsx(
90
+ HvTypography,
91
+ {
92
+ component: "div",
93
+ className: cx(classes.headerText, {
94
+ [classes.headerParagraph]: paragraph,
95
+ [classes.sortableHeaderText]: sortable
96
+ }),
97
+ variant: "label",
98
+ ...headerTextProps,
99
+ children
100
+ }
101
+ ),
88
102
  isHeadCell && sortable && /* @__PURE__ */ jsx(
89
- HvButton,
103
+ HvButtonBase,
90
104
  {
91
105
  className: classes.sortButton,
92
- icon: true,
93
106
  "aria-label": "Sort",
94
107
  ...sortButtonProps,
95
108
  children: /* @__PURE__ */ jsx(
96
109
  HvIcon,
97
110
  {
111
+ compact: true,
98
112
  name: getSortIconName(sorted && sortDirection),
99
113
  className: classes.sortIcon
100
114
  }
101
115
  )
102
116
  }
103
- ),
104
- /* @__PURE__ */ jsx(
105
- HvTypography,
106
- {
107
- component: "div",
108
- className: cx({
109
- [classes.headerText]: !paragraph,
110
- [classes.headerParagraph]: paragraph,
111
- [classes.sortableHeaderText]: sortable
112
- }),
113
- variant: "label",
114
- ...headerTextProps,
115
- children
116
- }
117
117
  )
118
118
  ]
119
119
  }
@@ -2,21 +2,18 @@ import { createClasses } from "@hitachivantara/uikit-react-utils";
2
2
  import { theme } from "@hitachivantara/uikit-styles";
3
3
  const { staticClasses, useClasses } = createClasses("HvTableHeader", {
4
4
  root: {
5
- "--first-row-cell-height": "52px",
5
+ "--first-row-cell-height": "32px",
6
6
  "--cell-height": "32px",
7
7
  height: "var(--cell-height)",
8
8
  verticalAlign: "inherit",
9
9
  alignContent: "inherit",
10
10
  textAlign: "left",
11
- padding: theme.spacing(0, 1, 0, 4),
11
+ padding: theme.spacing(0, "sm"),
12
12
  borderColor: theme.colors.border,
13
13
  borderBottomWidth: 1
14
14
  },
15
15
  head: {
16
- paddingTop: 8,
17
- verticalAlign: "top",
18
- alignContent: "start",
19
- ...theme.typography.label,
16
+ fontWeight: theme.fontWeights.semibold,
20
17
  backgroundColor: theme.colors.bgContainer,
21
18
  borderBottomWidth: 1,
22
19
  "*:first-of-type > &": {
@@ -31,14 +28,10 @@ const { staticClasses, useClasses } = createClasses("HvTableHeader", {
31
28
  }
32
29
  },
33
30
  "&$sortable": {
34
- verticalAlign: "initial",
35
- alignContent: "initial",
36
- paddingTop: 0,
37
- paddingLeft: 0,
38
31
  cursor: "pointer",
39
32
  ":hover, :focus-within": {
40
33
  backgroundColor: theme.colors.bgHover,
41
- "& $sortIcon": {
34
+ "& $sortButton": {
42
35
  opacity: 1
43
36
  }
44
37
  }
@@ -49,9 +42,6 @@ const { staticClasses, useClasses } = createClasses("HvTableHeader", {
49
42
  ...theme.typography.body,
50
43
  ":where($sorted)": {
51
44
  backgroundColor: theme.alpha("bgContainer", 0.4)
52
- },
53
- "&$sortable:not($variantNone)": {
54
- paddingLeft: 32
55
45
  }
56
46
  },
57
47
  footer: {},
@@ -78,31 +68,40 @@ const { staticClasses, useClasses } = createClasses("HvTableHeader", {
78
68
  borderLeftWidth: 0
79
69
  }
80
70
  },
81
- headerContent: { display: "flex", alignItems: "flex-start", width: "100%" },
71
+ headerContent: {
72
+ display: "flex",
73
+ alignItems: "center",
74
+ gap: theme.space.xxs,
75
+ width: "100%"
76
+ },
82
77
  headerText: { overflow: "hidden", textOverflow: "ellipsis" },
83
- headerParagraph: { overflow: "hidden", display: "-webkit-box" },
84
- sortableHeaderText: { paddingTop: "8px" },
78
+ headerParagraph: { textOverflow: "inherit", display: "-webkit-box" },
79
+ /** @deprecated use `sortable: &$headerText` */
80
+ sortableHeaderText: {},
85
81
  sorted: {
86
- "& $sortIcon": {
82
+ "& $sortButton": {
87
83
  opacity: 1
88
84
  }
89
85
  },
90
86
  sortable: {},
91
87
  sortButton: {
88
+ opacity: 0,
92
89
  paddingLeft: 4,
93
90
  paddingTop: 4,
94
- ":focus-visible": {
91
+ ":focus-visible,:hover": {
95
92
  boxShadow: "none",
96
93
  backgroundColor: "transparent"
97
94
  }
98
95
  },
99
- sortIcon: { opacity: 0 },
96
+ /** @deprecated use `classes.sortButton` instead */
97
+ sortIcon: {},
98
+ // TODO: deprecate & merge these classes in favour of data-align
100
99
  alignLeft: { textAlign: "left" },
101
100
  alignRight: { textAlign: "right", flexDirection: "row-reverse" },
102
101
  alignCenter: { textAlign: "center" },
103
102
  alignJustify: { textAlign: "justify" },
104
103
  alignFlexLeft: { justifyContent: "flex-start" },
105
- alignFlexRight: { justifyContent: "flex-end" },
104
+ alignFlexRight: { flexDirection: "row-reverse" },
106
105
  alignFlexCenter: { justifyContent: "center" },
107
106
  alignFlexJustify: { textAlign: "justify" },
108
107
  variantCheckbox: {
@@ -1,21 +1,18 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { useDefaultProps } from "@hitachivantara/uikit-react-utils";
4
- import { useUniqueId } from "../../hooks/useUniqueId.js";
5
4
  import { useClasses } from "./TableSection.styles.js";
6
5
  import { staticClasses } from "./TableSection.styles.js";
7
6
  import { HvSection } from "../../Section/Section.js";
8
7
  const HvTableSection = forwardRef(
9
8
  function HvTableSection2(props, ref) {
10
9
  const {
11
- id,
12
10
  classes: classesProp,
13
11
  children,
14
12
  ...others
15
13
  } = useDefaultProps("HvTableSection", props);
16
14
  const { classes } = useClasses(classesProp);
17
- const elementId = useUniqueId(id);
18
- return /* @__PURE__ */ jsx(HvSection, { id: elementId, ref, classes, ...others, children });
15
+ return /* @__PURE__ */ jsx(HvSection, { ref, classes, ...others, children });
19
16
  }
20
17
  );
21
18
  export {
@@ -55,27 +55,30 @@ function hvExpandColumn(col, expandRowButtonAriaLabel, collapseRowButtonAriaLabe
55
55
  const { value, row } = cellProps;
56
56
  const expandedProps = row.getToggleRowExpandedProps?.();
57
57
  const hasContent = getCanRowExpand?.(row) ?? true;
58
- return /* @__PURE__ */ jsx(ClassNames, { children: ({ css }) => /* @__PURE__ */ jsxs(Fragment, { children: [
59
- hasContent && /* @__PURE__ */ jsx(
60
- HvButton,
61
- {
62
- icon: true,
63
- "aria-label": row.isExpanded ? collapseRowButtonAriaLabel : expandRowButtonAriaLabel,
64
- "aria-expanded": row.isExpanded,
65
- onClick: expandedProps?.onClick,
66
- classes: {
67
- root: css({
68
- position: "absolute",
69
- left: 0,
70
- top: "50%",
71
- transform: "translateY(-50%)"
72
- })
73
- },
74
- children: row.isExpanded ? ExpandedIcon : CollapsedIcon
75
- }
76
- ),
77
- /* @__PURE__ */ jsx(HvOverflowTooltip, { data: hvStringFallback(value) })
78
- ] }) });
58
+ return /* @__PURE__ */ jsx(ClassNames, { children: ({ css }) => /* @__PURE__ */ jsxs(
59
+ "div",
60
+ {
61
+ className: css({
62
+ display: "flex",
63
+ alignItems: "center",
64
+ position: "relative",
65
+ left: -16
66
+ }),
67
+ children: [
68
+ hasContent && /* @__PURE__ */ jsx(
69
+ HvButton,
70
+ {
71
+ icon: true,
72
+ "aria-label": row.isExpanded ? collapseRowButtonAriaLabel : expandRowButtonAriaLabel,
73
+ "aria-expanded": row.isExpanded,
74
+ onClick: expandedProps?.onClick,
75
+ children: row.isExpanded ? ExpandedIcon : CollapsedIcon
76
+ }
77
+ ),
78
+ /* @__PURE__ */ jsx(HvOverflowTooltip, { data: hvStringFallback(value) })
79
+ ]
80
+ }
81
+ ) });
79
82
  },
80
83
  sortType: "alphanumeric",
81
84
  cellStyle: {
@@ -102,7 +102,7 @@ const HvVerticalNavigationTreeView = forwardRef(function HvVerticalNavigationTre
102
102
  );
103
103
  const getChildrenIds = (id) => Object.keys(nodeMap.current).map((key) => {
104
104
  return nodeMap.current[key];
105
- }).filter((node) => node.parentId === id).sort((a, b) => a.index - b.index).map((child) => child.id);
105
+ }).filter((node) => node.parentId === id).toSorted((a, b) => a.index - b.index).map((child) => child.id);
106
106
  const getNavigableChildrenIds = useCallback(
107
107
  (id) => {
108
108
  let childrenIds = getChildrenIds(id);
@@ -3,7 +3,9 @@ import useMediaQuery from "@mui/material/useMediaQuery";
3
3
  import { theme } from "@hitachivantara/uikit-styles";
4
4
  const useWidth = () => {
5
5
  const muiTheme = useTheme();
6
- const keys = Object.keys(theme.breakpoints.values).reverse();
6
+ const keys = Object.keys(
7
+ theme.breakpoints.values
8
+ ).toReversed();
7
9
  return keys.reduce((output, key) => {
8
10
  const matches = useMediaQuery(muiTheme.breakpoints.up(key));
9
11
  return !output && matches ? key : output;
package/dist/index.d.ts CHANGED
@@ -5980,7 +5980,7 @@ export declare interface HvTableHeaderProps extends Omit<React.ThHTMLAttributes<
5980
5980
  /** A Jss Object used to override or extend the styles applied to the component. */
5981
5981
  classes?: HvTableHeaderClasses;
5982
5982
  /** Extra props to be passed onto the sort button in the header. */
5983
- sortButtonProps?: HvButtonProps;
5983
+ sortButtonProps?: HvButtonBaseProps;
5984
5984
  }
5985
5985
 
5986
5986
  export declare type HvTableHeaderRenderer<D extends object = Record<string, unknown>> = Renderer<HvHeaderProps_2<D>>;
@@ -6099,7 +6099,7 @@ export declare interface HvTableRowProps extends HvBaseProps<HTMLTableRowElement
6099
6099
  }
6100
6100
 
6101
6101
  /**
6102
- * The `TableSection` component is a wrapper for the `Section` component that applies
6102
+ * The `HvTableSection` component is a wrapper for the `HvSection` component that applies
6103
6103
  * specific stylings for tables that follow the latest DS specifications.
6104
6104
  */
6105
6105
  export declare const HvTableSection: ForwardRefExoticComponent<HvTableSectionProps & RefAttributes<HTMLDivElement>>;
@@ -552,9 +552,6 @@ const pentaho = mergeTheme(pentaho$1, {
552
552
  },
553
553
  HvPagination: {
554
554
  classes: {
555
- root: {
556
- ...theme.typography.caption1
557
- },
558
555
  icon: {
559
556
  fontSize: 16
560
557
  }
@@ -748,6 +745,23 @@ const pentaho = mergeTheme(pentaho$1, {
748
745
  HvFooter: {
749
746
  name: "Pentaho"
750
747
  },
748
+ HvTableCell: {
749
+ classes: {
750
+ root: {
751
+ borderColor: theme.colors.borderSubtle
752
+ }
753
+ }
754
+ },
755
+ HvTableHeader: {
756
+ classes: {
757
+ root: {
758
+ borderColor: theme.colors.borderSubtle
759
+ },
760
+ head: {
761
+ backgroundColor: theme.colors.bgPage
762
+ }
763
+ }
764
+ },
751
765
  HvTabs: {
752
766
  classes: {
753
767
  floating: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-core",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "Hitachi Vantara UI Kit Team",
@@ -50,7 +50,7 @@
50
50
  "rc-slider": "^10.5.0",
51
51
  "rc-tooltip": "~6.3.0",
52
52
  "react-popper": "^2.3.0",
53
- "react-resize-detector": "^8.1.0",
53
+ "react-resize-detector": "^12.3.0",
54
54
  "react-table": "^7.8.0",
55
55
  "react-window": "^1.8.10"
56
56
  },
@@ -61,7 +61,7 @@
61
61
  "access": "public",
62
62
  "directory": "package"
63
63
  },
64
- "gitHead": "7815bbc4041430fbc4fda437e7359ec6cfcb0b32",
64
+ "gitHead": "f2b8a9e107bc8886231d527b37b30716d891105c",
65
65
  "exports": {
66
66
  ".": {
67
67
  "types": "./dist/index.d.ts",