lovelymaid 1.8.0 → 1.8.2

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
@@ -5,7 +5,7 @@
5
5
  在你的主入口文件(通常是 `main.js` 或 `main.ts`)**最顶部**添加以下导入语句:
6
6
 
7
7
  ```javascript
8
- import 'lovelymaid/dist/lovelymaid.css'
8
+ import 'lovelymaid/style.css'
9
9
  ```
10
10
 
11
11
  **重要提示:** 确保此导入语句位于项目中**所有其他样式导入之前**。这样你的自定义样式才能覆盖组件库的默认样式。
@@ -14,7 +14,7 @@ import 'lovelymaid/dist/lovelymaid.css'
14
14
 
15
15
  ```javascript
16
16
  // main.js 或 main.ts
17
- import 'lovelymaid/dist/lovelymaid.css' // ← 必须放在最前面!
17
+ import 'lovelymaid/style.css'
18
18
  import './your-own-styles.css'
19
19
  import { createApp } from 'vue'
20
20
  import App from './App.vue'
package/dist/index.d.ts CHANGED
@@ -27,3 +27,4 @@ export { default as TabBar } from './modules/TabBar.vue';
27
27
  export { default as Table, type ColumnConfig, type SortConfig } from './modules/Table.vue';
28
28
 
29
29
  export { default as TextArea } from './modules/TextArea';
30
+ import './side-effects';
@@ -2043,4 +2043,7 @@ var we = ["data-index"], Te = ["data-index"], Ee = /* @__PURE__ */ z(/* @__PURE_
2043
2043
  cell: "_cell_1lr9t_53"
2044
2044
  } }], ["__scopeId", "data-v-9c13e5df"]]), it = He;
2045
2045
  //#endregion
2046
+ //#region src/side-effects/index.ts
2047
+ document.addEventListener("touchstart", () => {}, { passive: !0 });
2048
+ //#endregion
2046
2049
  export { H as Button, Y as Card, le as CheckBox, _e as ContentBar, xe as FoldList, Ue as Form, We as Input, Ke as Loading, Je as MenuBar, Ye as Modal, Ze as Select, $e as SideBar, et as TabBar, rt as Table, it as TextArea };
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lovelymaid",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "一个基于 Vue 3, 模仿 iOS 26 风格的组件库",
5
5
  "keywords": [
6
6
  "components",
@@ -22,17 +22,22 @@
22
22
  },
23
23
  "scripts": {
24
24
  "start": "vite",
25
- "build": "vite build && node scripts/gen-clean-types.js"
25
+ "build": "vite build && node ./scripts/gen-clean-types.js",
26
+ "check": "vue-tsc"
26
27
  },
27
28
  "devDependencies": {
28
- "@vitejs/plugin-vue": "^6.0.1",
29
- "typescript": "^5.9.3",
30
- "vite": "^8.0.12",
29
+ "@vitejs/plugin-vue": "^6.0.8",
30
+ "typescript": "^6.0.3",
31
+ "vue-tsc": "^3.3.10",
32
+ "vite": "^8.2.2",
31
33
  "vite-plugin-static-copy": "^4.1.1",
32
- "vue": "^3.5.22",
33
- "vue-component-meta": "^3.3.9"
34
+ "vue": "^3.5.42",
35
+ "vue-component-meta": "^3.3.11"
34
36
  },
35
37
  "peerDependencies": {
36
38
  "vue": "^3.4.0"
39
+ },
40
+ "overrides": {
41
+ "typescript": "^6.0.3"
37
42
  }
38
43
  }