@bifrostui/icons 1.2.1 → 1.2.3

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.
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var SvgIcon_types_exports = {};
15
- module.exports = __toCommonJS(SvgIcon_types_exports);
1
+ export {};
@@ -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
  }
@@ -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.1",
3
+ "version": "1.2.3",
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.1",
37
- "@bifrostui/utils": "1.2.1"
36
+ "@bifrostui/utils": "1.2.3",
37
+ "@bifrostui/types": "1.2.3"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "^17.0.0 || ^18.0.0"