@blocklet/labels 2.4.34 → 2.4.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -12,7 +12,7 @@ import { useLocaleContext } from "@arcblock/ux/lib/Locale/context";
|
|
|
12
12
|
import { useReactive, useLocalStorageState, useRequest, useSize, useDeepCompareLayoutEffect } from "ahooks";
|
|
13
13
|
import { createContainer } from "unstated-next";
|
|
14
14
|
import { arrayToTree } from "performant-array-to-tree";
|
|
15
|
-
import { SessionContext } from "@arcblock/did-connect/lib/Session";
|
|
15
|
+
import { SessionContext } from "@arcblock/did-connect-react/lib/Session";
|
|
16
16
|
import chroma from "chroma-js";
|
|
17
17
|
import CloseOutlineIcon from "@mui/icons-material/Close";
|
|
18
18
|
const materialSymbolsLabelRounded = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h11q.475 0 .9.213t.7.587l4.5 6q.4.525.4 1.2t-.4 1.2l-4.5 6q-.275.375-.7.588T15 20z" }) });
|
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("react"), require("@mui/icons-material"), require("@mui/material/Box"), require("@mui/material/styles"), require("react-arborist"), require("@iconify/react"), require("lodash/omit"), require("react-select"), require("@mui/material"), require("@arcblock/ux/lib/Locale/context"), require("ahooks"), require("unstated-next"), require("performant-array-to-tree"), require("@arcblock/did-connect/lib/Session"), require("chroma-js"), require("@mui/icons-material/Close")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "react", "@mui/icons-material", "@mui/material/Box", "@mui/material/styles", "react-arborist", "@iconify/react", "lodash/omit", "react-select", "@mui/material", "@arcblock/ux/lib/Locale/context", "ahooks", "unstated-next", "performant-array-to-tree", "@arcblock/did-connect/lib/Session", "chroma-js", "@mui/icons-material/Close"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.BlockletLabels = {}, global.jsxRuntime, global.react, global.iconsMaterial, global.Box, global.styles, global.reactArborist, global.react$1, global.omit, global.Select, global.material, global.context, global.ahooks, global.unstatedNext, global.performantArrayToTree, global.Session, global.chroma, global.CloseOutlineIcon));
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("react"), require("@mui/icons-material"), require("@mui/material/Box"), require("@mui/material/styles"), require("react-arborist"), require("@iconify/react"), require("lodash/omit"), require("react-select"), require("@mui/material"), require("@arcblock/ux/lib/Locale/context"), require("ahooks"), require("unstated-next"), require("performant-array-to-tree"), require("@arcblock/did-connect-react/lib/Session"), require("chroma-js"), require("@mui/icons-material/Close")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "react", "@mui/icons-material", "@mui/material/Box", "@mui/material/styles", "react-arborist", "@iconify/react", "lodash/omit", "react-select", "@mui/material", "@arcblock/ux/lib/Locale/context", "ahooks", "unstated-next", "performant-array-to-tree", "@arcblock/did-connect-react/lib/Session", "chroma-js", "@mui/icons-material/Close"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.BlockletLabels = {}, global.jsxRuntime, global.react, global.iconsMaterial, global.Box, global.styles, global.reactArborist, global.react$1, global.omit, global.Select, global.material, global.context, global.ahooks, global.unstatedNext, global.performantArrayToTree, global.Session, global.chroma, global.CloseOutlineIcon));
|
|
3
3
|
})(this, function(exports2, jsxRuntime, react, iconsMaterial, Box, styles, reactArborist, react$1, omit, Select, material, context, ahooks, unstatedNext, performantArrayToTree, Session, chroma, CloseOutlineIcon) {
|
|
4
4
|
"use strict";
|
|
5
5
|
const materialSymbolsLabelRounded = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "currentColor", d: "M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h11q.475 0 .9.213t.7.587l4.5 6q.4.525.4 1.2t-.4 1.2l-4.5 6q-.275.375-.7.588T15 20z" }) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/labels",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.36",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"react-color": "^2.19.3",
|
|
30
30
|
"react-select": "^5.8.1",
|
|
31
31
|
"unstated-next": "^1.1.0",
|
|
32
|
-
"@blocklet/translation-input": "2.4.
|
|
32
|
+
"@blocklet/translation-input": "2.4.36"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@arcblock/did-connect": "^3.
|
|
36
|
-
"@arcblock/ux": "^3.
|
|
35
|
+
"@arcblock/did-connect-react": "^3.1.4",
|
|
36
|
+
"@arcblock/ux": "^3.1.4",
|
|
37
37
|
"@mui/icons-material": "^7.1.2",
|
|
38
38
|
"@mui/material": "^7.1.2",
|
|
39
39
|
"lodash": "^4.17.21",
|