aot-ui 0.2.5 → 0.2.6

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/README.md CHANGED
@@ -1,53 +1,54 @@
1
- # AOT / aot-ui
2
-
3
- React 组件库 + Tauri 桌面演示画廊。
4
-
5
- - **npm 包名**:`aot-ui`
6
- - **演示应用**:本仓库 `npm run dev` / `npm run tauri dev`
7
- - **完整文档**:[docs/README.md](./docs/README.md)
8
-
9
- ## 快速安装
10
-
11
- ```bash
12
- npm install aot-ui
13
- ```
14
-
15
- ```tsx
16
- import { ConfigProvider, Button, InputNumber } from "aot-ui";
17
- import "aot-ui/style.css";
18
-
19
- export function App() {
20
- return (
21
- <ConfigProvider primaryColor="#2563eb" borderRadius={10}>
22
- <Button tone="primary">提交</Button>
23
- <InputNumber min={0} max={20} defaultValue={3} />
24
- </ConfigProvider>
25
- );
26
- }
27
- ```
28
-
29
- 入口必须引入一次 `aot-ui/style.css`。
30
-
31
- ## 本地命令
32
-
33
- | 命令 | 说明 |
34
- |------|------|
35
- | `npm run dev` | 启动组件画廊 |
36
- | `npm run tauri dev` | 桌面壳 + 画廊 |
37
- | `npm run build:lib` | 打包可发布库 → `dist-lib/` |
38
- | `npm run docs:gen` | 生成组件 API 文档数据 |
39
- | `npm publish` | 发布(需官方 registry + Token/2FA) |
40
-
41
- ## 文档索引
42
-
43
- - [快速开始](./docs/getting-started.md) — 安装与业务项目用法
44
- - [本地开发](./docs/development.md) — 画廊、脚本、样式
45
- - [目录结构](./docs/architecture.md) — 源码与包边界
46
- - [发布 npm](./docs/publishing.md) — Token / 2FA / 版本
47
- - [新增组件](./docs/adding-components.md) — 模块约定
48
-
49
- `home`、`window-shell`、`splash-intro` 仅用于演示,不进入 npm 包。
50
-
51
- ## License
52
-
53
- MIT
1
+ # AOT / aot-ui
2
+
3
+ React 组件库 + Tauri 桌面演示画廊。
4
+
5
+ - **npm 包名**:`aot-ui`
6
+ - **演示应用**:本仓库 `npm run dev` / `npm run tauri dev`
7
+ - **完整文档**:[docs/README.md](./docs/README.md)
8
+
9
+ ## 快速安装
10
+
11
+ ```bash
12
+ npm install aot-ui
13
+ ```
14
+
15
+ ```tsx
16
+ import { ConfigProvider, Button, InputNumber } from "aot-ui";
17
+ import "aot-ui/style.css";
18
+
19
+ export function App() {
20
+ return (
21
+ <ConfigProvider primaryColor="#2563eb" borderRadius={10}>
22
+ <Button tone="primary">提交</Button>
23
+ <InputNumber min={0} max={20} defaultValue={3} />
24
+ </ConfigProvider>
25
+ );
26
+ }
27
+ ```
28
+
29
+ 入口必须引入一次 `aot-ui/style.css`。
30
+
31
+ ## 本地命令
32
+
33
+ | 命令 | 说明 |
34
+ |------|------|
35
+ | `npm run dev` | 启动组件画廊 |
36
+ | `npm run tauri dev` | 桌面壳 + 画廊 |
37
+ | `npm run build:lib` | 打包可发布库 → `dist-lib/` |
38
+ | `npm run docs:gen` | 生成组件 API 文档数据 |
39
+ | `npm publish` | 发布(需官方 registry + Token/2FA) |
40
+
41
+ ## 文档索引
42
+
43
+ - [Changelog](./CHANGELOG.md) — 版本变更
44
+ - [快速开始](./docs/getting-started.md) — 安装与业务项目用法
45
+ - [本地开发](./docs/development.md) — 画廊、脚本、样式
46
+ - [目录结构](./docs/architecture.md) — 源码与包边界
47
+ - [发布 npm](./docs/publishing.md) — Token / 2FA / 版本
48
+ - [新增组件](./docs/adding-components.md) — 模块约定
49
+
50
+ `home`、`window-shell`、`splash-intro` 仅用于演示,不进入 npm 包。
51
+
52
+ ## License
53
+
54
+ MIT