@bifrostui/icons 1.2.2 → 1.2.4
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.
|
@@ -50,5 +50,5 @@ var import_SvgIcon = __toESM(require("../components/SvgIcon"));
|
|
|
50
50
|
function createSvgIcon(path, displayName) {
|
|
51
51
|
const Component = (props, ref) => /* @__PURE__ */ import_react.default.createElement(import_SvgIcon.default, __spreadValues({ ref, component: import_utils.isMini ? "div" : "svg" }, props), path);
|
|
52
52
|
Component.displayName = `${displayName}Icon`;
|
|
53
|
-
return import_react.default.memo(import_react.default.forwardRef(Component));
|
|
53
|
+
return /* @__PURE__ */ import_react.default.memo(/* @__PURE__ */ import_react.default.forwardRef(Component));
|
|
54
54
|
}
|
package/es/SvgIcon.types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -20,7 +20,7 @@ import SvgIcon from "../components/SvgIcon";
|
|
|
20
20
|
function createSvgIcon(path, displayName) {
|
|
21
21
|
const Component = (props, ref) => /* @__PURE__ */ React.createElement(SvgIcon, __spreadValues({ ref, component: isMini ? "div" : "svg" }, props), path);
|
|
22
22
|
Component.displayName = `${displayName}Icon`;
|
|
23
|
-
return React.memo(React.forwardRef(Component));
|
|
23
|
+
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
26
|
createSvgIcon as default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostui/icons",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "SVG icon components for BUI",
|
|
5
5
|
"homepage": "http://bui.taopiaopiao.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"clsx": "^1.2.1",
|
|
36
|
-
"@bifrostui/types": "1.2.
|
|
37
|
-
"@bifrostui/utils": "1.2.
|
|
36
|
+
"@bifrostui/types": "1.2.4",
|
|
37
|
+
"@bifrostui/utils": "1.2.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "^17.0.0 || ^18.0.0"
|