@fangzhongya/icons 0.0.49 → 0.0.51

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.
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1769001571947,
5
+ lastModified: 1769225941529,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1769001571947,
5
+ lastModified: 1769225941529,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
package/dist/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-icons",
3
3
  "info": {},
4
- "lastModified": 1769001571947,
4
+ "lastModified": 1769225941529,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRVDFXVTHcjs = require('./chunk-RVDFXVTH.cjs');
3
+ var _chunkTMPQ7LLOcjs = require('./chunk-TMPQ7LLO.cjs');
4
4
  require('./chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunkRVDFXVTHcjs.json_default;
7
+ exports.default = _chunkTMPQ7LLOcjs.json_default;
package/dist/json.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1769001571947;
4
+ var lastModified = 1769225941529;
5
5
  var icons = {
6
6
  bar: {
7
7
  body: "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1769001571947;
4
+ var lastModified = 1769225941529;
5
5
  var icons = {
6
6
  bar: {
7
7
  body: "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  json_default
3
- } from "./chunk-R24XVMXE.js";
3
+ } from "./chunk-CMFLQOET.js";
4
4
  import "./chunk-MLKGABMK.js";
5
5
  export {
6
6
  json_default as default
@@ -115,8 +115,8 @@ declare const Picker: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
115
115
  }>> & Readonly<{
116
116
  "onUpdate:modelValue"?: (...args: any[]) => any;
117
117
  }>, {
118
- size: string | number;
119
118
  clearable: boolean;
119
+ size: string | number;
120
120
  icons: string[];
121
121
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
122
122
 
@@ -115,8 +115,8 @@ declare const Picker: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
115
115
  }>> & Readonly<{
116
116
  "onUpdate:modelValue"?: (...args: any[]) => any;
117
117
  }>, {
118
- size: string | number;
119
118
  clearable: boolean;
119
+ size: string | number;
120
120
  icons: string[];
121
121
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
122
122
 
@@ -3,7 +3,7 @@
3
3
  var _chunkYJVFENGGcjs = require('../chunk-YJVFENGG.cjs');
4
4
 
5
5
 
6
- var _chunkRVDFXVTHcjs = require('../chunk-RVDFXVTH.cjs');
6
+ var _chunkTMPQ7LLOcjs = require('../chunk-TMPQ7LLO.cjs');
7
7
 
8
8
 
9
9
  var _chunkBXEIRESQcjs = require('../chunk-BXEIRESQ.cjs');
@@ -1230,7 +1230,7 @@ function findComponents(code, name) {
1230
1230
  return components;
1231
1231
  }
1232
1232
  function getText(iconName, match, name) {
1233
- const svg = _chunkYJVFENGGcjs.getIconifySVG.call(void 0, _chunkRVDFXVTHcjs.json_default, name);
1233
+ const svg = _chunkYJVFENGGcjs.getIconifySVG.call(void 0, _chunkTMPQ7LLOcjs.json_default, name);
1234
1234
  const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
1235
1235
  const text = `${s}${svg}</${match.componentName}>`;
1236
1236
  return { text, imptext: "" };
@@ -1263,7 +1263,7 @@ function replaceComponent(match, type, dynamic, customReplacement, alias) {
1263
1263
  name = iconName.substring(alias.length + 1);
1264
1264
  }
1265
1265
  }
1266
- let svgContent = _chunkRVDFXVTHcjs.json_default.icons[iconName] || _chunkRVDFXVTHcjs.json_default.icons[name];
1266
+ let svgContent = _chunkTMPQ7LLOcjs.json_default.icons[iconName] || _chunkTMPQ7LLOcjs.json_default.icons[name];
1267
1267
  if (!svgContent) {
1268
1268
  return { text: match.fullMatch, imptext: "" };
1269
1269
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-YGLV5TML.js";
4
4
  import {
5
5
  json_default
6
- } from "../chunk-R24XVMXE.js";
6
+ } from "../chunk-CMFLQOET.js";
7
7
  import {
8
8
  lineToLargeHump
9
9
  } from "../chunk-J4G2OFZ4.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/icons",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.0.49",
5
+ "version": "0.0.51",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -37,9 +37,6 @@
37
37
  "vue-router": "4.6.4",
38
38
  "vue-tsc": "^3.2.2"
39
39
  },
40
- "files": [
41
- "dist"
42
- ],
43
40
  "main": "./dist/index.cjs",
44
41
  "module": "./dist/index.js",
45
42
  "types": "./dist/index.d.ts",
@@ -50,16 +47,20 @@
50
47
  ]
51
48
  }
52
49
  },
50
+ "files": [
51
+ "dist"
52
+ ],
53
53
  "exports": {
54
54
  ".": {
55
55
  "types": "./dist/index.d.ts",
56
56
  "require": "./dist/index.cjs",
57
57
  "import": "./dist/index.js"
58
58
  },
59
+ "./css": "./dist/index.css",
59
60
  "./*": {
60
61
  "types": "./dist/*.d.ts",
61
62
  "require": "./dist/*.cjs",
62
- "import": "./dist/*.js",
63
+ "import": "./dist/*",
63
64
  "default": "./dist/*"
64
65
  }
65
66
  },