sunyard-szyy-ui 0.2.7 → 0.3.0

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,173 @@
1
+ # sunyard-szyy-ui
2
+
3
+ > 企业级 Vue 3 组件库 - 基于 Element Plus 的二次封装
4
+
5
+ [![npm version](https://img.shields.io/npm/v/sunyard-szyy-ui.svg)](https://www.npmjs.com/package/sunyard-szyy-ui)
6
+
7
+ <!-- [![license](https://img.shields.io/npm/l/sunyard-szyy-ui.svg)](https://github.com/your-org/sunyard-szyy-ui/blob/main/LICENSE) -->
8
+
9
+ ## ✨ 特性
10
+
11
+ - 🚀 **Vue 3 + TypeScript** - 基于 Vue 3.5+ 和 TypeScript 5.6+
12
+ - 📦 **Monorepo 架构** - 使用 pnpm workspace 管理
13
+ - 🎨 **主题定制** - 支持 SCSS 变量和 CSS 变量双重定制
14
+ - 🔥 **按需加载** - 支持自动按需导入,极致的打包体积
15
+ - 📚 **完整文档** - 详细的使用文档和 API 说明
16
+ - 💪 **TypeScript** - 完整的类型定义和类型推导
17
+ - 🌲 **Tree-shaking** - 支持 ES Module,自动 tree-shaking
18
+ - ⚡️ **高性能** - 基于 Element Plus,性能卓越
19
+
20
+ ## 📦 安装
21
+
22
+ ```bash
23
+ # npm
24
+ npm install sunyard-szyy-ui element-plus
25
+
26
+ # pnpm
27
+ pnpm add sunyard-szyy-ui element-plus
28
+
29
+ # yarn
30
+ yarn add sunyard-szyy-ui element-plus
31
+ ```
32
+
33
+ ## 🚀 快速开始
34
+
35
+ ### 全量引入
36
+
37
+ ```typescript
38
+ // main.ts
39
+ import { createApp } from 'vue';
40
+ import ElementPlus from 'element-plus';
41
+ import 'element-plus/dist/index.css';
42
+
43
+ import SunyardSzyyUI from 'sunyard-szyy-ui';
44
+ import 'sunyard-szyy-ui/theme-chalk/index.css';
45
+
46
+ import App from './App.vue';
47
+
48
+ const app = createApp(App);
49
+
50
+ app.use(ElementPlus);
51
+ app.use(SunyardSzyyUI);
52
+ app.mount('#app');
53
+ ```
54
+
55
+ ### 自动按需引入(推荐)
56
+
57
+ ```typescript
58
+ // vite.config.ts
59
+ import { defineConfig } from 'vite';
60
+ import vue from '@vitejs/plugin-vue';
61
+ import AutoImport from 'unplugin-auto-import/vite';
62
+ import Components from 'unplugin-vue-components/vite';
63
+ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers';
64
+ import { SunyardSzyyUIResolver } from 'sunyard-szyy-ui/utils';
65
+
66
+ export default defineConfig({
67
+ plugins: [
68
+ vue(),
69
+ AutoImport({
70
+ resolvers: [ElementPlusResolver()]
71
+ }),
72
+ Components({
73
+ resolvers: [ElementPlusResolver({ importStyle: 'sass' }), SunyardSzyyUIResolver()]
74
+ })
75
+ ],
76
+ css: {
77
+ preprocessorOptions: {
78
+ scss: {
79
+ additionalData: `@use "sunyard-szyy-ui/theme-chalk/var.scss" as *;`
80
+ }
81
+ }
82
+ }
83
+ });
84
+ ```
85
+
86
+ ```typescript
87
+ // main.ts (按需引入时只需引入基础样式)
88
+ import 'sunyard-szyy-ui/theme-chalk/base.css';
89
+ ```
90
+
91
+ ### 使用组件
92
+
93
+ ```vue
94
+ <template>
95
+ <div>
96
+ <SySearchBar v-model="keyword" placeholder="请输入搜索关键词" @search="handleSearch" />
97
+ </div>
98
+ </template>
99
+
100
+ <script setup lang="ts">
101
+ import { ref } from 'vue';
102
+
103
+ const keyword = ref('');
104
+
105
+ const handleSearch = (value: string) => {
106
+ console.log('搜索:', value);
107
+ };
108
+ </script>
109
+ ```
110
+
111
+ ## 📚 包结构
112
+
113
+ 本项目采用 Monorepo 架构,包含以下子包:
114
+
115
+ ```
116
+ sunyard-szyy-ui/
117
+ ├── @sunyard-szyy-ui/components # Vue 组件
118
+ ├── @sunyard-szyy-ui/hooks # Composition API Hooks
119
+ ├── @sunyard-szyy-ui/utils # 工具函数
120
+ ├── @sunyard-szyy-ui/theme-chalk # 样式主题
121
+ └── sunyard-szyy-ui # 主包(聚合导出)
122
+ ```
123
+
124
+ ### 子包说明
125
+
126
+ | 包名 | 说明 | 独立使用 |
127
+ | ------------------------------ | --------------------- | --------- |
128
+ | `sunyard-szyy-ui` | 主包,包含所有功能 | ✅ 推荐 |
129
+ | `@sunyard-szyy-ui/components` | Vue 组件 | ✅ 可以 |
130
+ | `@sunyard-szyy-ui/hooks` | Composition API Hooks | ✅ 可以 |
131
+ | `@sunyard-szyy-ui/utils` | 工具函数 | ✅ 可以 |
132
+ | `@sunyard-szyy-ui/theme-chalk` | 样式主题 | ❌ 不推荐 |
133
+
134
+ ## 📦 发布产物
135
+
136
+ 安装 `sunyard-szyy-ui` 后,包含以下内容:
137
+
138
+ ```
139
+ sunyard-szyy-ui/
140
+ ├── es/ # ESM 格式
141
+ │ ├── index.mjs
142
+ │ └── index.d.ts
143
+ ├── lib/ # CJS 格式
144
+ │ ├── index.js
145
+ │ └── index.d.ts
146
+ ├── dist/ # UMD 格式 + 子包
147
+ │ ├── index.full.js # UMD bundle
148
+ │ ├── index.full.mjs # ESM bundle
149
+ │ ├── hooks/ # Hooks 子包
150
+ │ └── utils/ # Utils 子包
151
+ └── theme-chalk/ # 样式文件
152
+ ├── index.css # 完整样式
153
+ ├── base.css # 基础样式
154
+ └── *.css # 组件样式
155
+ ```
156
+
157
+ ## 🤝 依赖关系
158
+
159
+ ```
160
+ sunyard-szyy-ui
161
+ ├── @sunyard-szyy-ui/components
162
+ │ ├── @sunyard-szyy-ui/hooks
163
+ │ │ └── @sunyard-szyy-ui/utils
164
+ │ └── @sunyard-szyy-ui/utils
165
+ ├── @sunyard-szyy-ui/hooks
166
+ │ └── @sunyard-szyy-ui/utils
167
+ └── @sunyard-szyy-ui/utils
168
+ ```
169
+
170
+ **外部依赖(Peer Dependencies):**
171
+
172
+ - `vue` ^3.0.0
173
+ - `element-plus` ^2.0.0
@@ -0,0 +1,4 @@
1
+ (function(e,u){typeof exports=="object"&&typeof module!="undefined"?u(exports,require("element-plus"),require("vue"),require("@sunyard-szyy-ui/hooks"),require("@sunyard-szyy-ui/utils")):typeof define=="function"&&define.amd?define(["exports","element-plus","vue","@sunyard-szyy-ui/hooks","@sunyard-szyy-ui/utils"],u):(e=typeof globalThis!="undefined"?globalThis:e||self,u(e.SunyardSzyyUI={},e.ElementPlus,e.Vue,e.hooks,e.utils))})(this,function(e,u,n,i,d){"use strict";/*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY Base Team
4
+ */const y=n.defineComponent({name:"SySearchBar",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入关键字"},buttonText:{type:String,default:"搜索"}},emits:["update:modelValue","search"],setup(r,{emit:s}){const l=i.useNamespace("search-bar"),a=n.ref(r.modelValue);n.watch(()=>r.modelValue,t=>{t!==a.value&&(a.value=t)});function o(){s("search",a.value)}return()=>n.h("div",{class:l.b()},[n.h(u.ElInput,{class:l.e("input"),modelValue:a.value,placeholder:r.placeholder,clearable:!0,"onUpdate:modelValue":t=>{a.value=t,s("update:modelValue",t)},onKeydown:t=>{t.key==="Enter"&&o()}}),n.h(u.ElButton,{class:l.e("button"),type:"primary",onClick:o},()=>r.buttonText)])}}),c=d.withInstall(y);e.SySearchBar=c,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,64 @@
1
+ import { ElInput as u, ElButton as c } from "element-plus";
2
+ import { defineComponent as d, ref as m, watch as i, h as o } from "vue";
3
+ import { useNamespace as p } from "@sunyard-szyy-ui/hooks";
4
+ import { withInstall as s } from "@sunyard-szyy-ui/utils";
5
+ /*!
6
+ * sunyard-szyy-ui v0.3.0
7
+ * (c) 2026 Sunyard SZYY Base Team
8
+ */
9
+ const h = d({
10
+ name: "SySearchBar",
11
+ props: {
12
+ modelValue: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ placeholder: {
17
+ type: String,
18
+ default: "请输入关键字"
19
+ },
20
+ buttonText: {
21
+ type: String,
22
+ default: "搜索"
23
+ }
24
+ },
25
+ emits: ["update:modelValue", "search"],
26
+ setup(t, { emit: r }) {
27
+ const l = p("search-bar"), a = m(t.modelValue);
28
+ i(
29
+ () => t.modelValue,
30
+ (e) => {
31
+ e !== a.value && (a.value = e);
32
+ }
33
+ );
34
+ function n() {
35
+ r("search", a.value);
36
+ }
37
+ return () => o("div", { class: l.b() }, [
38
+ o(u, {
39
+ class: l.e("input"),
40
+ modelValue: a.value,
41
+ placeholder: t.placeholder,
42
+ clearable: !0,
43
+ "onUpdate:modelValue": (e) => {
44
+ a.value = e, r("update:modelValue", e);
45
+ },
46
+ onKeydown: (e) => {
47
+ e.key === "Enter" && n();
48
+ }
49
+ }),
50
+ o(
51
+ c,
52
+ {
53
+ class: l.e("button"),
54
+ type: "primary",
55
+ onClick: n
56
+ },
57
+ () => t.buttonText
58
+ )
59
+ ]);
60
+ }
61
+ }), b = s(h);
62
+ export {
63
+ b as SySearchBar
64
+ };
package/es/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { SySearchBar } from '@sunyard-szyy-ui/components';
3
3
  export * from '@sunyard-szyy-ui/hooks';
4
4
  export * from '@sunyard-szyy-ui/utils';
5
5
  export { makeInstaller } from './make-installer';
6
- export declare const version = "0.2.5";
6
+ export { version } from './version';
7
7
  export declare const install: (app: App) => void;
8
8
  declare const _default: {
9
9
  version: string;
package/es/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,eAAO,MAAM,OAAO,UAAU,CAAC;AAM/B,eAAO,MAAM,OAAO,GAAI,KAAK,GAAG,SAE/B,CAAC;;;mBAF2B,GAAG;;AAKhC,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAKvC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,eAAO,MAAM,OAAO,GAAI,KAAK,GAAG,SAgC/B,CAAC;;;mBAhC2B,GAAG;;AAmChC,wBAGE"}
package/es/index.mjs CHANGED
@@ -1 +1,4 @@
1
- import{SySearchBar as e}from"@sunyard-szyy-ui/components";import{SySearchBar as p}from"@sunyard-szyy-ui/components";export*from"@sunyard-szyy-ui/hooks";export*from"@sunyard-szyy-ui/utils";import{makeInstaller as S}from"./make-installer.mjs";const t="0.2.5",a=[e],n=o=>{a.forEach(r=>o.use(r))},c={version:t,install:n};export{p as SySearchBar,c as default,n as install,S as makeInstaller,t as version};
1
+ import{SySearchBar as t}from"@sunyard-szyy-ui/components";import{SySearchBar as f}from"@sunyard-szyy-ui/components";import{version as e}from"./version.mjs";export*from"@sunyard-szyy-ui/hooks";export*from"@sunyard-szyy-ui/utils";import{makeInstaller as S}from"./make-installer.mjs";/*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */const r=[t],a=n=>{if(typeof window!="undefined"&&(console.log(`%c[Sunyard SZYY UI]%c v${e} %cinstalled`,"color: #409eff; font-weight: bold","color: #67c23a","color: #909399"),window.__SUNYARD_SZYY_UI_VERSION__=e,window.__SUNYARD_SZYY_UI__={version:e,components:r.map(o=>o.name||"Unknown")}),r.forEach(o=>n.use(o)),typeof window!="undefined"){const o=window.__VUE_DEVTOOLS_GLOBAL_HOOK__;o&&o.emit("app:init",n,e,{label:"Sunyard SZYY UI",packageName:"sunyard-szyy-ui",homepage:"https://github.com/your-org/sunyard-szyy-ui"})}},c={version:e,install:a};export{f as SySearchBar,c as default,a as install,S as makeInstaller,e as version};
@@ -3,13 +3,14 @@ import type { App, Plugin } from 'vue';
3
3
  * 创建组件库安装器
4
4
  *
5
5
  * @param components - 组件列表
6
- * @returns 包含 install 方法的插件对象
6
+ * @param version - 版本号
7
+ * @returns 包含 install 方法和 version 的插件对象
7
8
  *
8
9
  * @example
9
- * const installer = makeInstaller([SySearchBar, SyButton]);
10
+ * const installer = makeInstaller([SySearchBar, SyButton], '1.0.0');
10
11
  * app.use(installer);
11
12
  */
12
- export declare const makeInstaller: (components?: Plugin[]) => {
13
+ export declare const makeInstaller: (components?: Plugin[], version?: string) => {
13
14
  version: string;
14
15
  install: (app: App) => void;
15
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"make-installer.d.ts","sourceRoot":"","sources":["../src/make-installer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAIvC;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,aAAY,MAAM,EAAO;;mBAC/B,GAAG;CAc1B,CAAC"}
1
+ {"version":3,"file":"make-installer.d.ts","sourceRoot":"","sources":["../src/make-installer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAIvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,GAAI,aAAY,MAAM,EAAO,EAAE,gBAAiB;;mBAClD,GAAG;CAc1B,CAAC"}
@@ -1 +1,4 @@
1
- const n=Symbol("SUNYARD_SZYY_UI_INSTALLED"),l=(r=[])=>({version:"0.2.5",install:t=>{t[n]||(t[n]=!0,r.forEach(e=>t.use(e)))}});export{l as makeInstaller};
1
+ /*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */const n=Symbol("SUNYARD_SZYY_UI_INSTALLED"),o=(r=[],e="0.0.0")=>({version:e,install:t=>{t[n]||(t[n]=!0,r.forEach(l=>t.use(l)))}});export{o as makeInstaller};
@@ -1 +1 @@
1
- {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../src/search-bar/style/css.ts"],"names":[],"mappings":"AACA,OAAO,6CAA6C,CAAC;AACrD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,4CAA4C,CAAC"}
1
+ {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../src/search-bar/style/css.ts"],"names":[],"mappings":"AACA,OAAO,6CAA6C,CAAC;AACrD,OAAO,4CAA4C,CAAC;AAKpD,OAAO,4CAA4C,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 自动生成的版本文件
3
+ * 请勿手动修改
4
+ * 通过 pnpm version:set 命令更新版本号
5
+ */
6
+ export declare const version = "0.3.0";
7
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/es/version.mjs ADDED
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */const o="0.3.0";export{o as version};
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { SySearchBar } from '@sunyard-szyy-ui/components';
3
3
  export * from '@sunyard-szyy-ui/hooks';
4
4
  export * from '@sunyard-szyy-ui/utils';
5
5
  export { makeInstaller } from './make-installer';
6
- export declare const version = "0.2.5";
6
+ export { version } from './version';
7
7
  export declare const install: (app: App) => void;
8
8
  declare const _default: {
9
9
  version: string;
package/lib/index.js CHANGED
@@ -1 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("@sunyard-szyy-ui/components"),t=require("@sunyard-szyy-ui/hooks"),r=require("@sunyard-szyy-ui/utils"),c=require("./make-installer.js"),a="0.2.5",l=[o.SySearchBar],n=e=>{l.forEach(s=>e.use(s))},u={version:a,install:n};Object.defineProperty(exports,"SySearchBar",{enumerable:!0,get:()=>o.SySearchBar});exports.makeInstaller=c.makeInstaller;exports.default=u;exports.install=n;exports.version=a;Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>r[e]})});
1
+ "use strict";/*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("@sunyard-szyy-ui/components"),r=require("./version.js"),n=require("@sunyard-szyy-ui/hooks"),t=require("@sunyard-szyy-ui/utils"),c=require("./make-installer.js"),i=[s.SySearchBar],a=e=>{if(typeof window!="undefined"&&(console.log(`%c[Sunyard SZYY UI]%c v${r.version} %cinstalled`,"color: #409eff; font-weight: bold","color: #67c23a","color: #909399"),window.__SUNYARD_SZYY_UI_VERSION__=r.version,window.__SUNYARD_SZYY_UI__={version:r.version,components:i.map(o=>o.name||"Unknown")}),i.forEach(o=>e.use(o)),typeof window!="undefined"){const o=window.__VUE_DEVTOOLS_GLOBAL_HOOK__;o&&o.emit("app:init",e,r.version,{label:"Sunyard SZYY UI",packageName:"sunyard-szyy-ui",homepage:"https://github.com/your-org/sunyard-szyy-ui"})}},l={version:r.version,install:a};Object.defineProperty(exports,"SySearchBar",{enumerable:!0,get:()=>s.SySearchBar});exports.version=r.version;exports.makeInstaller=c.makeInstaller;exports.default=l;exports.install=a;Object.keys(n).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>n[e]})});Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});
@@ -3,13 +3,14 @@ import type { App, Plugin } from 'vue';
3
3
  * 创建组件库安装器
4
4
  *
5
5
  * @param components - 组件列表
6
- * @returns 包含 install 方法的插件对象
6
+ * @param version - 版本号
7
+ * @returns 包含 install 方法和 version 的插件对象
7
8
  *
8
9
  * @example
9
- * const installer = makeInstaller([SySearchBar, SyButton]);
10
+ * const installer = makeInstaller([SySearchBar, SyButton], '1.0.0');
10
11
  * app.use(installer);
11
12
  */
12
- export declare const makeInstaller: (components?: Plugin[]) => {
13
+ export declare const makeInstaller: (components?: Plugin[], version?: string) => {
13
14
  version: string;
14
15
  install: (app: App) => void;
15
16
  };
@@ -1 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=Symbol("SUNYARD_SZYY_UI_INSTALLED"),n=(r=[])=>({version:"0.2.5",install:e=>{e[t]||(e[t]=!0,r.forEach(l=>e.use(l)))}});exports.makeInstaller=n;
1
+ "use strict";/*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Symbol("SUNYARD_SZYY_UI_INSTALLED"),s=(l=[],r="0.0.0")=>({version:r,install:t=>{t[e]||(t[e]=!0,l.forEach(n=>t.use(n)))}});exports.makeInstaller=s;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 自动生成的版本文件
3
+ * 请勿手动修改
4
+ * 通过 pnpm version:set 命令更新版本号
5
+ */
6
+ export declare const version = "0.3.0";
7
+ //# sourceMappingURL=version.d.ts.map
package/lib/version.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";/*!
2
+ * sunyard-szyy-ui v0.3.0
3
+ * (c) 2026 Sunyard SZYY UI Team
4
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.3.0";exports.version=e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sunyard-szyy-ui",
3
- "version": "0.2.7",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
@@ -19,6 +19,7 @@
19
19
  "types": "./lib/index.d.ts",
20
20
  "require": "./lib/index.js"
21
21
  },
22
+ "./dist/*": "./dist/*",
22
23
  "./hooks": {
23
24
  "types": "./dist/hooks/index.d.ts",
24
25
  "import": "./dist/hooks/index.js",
@@ -82,9 +83,9 @@
82
83
  "vue": "^3.0.0"
83
84
  },
84
85
  "dependencies": {
85
- "@sunyard-szyy-ui/components": "0.2.7",
86
- "@sunyard-szyy-ui/hooks": "0.2.7",
87
- "@sunyard-szyy-ui/utils": "0.2.7"
86
+ "@sunyard-szyy-ui/components": "0.3.0",
87
+ "@sunyard-szyy-ui/hooks": "0.3.0",
88
+ "@sunyard-szyy-ui/utils": "0.3.0"
88
89
  },
89
90
  "publishConfig": {
90
91
  "access": "public"