@qw-ui/icons-react 0.3.0-next.40 → 0.3.0-next.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qw-ui/icons-react",
3
- "version": "0.3.0-next.40",
3
+ "version": "0.3.0-next.45",
4
4
  "private": false,
5
5
  "description": "L1 · 按需 React 图标组件 — tree-shakeable ESM,每个图标一个具名 export。",
6
6
  "type": "module",
@@ -10,7 +10,8 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js"
13
+ "import": "./dist/index.js",
14
+ "default": "./dist/index.js"
14
15
  }
15
16
  },
16
17
  "sideEffects": false,
@@ -18,23 +19,18 @@
18
19
  "react": ">=18"
19
20
  },
20
21
  "dependencies": {
21
- "@qw-ui/icons": "0.3.0-next.40"
22
+ "@qw-ui/icons": "0.3.0-next.45"
22
23
  },
23
24
  "publishConfig": {
24
25
  "access": "public",
25
26
  "registry": "https://registry.npmjs.org/"
26
27
  },
27
- "devDependencies": {
28
- "@types/react": "^19.2.17",
29
- "react": "^19.2.7",
30
- "tsdown": "^0.22.4",
31
- "tsx": "^4.19.0",
32
- "typescript": "^6.0.3",
33
- "@qw-ui/tsconfig": "0.0.1"
28
+ "license": "MIT",
29
+ "homepage": "https://qw-ui.qianwen.com/",
30
+ "qwRelease": {
31
+ "source": "8cd0602039d181ee4fd474a08e9b94f95a3a3933",
32
+ "channel": "next"
34
33
  },
35
- "scripts": {
36
- "codegen": "tsx scripts/codegen.ts",
37
- "build": "tsx scripts/codegen.ts && tsdown",
38
- "clean": "rm -rf dist src .turbo"
39
- }
34
+ "readme": "# @qw-ui/icons-react\n\nReact 图标组件。Tree-shakeable SVG icon components for React.\n\n## 安装\n\n当前开发版本使用 `next`:\n\n```bash\nnpm install @qw-ui/icons-react@next react\n```\n\n包发布于 [公共 npm](https://www.npmjs.com/package/@qw-ui/icons-react)。如环境配置了其他镜像,可在安装命令后追加 `--registry=https://registry.npmjs.org/`。\n\n## 最小示例\n\n```tsx\nimport { Search } from '@qw-ui/icons-react';\n\nexport function SearchIcon() {\n return <Search width={24} height={24} aria-label=\"搜索\" role=\"img\" />;\n}\n```\n\n## 使用说明\n\n每个图标是具名导出的 SVG 组件,支持标准 SVG 属性。通过 `color` / `currentColor` 控制单色图标;装饰图标设置 `aria-hidden=\"true\"`,表达信息的图标提供可访问名称。具名导入便于构建工具按需裁剪。\n\n## 兼容性\n\nReact >= 18,ESM,支持服务端渲染。\n\n## 版本通道\n\n- `next`:main 更新并通过检查后自动发布,用于试用当前能力。\n- `latest`:负责人手动发布的正式版本。正式版可用后,使用 `npm install @qw-ui/icons-react@latest`;正式版支持范围以该版本 README 为准。\n- 生产项目建议锁定明确版本。配套使用的 `@qw-ui/*` 包应选择同批版本;内部运行时依赖由包管理器安装。\n\n## 文档与许可证\n\n- [组件文档与接入指南](https://qw-ui.qianwen.com/)\n- [npm 版本列表](https://www.npmjs.com/package/@qw-ui/icons-react?activeTab=versions)\n- MIT,详见包内 `LICENSE`。\n",
35
+ "readmeFilename": "README.md"
40
36
  }