@ysgroup/ui 0.1.40 → 0.1.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/ui",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -9,7 +9,7 @@
9
9
  "@ysgroup/contracts": "0.1.8"
10
10
  },
11
11
  "peerDependencies": {
12
- "@ysgroup/theme": ">=0.2.4",
12
+ "@ysgroup/theme": ">=0.2.5",
13
13
  "element-plus": ">=2.9",
14
14
  "vue": ">=3.5"
15
15
  },
@@ -22,6 +22,6 @@
22
22
  "access": "public"
23
23
  },
24
24
  "devDependencies": {
25
- "@ysgroup/theme": "^0.2.4"
25
+ "@ysgroup/theme": "^0.2.5"
26
26
  }
27
27
  }
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  /**
3
3
  * 数字角标:未读、待处理数量全平台只用它(样式在 @ysgroup/theme 的 count-badge.css)。
4
- * 1~2 位是 20px 正圆,超过 max 显示「99+」胶囊;0 或空不渲染。
4
+ * 统一椭圆(高 18px、最小宽 24px),超过 max 显示「99+」;0 或空不渲染。
5
5
  * 放在标签、图标右上角时传 corner,外层要 position: relative。
6
6
  */
7
7
  import { computed } from "vue";