From 24913db988e1a2590f00df281e3ad7301f90da71 Mon Sep 17 00:00:00 2001 From: Terry Zeng Date: Sat, 9 Sep 2023 18:24:39 +0800 Subject: [PATCH] release: v3.0.0-beta.3 --- CHANGELOG-CN.md | 4 ++++ CHANGELOG.md | 4 ++++ package.json | 13 ++++++++----- src/page.sass | 1 + 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/CHANGELOG-CN.md b/CHANGELOG-CN.md index a1b4a94..28cfcdd 100644 --- a/CHANGELOG-CN.md +++ b/CHANGELOG-CN.md @@ -2,6 +2,10 @@ 英文 changelog 内容请访问 [CHANGELOG](CHANGELOG.md) +## [3.0.0-beta.3](https://github.com/TerryZ/v-page/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2023-09-09) + +- 更新 package.json 的 `.d.ts` 相关设置 + ## [3.0.0-beta.2](https://github.com/TerryZ/v-page/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2023-01-25) - 升级依赖库 diff --git a/CHANGELOG.md b/CHANGELOG.md index a1472a8..3bbe3b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Please refer to [CHANGELOG-CN](CHANGELOG-CN.md) for Chinese changelog +## [3.0.0-beta.3](https://github.com/TerryZ/v-page/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2023-09-09) + +- Update the `.d.ts` related settings of package.json + ## [3.0.0-beta.2](https://github.com/TerryZ/v-page/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2023-01-25) - upgrade dependency libraries diff --git a/package.json b/package.json index 8b365d7..958751b 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,25 @@ { "name": "v-page", "description": "A simple pagination bar", - "version": "3.0.0-beta.2", + "version": "3.0.0-beta.3", "author": "TerryZ ", "type": "module", "files": [ - "/dist", - "/types" + "./dist", + "./types" ], "main": "./dist/v-page.umd.cjs", "module": "./dist/v-page.js", "exports": { ".": { - "import": "./dist/v-page.js", + "import": { + "types": "./types/index.d.ts", + "default": "./dist/v-page.js" + }, "require": "./dist/v-page.umd.cjs" } }, - "typings": "types/index.d.ts", + "typings": "./types/index.d.ts", "license": "MIT", "scripts": { "dev": "vite", diff --git a/src/page.sass b/src/page.sass index c4ac219..ed21f3f 100644 --- a/src/page.sass +++ b/src/page.sass @@ -20,6 +20,7 @@ $color-muted: #999 a padding: .3rem .6rem text-decoration: none + pointer-events: none line-height: 1.3 font-size: 14px margin: 0