@fangxinyan/lumina 0.6.7 → 0.6.9
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 +17 -6
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.js +2 -2
- package/dist/AppShell.cjs +5 -5
- package/dist/AppShell.js +1 -1
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +2 -2
- package/dist/Badge.js +1 -1
- package/dist/Button.cjs +7 -3
- package/dist/Button.d.cts +13 -1
- package/dist/Button.d.ts +13 -1
- package/dist/Button.js +2 -2
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Card-M6UMBDD2.css → Card-4DKCXWFU.css} +4 -2
- package/dist/Card.cjs +3 -3
- package/dist/Card.js +2 -2
- package/dist/Cascader.cjs +5 -5
- package/dist/Cascader.js +4 -4
- package/dist/Checkbox.cjs +3 -3
- package/dist/Checkbox.js +2 -2
- package/dist/Collapse.cjs +3 -3
- package/dist/Collapse.js +2 -2
- package/dist/ColorPicker.cjs +2 -2
- package/dist/ColorPicker.js +1 -1
- package/dist/CommandPalette.cjs +5 -5
- package/dist/CommandPalette.js +4 -4
- package/dist/ContextMenu.cjs +2 -2
- package/dist/ContextMenu.js +1 -1
- package/dist/Divider.cjs +2 -2
- package/dist/Divider.js +1 -1
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/Empty.cjs +2 -2
- package/dist/Empty.js +1 -1
- package/dist/Form.cjs +4 -4
- package/dist/Form.js +1 -1
- package/dist/Icon.cjs +49 -49
- package/dist/Icon.js +1 -1
- package/dist/Image.cjs +6 -6
- package/dist/Image.js +2 -2
- package/dist/Input.cjs +5 -5
- package/dist/Input.js +3 -3
- package/dist/InputNumber.cjs +5 -5
- package/dist/InputNumber.js +4 -4
- package/dist/List.cjs +2 -2
- package/dist/List.js +1 -1
- package/dist/Message.cjs +6 -6
- package/dist/Message.js +2 -2
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.js +3 -3
- package/dist/Pagination.cjs +7 -7
- package/dist/Pagination.js +6 -6
- package/dist/Popover.cjs +2 -2
- package/dist/Popover.js +1 -1
- package/dist/Progress.cjs +2 -2
- package/dist/Progress.js +1 -1
- package/dist/Radio.cjs +3 -3
- package/dist/Radio.js +1 -1
- package/dist/Select.cjs +6 -6
- package/dist/Select.js +5 -5
- package/dist/Skeleton.cjs +2 -2
- package/dist/Skeleton.js +1 -1
- package/dist/Slider.cjs +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Spin.cjs +2 -2
- package/dist/Spin.js +1 -1
- package/dist/Splitter.cjs +2 -2
- package/dist/Splitter.js +1 -1
- package/dist/StatusBar.cjs +3 -3
- package/dist/StatusBar.js +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +2 -2
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.js +1 -1
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +8 -8
- package/dist/TablePro.cjs +10 -10
- package/dist/TablePro.d.cts +11 -7
- package/dist/TablePro.d.ts +11 -7
- package/dist/TablePro.js +9 -9
- package/dist/Tabs.cjs +2 -2
- package/dist/Tabs.js +1 -1
- package/dist/Tag.cjs +3 -3
- package/dist/Tag.js +2 -2
- package/dist/Textarea.cjs +4 -4
- package/dist/Textarea.js +2 -2
- package/dist/Theme.cjs +11 -11
- package/dist/Theme.js +1 -1
- package/dist/{ThemePanel-76LB3YA5.css → ThemePanel-TEHB2JCQ.css} +68 -0
- package/dist/ThemePanel.cjs +13 -13
- package/dist/ThemePanel.d.cts +12 -2
- package/dist/ThemePanel.d.ts +12 -2
- package/dist/ThemePanel.js +10 -10
- package/dist/Timeline.cjs +3 -3
- package/dist/Timeline.js +2 -2
- package/dist/Tooltip.cjs +2 -2
- package/dist/Tooltip.js +1 -1
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.js +2 -2
- package/dist/{chunk-MOMLQP7B.cjs → chunk-2EY34PPA.cjs} +1 -1
- package/dist/{chunk-IHK2FRTS.cjs → chunk-2LM5UYNU.cjs} +1 -1
- package/dist/{chunk-Y5F7ZTBH.js → chunk-3GJZRYTD.js} +1 -1
- package/dist/{chunk-D5PCIVID.cjs → chunk-3HPHQV2L.cjs} +3 -3
- package/dist/{chunk-DYHNOYRC.cjs → chunk-3NSBPQBT.cjs} +6 -6
- package/dist/{chunk-LI4XJTEA.js → chunk-3VXBSLPT.js} +3 -3
- package/dist/{chunk-YVTLHTG6.js → chunk-44WHEN76.js} +1 -1
- package/dist/{chunk-NT6CJYI3.cjs → chunk-4LOOWTRX.cjs} +4 -4
- package/dist/{chunk-U2H4DRMV.cjs → chunk-4N64ZL5M.cjs} +1 -1
- package/dist/{chunk-6XVLERA3.cjs → chunk-5C3ZSOKF.cjs} +1 -1
- package/dist/{chunk-2ZFJTMEF.js → chunk-5CWTC3I2.js} +3 -3
- package/dist/{chunk-ZPKHGKVL.cjs → chunk-5KGGB3EH.cjs} +3 -3
- package/dist/{chunk-W5CJC7S7.js → chunk-62RPBEAW.js} +2 -2
- package/dist/{chunk-NE7IUGMK.js → chunk-64ZQHLHL.js} +2 -2
- package/dist/{chunk-YJEXAO2I.js → chunk-6VSNO7IH.js} +1 -1
- package/dist/{chunk-3YP7CBJT.js → chunk-762NV3E4.js} +2 -2
- package/dist/{chunk-SYWTT5TY.cjs → chunk-76OH42CM.cjs} +4 -4
- package/dist/{chunk-56PHETWO.js → chunk-7DNK5JB2.js} +2 -2
- package/dist/{chunk-I4M2RL2X.js → chunk-7IWYBQAE.js} +2 -2
- package/dist/{chunk-VAXWWJJP.cjs → chunk-7OYMY22O.cjs} +8 -8
- package/dist/{chunk-L27C5O4W.cjs → chunk-7UCXY4T5.cjs} +3 -3
- package/dist/{chunk-7NZ2A4MA.js → chunk-7ZCTEIOW.js} +1 -1
- package/dist/{chunk-QY76WTO5.cjs → chunk-AA2FRQUQ.cjs} +8 -8
- package/dist/{chunk-SABWUELE.js → chunk-ACZA7HHP.js} +1 -1
- package/dist/{chunk-GZCU6HXD.js → chunk-AHS2AFTD.js} +1 -1
- package/dist/{chunk-YSCIMHOI.cjs → chunk-AYZ4BWHG.cjs} +4 -4
- package/dist/{chunk-NFXHIO3G.js → chunk-BY2YW5XN.js} +1 -1
- package/dist/{chunk-OGPDCBPD.cjs → chunk-CPBFUKSX.cjs} +11 -11
- package/dist/{chunk-R74TZKJS.cjs → chunk-D56CNYUP.cjs} +3 -3
- package/dist/{chunk-4UKM4KAC.cjs → chunk-DDCAHAAE.cjs} +1 -1
- package/dist/{chunk-N2COYOXE.cjs → chunk-DGB6KVU3.cjs} +1 -1
- package/dist/{chunk-PNZJFLMY.js → chunk-EXN64ADJ.js} +2 -2
- package/dist/{chunk-LFTCK2VM.cjs → chunk-F3DN2JGE.cjs} +489 -238
- package/dist/{chunk-IDJCFYPP.cjs → chunk-F65KYGPX.cjs} +14 -14
- package/dist/{chunk-RIUDYPRB.cjs → chunk-FJHFUES7.cjs} +1 -1
- package/dist/{chunk-66GXZQKL.cjs → chunk-FL25IGIG.cjs} +3 -3
- package/dist/{chunk-REMJWNAT.js → chunk-FPII6I52.js} +3 -3
- package/dist/{chunk-YSXD344H.js → chunk-FZITSOKH.js} +4 -4
- package/dist/{chunk-2NT5QKEX.js → chunk-GEANNF4T.js} +2 -2
- package/dist/{chunk-6LARTGLP.cjs → chunk-GJAEGIPM.cjs} +1 -1
- package/dist/{chunk-PVOQWCP2.cjs → chunk-GT34KAMX.cjs} +3 -3
- package/dist/{chunk-TVUBGXWA.js → chunk-GVPGJXZT.js} +1 -1
- package/dist/{chunk-J7EQJXSJ.js → chunk-HEBBQZUT.js} +3 -3
- package/dist/{chunk-6GQPF3EI.cjs → chunk-HFM4YKM5.cjs} +1 -1
- package/dist/{chunk-2SCXQ7QS.js → chunk-HR5QBBIS.js} +1 -1
- package/dist/{chunk-ACQSRMLF.cjs → chunk-HTW62OMX.cjs} +4 -4
- package/dist/{chunk-VNNQYJLT.js → chunk-I5XCHN67.js} +2 -2
- package/dist/{chunk-N3OLFKV5.cjs → chunk-IMAGOTLP.cjs} +1 -1
- package/dist/{chunk-Z4PZ2ZHI.cjs → chunk-J2R3BEEH.cjs} +1 -1
- package/dist/{chunk-PEJLXJQD.js → chunk-JPAYPF6H.js} +1 -1
- package/dist/{chunk-YNCDTKAE.cjs → chunk-JWZ6HJIF.cjs} +1 -1
- package/dist/{chunk-S6OKX4H7.cjs → chunk-KOY7GNP3.cjs} +1 -1
- package/dist/{chunk-NDO22RER.cjs → chunk-LF3ATJFY.cjs} +1 -1
- package/dist/{chunk-5NFSDFBB.cjs → chunk-LW6Z2WDZ.cjs} +3 -3
- package/dist/{chunk-YUKXNWVE.cjs → chunk-MLOT2AGK.cjs} +1 -1
- package/dist/{chunk-7D76MI37.js → chunk-MOLKLUSQ.js} +4 -4
- package/dist/{chunk-SG42F5VB.cjs → chunk-MZCKPLHQ.cjs} +1 -1
- package/dist/chunk-N24KHD5B.js +84 -0
- package/dist/{chunk-C24W6PTJ.cjs → chunk-N4JH6HHA.cjs} +1 -1
- package/dist/{chunk-5JNDDWFZ.js → chunk-NUF3EA7T.js} +2 -2
- package/dist/chunk-NUNPFMCM.cjs +106 -0
- package/dist/{chunk-WHXSUPJB.cjs → chunk-OUSJMIZX.cjs} +4 -4
- package/dist/{chunk-AJH2O4WC.js → chunk-OVTB7FQQ.js} +2 -2
- package/dist/{chunk-HFUHQUPQ.js → chunk-P434GBHP.js} +1 -1
- package/dist/{chunk-66T76GII.cjs → chunk-PEFIXNAV.cjs} +6 -6
- package/dist/{chunk-WXWFMWWF.js → chunk-PHONNUK2.js} +2 -2
- package/dist/{chunk-MYRLCN6V.js → chunk-PWPL3DRN.js} +1 -1
- package/dist/{chunk-HU7T64Y3.js → chunk-Q5KHJ32P.js} +1 -1
- package/dist/{chunk-OHFZ7L4T.js → chunk-Q77BWQNG.js} +1 -1
- package/dist/{chunk-XVP7IKLZ.js → chunk-QDXBI3PV.js} +3 -3
- package/dist/{chunk-PKHITACT.js → chunk-QKWRN2JL.js} +1 -1
- package/dist/{chunk-7ZNGHWVS.js → chunk-R53WIZY5.js} +1 -1
- package/dist/{chunk-LQLOOUS3.js → chunk-RYRBNMCC.js} +1 -1
- package/dist/{chunk-2ZADGBUN.cjs → chunk-S4CZ3VO6.cjs} +9 -4
- package/dist/{chunk-N4USDBY2.js → chunk-SGNDIRZC.js} +3 -3
- package/dist/{chunk-YT5NLCRC.js → chunk-SNX4FZYB.js} +1 -1
- package/dist/{chunk-KMG7OMOS.js → chunk-TJB7U72Z.js} +1 -1
- package/dist/{chunk-SFAGHPBT.js → chunk-TWJAYAK2.js} +1 -1
- package/dist/{chunk-JFQ53MO4.cjs → chunk-VM6CJYP6.cjs} +1 -1
- package/dist/{chunk-CNGKJYGZ.js → chunk-VRA4CQCJ.js} +7 -3
- package/dist/{chunk-YU5JK247.cjs → chunk-VUTCNATX.cjs} +6 -6
- package/dist/{chunk-CEZ2DR4R.js → chunk-W72IIGOV.js} +2 -2
- package/dist/{chunk-QP7RXZES.js → chunk-WIBAYFBB.js} +1 -1
- package/dist/{chunk-O43DOE7V.js → chunk-WIZVOZNO.js} +2 -2
- package/dist/{chunk-SQIWPU6V.js → chunk-XN52S7PT.js} +1 -1
- package/dist/{chunk-O4BOBOYV.cjs → chunk-XOYMBL5R.cjs} +1 -1
- package/dist/{chunk-MYHBC3HA.cjs → chunk-XPV672EI.cjs} +1 -1
- package/dist/{chunk-DYSGXQUK.cjs → chunk-XVDD6JEU.cjs} +6 -6
- package/dist/{chunk-ZWCDB5PP.cjs → chunk-XWRQ7ZLT.cjs} +1 -1
- package/dist/{chunk-N2BTMKF2.cjs → chunk-Z35Q432P.cjs} +4 -4
- package/dist/{chunk-VSUMJX6Z.cjs → chunk-ZC5VDX4W.cjs} +1 -1
- package/dist/{chunk-ZPP7LTHP.js → chunk-ZCMFLRZS.js} +2 -2
- package/dist/{chunk-5PR7UWIZ.cjs → chunk-ZGDAYWWC.cjs} +10 -10
- package/dist/{chunk-NJCHFXGC.js → chunk-ZTIECMCF.js} +455 -204
- package/dist/index.cjs +177 -173
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +48 -48
- package/dist/styles.css +82 -2
- package/dist/{tokens-EF34LSWI.css → tokens-RGFJKRC7.css} +21 -0
- package/dist/tokens.css +21 -0
- package/docs/llms/autocomplete.md +6 -0
- package/docs/llms/button.md +16 -4
- package/docs/llms/card.md +2 -2
- package/docs/llms/commandpalette.md +6 -0
- package/docs/llms/contextmenu.md +6 -0
- package/docs/llms/form.md +6 -0
- package/docs/llms/inputnumber.md +6 -0
- package/docs/llms/splitter.md +6 -0
- package/docs/llms/statusbar.md +6 -0
- package/docs/llms/tablepro.md +2 -0
- package/docs/llms/textarea.md +83 -0
- package/docs/llms/themepanel.md +26 -5
- package/docs/llms/timeline.md +6 -0
- package/docs/llms/typography.md +1 -1
- package/docs/llms.md +2 -1
- package/package.json +51 -1
- package/dist/chunk-D64IPDUE.cjs +0 -28
- package/dist/chunk-GUZ2DNDC.js +0 -26
package/README.md
CHANGED
|
@@ -19,11 +19,20 @@
|
|
|
19
19
|
|
|
20
20
|
- **TypeScript 优先** — 全量类型定义,IDE 智能提示完善
|
|
21
21
|
- **拟态设计语言** — 统一的凸起/凹陷/柔光阴影系统,通过 CSS 变量自定义
|
|
22
|
-
- **
|
|
22
|
+
- **45+ 公共组件** — Button、Input、Table、Modal、Message、Calendar …
|
|
23
23
|
- **Electron 原生感** — `TitleBar`、`Sidebar`、`AppShell` 直接拼出窗口布局
|
|
24
24
|
- **主题化** — 明/暗模式、6 套强调色、3 档密度(紧凑/标准/宽松)
|
|
25
25
|
- **零运行时依赖** — 只依赖 React;样式纯 CSS 变量驱动
|
|
26
26
|
|
|
27
|
+
## Why Lumina matters for AI-assisted development
|
|
28
|
+
|
|
29
|
+
Lumina 不只是把组件打成 npm 包,也把“AI 能按需读懂组件”的上下文一起发布出去。
|
|
30
|
+
|
|
31
|
+
- **内置 LLM 文档** — 每个组件都有独立 `docs/llms/<id>.md`,覆盖导入方式、可复制示例和完整 Props 表,AI 不必一次读取整份 API。
|
|
32
|
+
- **按需组件文档** — `@fangxinyan/lumina/llms.md` 提供全局约定和组件索引,`@fangxinyan/lumina/llms/button.md` 这类子路径可直接定位到单组件。
|
|
33
|
+
- **零运行时依赖** — 运行时只依赖 React / React DOM,组件逻辑、主题 token 和样式入口都更容易被 AI 审查、迁移和解释。
|
|
34
|
+
- **Electron 场景优先** — `TitleBar`、`WindowControls`、`Sidebar`、`StatusBar`、`AppShell` 等桌面应用原语减少了业务侧临时拼装窗口 UI 的成本。
|
|
35
|
+
|
|
27
36
|
## 📦 安装
|
|
28
37
|
|
|
29
38
|
```bash
|
|
@@ -60,7 +69,7 @@ export default function App() {
|
|
|
60
69
|
## 🛠 本地开发(下载即用)
|
|
61
70
|
|
|
62
71
|
```bash
|
|
63
|
-
cd
|
|
72
|
+
cd lumina
|
|
64
73
|
npm install
|
|
65
74
|
npm run dev # 启动 Playground(http://localhost:5173)
|
|
66
75
|
npm run typecheck # 类型检查
|
|
@@ -73,16 +82,18 @@ npm run build:lib # 构建库 → dist/(ESM + CJS + .d.ts)
|
|
|
73
82
|
项目结构:
|
|
74
83
|
|
|
75
84
|
```
|
|
76
|
-
|
|
85
|
+
lumina/
|
|
77
86
|
├── src/
|
|
78
|
-
│ ├── components/ #
|
|
87
|
+
│ ├── components/ # 每个组件一个目录,包含 .tsx / .css / index.ts
|
|
79
88
|
│ ├── styles/
|
|
80
89
|
│ │ ├── tokens.css # 设计令牌(主题 / 颜色 / 阴影 / 间距)
|
|
81
90
|
│ │ ├── base.css # 基础样式(body / scrollbar / focus)
|
|
82
|
-
│ │
|
|
91
|
+
│ │ ├── shared.css # 共享动画 / 跨组件样式
|
|
92
|
+
│ │ └── index.css # 完整样式入口
|
|
83
93
|
│ └── index.ts # 公共出口
|
|
84
94
|
├── playground/ # 本地演示应用(Vite)
|
|
85
95
|
├── docs/ # 组件文档 & API 文档
|
|
96
|
+
├── scripts/ # 文档生成 / 公开 API 校验脚本
|
|
86
97
|
├── tsup.config.ts # 库构建配置
|
|
87
98
|
└── vite.config.ts # Playground 开发服务器
|
|
88
99
|
```
|
|
@@ -112,7 +123,7 @@ package/
|
|
|
112
123
|
|
|
113
124
|
## 📚 文档
|
|
114
125
|
|
|
115
|
-
- **[🤖 AI / LLM 组件参考(索引)](./docs/llms.md)** — 全局约定 +
|
|
126
|
+
- **[🤖 AI / LLM 组件参考(索引)](./docs/llms.md)** — 全局约定 + 完整组件索引
|
|
116
127
|
- **[单组件文档](./docs/llms/)** — 每个组件一份 `.md`,AI 按需读取(例如 [`llms/button.md`](./docs/llms/button.md))
|
|
117
128
|
- [设计令牌](./docs/tokens.md)
|
|
118
129
|
- [Electron 集成](./docs/electron.md)
|
package/dist/Alert.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkAYZ4BWHG_cjs = require('./chunk-AYZ4BWHG.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Alert", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkAYZ4BWHG_cjs.Alert; }
|
|
11
11
|
});
|
package/dist/Alert.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Alert } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Alert } from './chunk-762NV3E4.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/AppShell.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJWZ6HJIF_cjs = require('./chunk-JWZ6HJIF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AppShell", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJWZ6HJIF_cjs.AppShell; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "Sidebar", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJWZ6HJIF_cjs.Sidebar; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "TitleBar", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJWZ6HJIF_cjs.TitleBar; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WindowControls", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJWZ6HJIF_cjs.WindowControls; }
|
|
22
22
|
});
|
package/dist/AppShell.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AppShell, Sidebar, TitleBar, WindowControls } from './chunk-
|
|
1
|
+
export { AppShell, Sidebar, TitleBar, WindowControls } from './chunk-WIBAYFBB.js';
|
package/dist/AutoComplete.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFL25IGIG_cjs = require('./chunk-FL25IGIG.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-7OYMY22O.cjs');
|
|
6
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
7
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AutoComplete", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFL25IGIG_cjs.AutoComplete; }
|
|
14
14
|
});
|
package/dist/AutoComplete.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AutoComplete } from './chunk-
|
|
1
|
+
export { AutoComplete } from './chunk-ZCMFLRZS.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import './chunk-QDXBI3PV.js';
|
|
4
|
+
import './chunk-7DNK5JB2.js';
|
|
5
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Avatar.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKOY7GNP3_cjs = require('./chunk-KOY7GNP3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Avatar", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKOY7GNP3_cjs.Avatar; }
|
|
10
10
|
});
|
package/dist/Avatar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Avatar } from './chunk-
|
|
1
|
+
export { Avatar } from './chunk-TJB7U72Z.js';
|
package/dist/Badge.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVM6CJYP6_cjs = require('./chunk-VM6CJYP6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Badge", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkVM6CJYP6_cjs.Badge; }
|
|
10
10
|
});
|
package/dist/Badge.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Badge } from './chunk-
|
|
1
|
+
export { Badge } from './chunk-BY2YW5XN.js';
|
package/dist/Button.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkS4CZ3VO6_cjs = require('./chunk-S4CZ3VO6.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Button", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkS4CZ3VO6_cjs.Button; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "IconButton", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkS4CZ3VO6_cjs.IconButton; }
|
|
11
15
|
});
|
package/dist/Button.d.cts
CHANGED
|
@@ -27,6 +27,11 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
27
27
|
className?: string;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}
|
|
30
|
+
interface IconButtonProps extends Omit<ButtonProps, "children" | "iconOnly" | "trailingIcon"> {
|
|
31
|
+
/** Icon rendered in the square button. Accepts a built-in icon name or custom React node. */
|
|
32
|
+
icon: IconSlot;
|
|
33
|
+
children?: never;
|
|
34
|
+
}
|
|
30
35
|
/**
|
|
31
36
|
* `Button` — the primary action surface.
|
|
32
37
|
*
|
|
@@ -35,5 +40,12 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
35
40
|
* <Button variant="ghost" loading>保存</Button>
|
|
36
41
|
*/
|
|
37
42
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
/**
|
|
44
|
+
* `IconButton` — square icon-only command button.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <IconButton icon="settings" tip="设置" />
|
|
48
|
+
*/
|
|
49
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
38
50
|
|
|
39
|
-
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant };
|
|
51
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, IconButton, type IconButtonProps };
|
package/dist/Button.d.ts
CHANGED
|
@@ -27,6 +27,11 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
27
27
|
className?: string;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}
|
|
30
|
+
interface IconButtonProps extends Omit<ButtonProps, "children" | "iconOnly" | "trailingIcon"> {
|
|
31
|
+
/** Icon rendered in the square button. Accepts a built-in icon name or custom React node. */
|
|
32
|
+
icon: IconSlot;
|
|
33
|
+
children?: never;
|
|
34
|
+
}
|
|
30
35
|
/**
|
|
31
36
|
* `Button` — the primary action surface.
|
|
32
37
|
*
|
|
@@ -35,5 +40,12 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
35
40
|
* <Button variant="ghost" loading>保存</Button>
|
|
36
41
|
*/
|
|
37
42
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
/**
|
|
44
|
+
* `IconButton` — square icon-only command button.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <IconButton icon="settings" tip="设置" />
|
|
48
|
+
*/
|
|
49
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
38
50
|
|
|
39
|
-
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant };
|
|
51
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, IconButton, type IconButtonProps };
|
package/dist/Button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Button, IconButton } from './chunk-VRA4CQCJ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Calendar.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkHTW62OMX_cjs = require('./chunk-HTW62OMX.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Calendar", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHTW62OMX_cjs.Calendar; }
|
|
11
11
|
});
|
package/dist/Calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Calendar } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Calendar } from './chunk-W72IIGOV.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
|
@@ -66,8 +66,10 @@
|
|
|
66
66
|
border-radius: var(--r-md);
|
|
67
67
|
display: grid;
|
|
68
68
|
place-items: center;
|
|
69
|
-
background: color-mix(in
|
|
70
|
-
box-shadow:
|
|
69
|
+
background: color-mix(in srgb, var(--bg) 72%, var(--bg-sunken));
|
|
70
|
+
box-shadow:
|
|
71
|
+
inset calc(var(--shadow-inset-offset) * 0.45) calc(var(--shadow-inset-offset) * 0.45) calc(var(--shadow-inset-blur) * 0.45) color-mix(in oklch, var(--shadow-dark) 55%, transparent),
|
|
72
|
+
inset calc(var(--shadow-inset-offset) * -0.45) calc(var(--shadow-inset-offset) * -0.45) calc(var(--shadow-inset-blur) * 0.45) color-mix(in oklch, var(--shadow-light) 72%, transparent);
|
|
71
73
|
color: var(--fg-muted);
|
|
72
74
|
z-index: 1;
|
|
73
75
|
}
|
package/dist/Card.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkOUSJMIZX_cjs = require('./chunk-OUSJMIZX.cjs');
|
|
4
|
+
require('./chunk-MZCKPLHQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Card", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkOUSJMIZX_cjs.Card; }
|
|
11
11
|
});
|
package/dist/Card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Card } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Card } from './chunk-HEBBQZUT.js';
|
|
2
|
+
import './chunk-3GJZRYTD.js';
|
package/dist/Cascader.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAA2FRQUQ_cjs = require('./chunk-AA2FRQUQ.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-7OYMY22O.cjs');
|
|
6
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
7
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Cascader", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAA2FRQUQ_cjs.Cascader; }
|
|
14
14
|
});
|
package/dist/Cascader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Cascader } from './chunk-
|
|
1
|
+
export { Cascader } from './chunk-FPII6I52.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import './chunk-QDXBI3PV.js';
|
|
4
|
+
import './chunk-7DNK5JB2.js';
|
|
5
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Checkbox.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk5KGGB3EH_cjs = require('./chunk-5KGGB3EH.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Checkbox", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5KGGB3EH_cjs.Checkbox; }
|
|
11
11
|
});
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkbox } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Checkbox } from './chunk-PHONNUK2.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Collapse.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkD56CNYUP_cjs = require('./chunk-D56CNYUP.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Collapse", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkD56CNYUP_cjs.Collapse; }
|
|
11
11
|
});
|
package/dist/Collapse.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Collapse } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Collapse } from './chunk-OVTB7FQQ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/ColorPicker.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXPV672EI_cjs = require('./chunk-XPV672EI.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ColorPicker", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkXPV672EI_cjs.ColorPicker; }
|
|
11
11
|
});
|
package/dist/ColorPicker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorPicker } from './chunk-
|
|
1
|
+
export { ColorPicker } from './chunk-AHS2AFTD.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
package/dist/CommandPalette.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunk3HPHQV2L_cjs = require('./chunk-3HPHQV2L.cjs');
|
|
4
|
+
require('./chunk-7OYMY22O.cjs');
|
|
5
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
6
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CommandPalette", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3HPHQV2L_cjs.CommandPalette; }
|
|
13
13
|
});
|
package/dist/CommandPalette.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CommandPalette } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { CommandPalette } from './chunk-64ZQHLHL.js';
|
|
2
|
+
import './chunk-QDXBI3PV.js';
|
|
3
|
+
import './chunk-7DNK5JB2.js';
|
|
4
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/ContextMenu.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXOYMBL5R_cjs = require('./chunk-XOYMBL5R.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ContextMenu", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXOYMBL5R_cjs.ContextMenu; }
|
|
10
10
|
});
|
package/dist/ContextMenu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ContextMenu } from './chunk-
|
|
1
|
+
export { ContextMenu } from './chunk-XN52S7PT.js';
|
package/dist/Divider.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLF3ATJFY_cjs = require('./chunk-LF3ATJFY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Divider", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLF3ATJFY_cjs.Divider; }
|
|
10
10
|
});
|
package/dist/Divider.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Divider } from './chunk-
|
|
1
|
+
export { Divider } from './chunk-PWPL3DRN.js';
|
package/dist/Drawer.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk7UCXY4T5_cjs = require('./chunk-7UCXY4T5.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Drawer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7UCXY4T5_cjs.Drawer; }
|
|
11
11
|
});
|
package/dist/Drawer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Drawer } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Drawer } from './chunk-EXN64ADJ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Empty.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ2R3BEEH_cjs = require('./chunk-J2R3BEEH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Empty", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJ2R3BEEH_cjs.Empty; }
|
|
10
10
|
});
|
package/dist/Empty.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Empty } from './chunk-
|
|
1
|
+
export { Empty } from './chunk-RYRBNMCC.js';
|
package/dist/Form.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN4JH6HHA_cjs = require('./chunk-N4JH6HHA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Form", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkN4JH6HHA_cjs.Form; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FormItem", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkN4JH6HHA_cjs.FormItem; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "useForm", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkN4JH6HHA_cjs.useForm; }
|
|
18
18
|
});
|
package/dist/Form.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Form, FormItem, useForm } from './chunk-
|
|
1
|
+
export { Form, FormItem, useForm } from './chunk-ACZA7HHP.js';
|