@hitachivantara/uikit-react-lab 5.46.12 → 5.46.14

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.
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const reactflow = require("reactflow");
5
5
  const uikitStyles = require("@hitachivantara/uikit-styles");
6
6
  const HvFlowBackground = ({
7
- color = "secondary",
7
+ color = "text",
8
8
  ...others
9
9
  }) => {
10
10
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3,10 +3,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const css = require("@emotion/css");
6
- const material = require("@mui/material");
6
+ const Popover = require("@mui/material/Popover");
7
7
  const reactflow = require("reactflow");
8
8
  const uikitReactCore = require("@hitachivantara/uikit-react-core");
9
9
  const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
10
+ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
+ const Popover__default = /* @__PURE__ */ _interopDefault(Popover);
10
12
  const defaultData = {
11
13
  title: "Sticky Note",
12
14
  backgroundColor: uikitReactCore.theme.colors.warningSubtle,
@@ -178,7 +180,7 @@ const StickyNode = ({
178
180
  if (!mergedData.visible) return null;
179
181
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
180
182
  /* @__PURE__ */ jsxRuntime.jsxs(
181
- material.Popover,
183
+ Popover__default.default,
182
184
  {
183
185
  open: colorsConfigOpen,
184
186
  anchorEl: colorConfigBtnRef.current,
@@ -244,7 +246,7 @@ const StickyNode = ({
244
246
  }
245
247
  ),
246
248
  /* @__PURE__ */ jsxRuntime.jsx(
247
- material.Popover,
249
+ Popover__default.default,
248
250
  {
249
251
  open: fontSizeConfigOpen,
250
252
  anchorEl: fontSizeConfigBtnRef.current,
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { Background } from "reactflow";
3
3
  import { getColor, theme } from "@hitachivantara/uikit-styles";
4
4
  const HvFlowBackground = ({
5
- color = "secondary",
5
+ color = "text",
6
6
  ...others
7
7
  }) => {
8
8
  return /* @__PURE__ */ jsx(
@@ -1,7 +1,7 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useMemo, useState, useRef, useCallback } from "react";
3
3
  import { css, cx } from "@emotion/css";
4
- import { Popover } from "@mui/material";
4
+ import Popover from "@mui/material/Popover";
5
5
  import { useReactFlow, NodeResizer, NodeToolbar, Position } from "reactflow";
6
6
  import { theme, HvDialogTitle, HvDialogContent, HvColorPicker, HvCheckBox, HvButton, HvSelectionList, HvListItem, HvMultiButton, HvIconButton } from "@hitachivantara/uikit-react-core";
7
7
  import { FontSize, Bold, Italic, Palette, Delete, ActualSize, Fullscreen } from "@hitachivantara/uikit-react-icons";
@@ -432,7 +432,7 @@ export declare const HvFlow: ({ nodeGroups, sidebar, defaultActions, dndContextP
432
432
  export declare const HvFlowBackground: ({ color, ...others }: HvFlowBackgroundProps) => JSX_2.Element;
433
433
 
434
434
  export declare interface HvFlowBackgroundProps extends Omit<BackgroundProps, "color"> {
435
- /** Color for the background dots. Defaults to `secondary`. */
435
+ /** Color for the background dots. Defaults to `text`. */
436
436
  color?: HvColorAny;
437
437
  }
438
438
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-lab",
3
- "version": "5.46.12",
3
+ "version": "5.46.14",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Contributed React components for the NEXT UI Kit.",
@@ -33,10 +33,10 @@
33
33
  "@dnd-kit/core": "^6.1.0",
34
34
  "@dnd-kit/modifiers": "^6.0.1",
35
35
  "@emotion/css": "^11.11.0",
36
- "@hitachivantara/uikit-react-core": "^5.106.0",
37
- "@hitachivantara/uikit-react-icons": "^5.16.5",
38
- "@hitachivantara/uikit-react-utils": "^0.2.45",
39
- "@hitachivantara/uikit-styles": "^5.51.0",
36
+ "@hitachivantara/uikit-react-core": "^5.106.2",
37
+ "@hitachivantara/uikit-react-icons": "^5.16.7",
38
+ "@hitachivantara/uikit-react-utils": "^0.2.47",
39
+ "@hitachivantara/uikit-styles": "^5.52.0",
40
40
  "@mui/base": "5.0.0-beta.68",
41
41
  "@types/react-grid-layout": "^1.3.5",
42
42
  "react-grid-layout": "^1.4.4",
@@ -52,7 +52,7 @@
52
52
  "access": "public",
53
53
  "directory": "package"
54
54
  },
55
- "gitHead": "59aa34bf80dd55a1b71c463047a17606443ef766",
55
+ "gitHead": "5d8b51e8fe0aa203dc0bd0f33c7dca13883a03a1",
56
56
  "exports": {
57
57
  ".": {
58
58
  "types": "./dist/types/index.d.ts",