@yh-ui/components 0.1.6 → 0.1.10

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 ADDED
@@ -0,0 +1,28 @@
1
+ # @yh-ui/components
2
+
3
+ <p align="center">
4
+ <img src="https://raw.githubusercontent.com/1079161148/yh-ui/main/docs/public/logo.svg" width="120" height="120" alt="YH-UI Logo">
5
+ </p>
6
+
7
+ YH-UI 核心组件库,基于 Vue 3.5+ 构建的高性能、可扩展的企业级 UI 解决方案。
8
+
9
+ ---
10
+
11
+ ## ✨ 特性
12
+
13
+ - **61+ 企业级组件**:覆盖绝大部分业务场景。
14
+ - **Composition API**:深度使用 Vue 3 组合式 API,逻辑清晰且极致轻量。
15
+ - **TypeScript**:全量类型定义,提供完美的开发提示。
16
+ - **Tree-shaking**:原生 ES Modules 支持,按需构建。
17
+
18
+ ## 📦 安装
19
+
20
+ ```bash
21
+ # pnpm
22
+ pnpm add @yh-ui/components
23
+ ```
24
+
25
+ ## 🔗 相关资源
26
+
27
+ - [📖 官方文档](https://1079161148.github.io/yh-ui/)
28
+ - [📦 GitHub 仓库](https://github.com/1079161148/yh-ui)
@@ -175,8 +175,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
175
175
  readonly popperStyle: string | object;
176
176
  readonly expandAll: boolean;
177
177
  readonly persistent: boolean;
178
- readonly activeTextColor: string;
179
178
  readonly responsive: boolean;
179
+ readonly activeTextColor: string;
180
180
  readonly defaultActive: string;
181
181
  readonly defaultOpeneds: string[];
182
182
  readonly uniqueOpened: boolean;
@@ -175,8 +175,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
175
175
  readonly popperStyle: string | object;
176
176
  readonly expandAll: boolean;
177
177
  readonly persistent: boolean;
178
- readonly activeTextColor: string;
179
178
  readonly responsive: boolean;
179
+ readonly activeTextColor: string;
180
180
  readonly defaultActive: string;
181
181
  readonly defaultOpeneds: string[];
182
182
  readonly uniqueOpened: boolean;
@@ -208,15 +208,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
208
208
  readonly indent: number;
209
209
  readonly nodeKey: string;
210
210
  readonly showCheckbox: boolean;
211
- readonly checkOnClickNode: boolean;
212
- readonly expandOnClickNode: boolean;
211
+ readonly checkboxPosition: "left" | "right";
213
212
  readonly defaultExpandAll: boolean;
214
213
  readonly defaultExpandedKeys: (string | number)[];
215
214
  readonly defaultCheckedKeys: (string | number)[];
216
- readonly accordion: boolean;
217
- readonly checkboxPosition: "left" | "right";
218
215
  readonly currentNodeKey: string | number;
219
216
  readonly highlightCurrent: boolean;
217
+ readonly accordion: boolean;
218
+ readonly expandOnClickNode: boolean;
219
+ readonly checkOnClickNode: boolean;
220
220
  readonly showLine: boolean;
221
221
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
222
222
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -208,15 +208,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
208
208
  readonly indent: number;
209
209
  readonly nodeKey: string;
210
210
  readonly showCheckbox: boolean;
211
- readonly checkOnClickNode: boolean;
212
- readonly expandOnClickNode: boolean;
211
+ readonly checkboxPosition: "left" | "right";
213
212
  readonly defaultExpandAll: boolean;
214
213
  readonly defaultExpandedKeys: (string | number)[];
215
214
  readonly defaultCheckedKeys: (string | number)[];
216
- readonly accordion: boolean;
217
- readonly checkboxPosition: "left" | "right";
218
215
  readonly currentNodeKey: string | number;
219
216
  readonly highlightCurrent: boolean;
217
+ readonly accordion: boolean;
218
+ readonly expandOnClickNode: boolean;
219
+ readonly checkOnClickNode: boolean;
220
220
  readonly showLine: boolean;
221
221
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
222
222
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -125,12 +125,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
125
125
  readonly indent: number;
126
126
  readonly nodeKey: string;
127
127
  readonly showCheckbox: boolean;
128
- readonly checkOnClickNode: boolean;
129
- readonly expandOnClickNode: boolean;
130
128
  readonly defaultExpandAll: boolean;
131
129
  readonly defaultExpandedKeys: TreeKey[];
132
130
  readonly defaultCheckedKeys: TreeKey[];
133
131
  readonly accordion: boolean;
132
+ readonly expandOnClickNode: boolean;
133
+ readonly checkOnClickNode: boolean;
134
134
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
135
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
136
136
  export default _default;
@@ -125,12 +125,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
125
125
  readonly indent: number;
126
126
  readonly nodeKey: string;
127
127
  readonly showCheckbox: boolean;
128
- readonly checkOnClickNode: boolean;
129
- readonly expandOnClickNode: boolean;
130
128
  readonly defaultExpandAll: boolean;
131
129
  readonly defaultExpandedKeys: TreeKey[];
132
130
  readonly defaultCheckedKeys: TreeKey[];
133
131
  readonly accordion: boolean;
132
+ readonly expandOnClickNode: boolean;
133
+ readonly checkOnClickNode: boolean;
134
134
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
135
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
136
136
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yh-ui/components",
3
- "version": "0.1.6",
3
+ "version": "0.1.10",
4
4
  "description": "YH-UI Vue 3 Components",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -38,10 +38,10 @@
38
38
  "async-validator": "^4.2.5",
39
39
  "dayjs": "^1.11.19",
40
40
  "viewerjs": "^1.11.7",
41
- "@yh-ui/hooks": "0.1.6",
42
- "@yh-ui/locale": "0.1.6",
43
- "@yh-ui/theme": "0.1.6",
44
- "@yh-ui/utils": "0.1.6"
41
+ "@yh-ui/hooks": "0.1.10",
42
+ "@yh-ui/locale": "0.1.10",
43
+ "@yh-ui/theme": "0.1.10",
44
+ "@yh-ui/utils": "0.1.10"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "vue": "^3.5.27"