@gmcb/uv-ui 0.3.3 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.3.3...@gmcb/uv-ui@0.3.4) (2026-07-02)
7
+
8
+ **Note:** Version bump only for package @gmcb/uv-ui
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.3.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/uv-ui@0.3.2...@gmcb/uv-ui@0.3.3) (2026-06-23)
7
15
 
8
16
  **Note:** Version bump only for package @gmcb/uv-ui
@@ -78,12 +78,13 @@
78
78
  * @property {String | Number} fontSize 字体大小 (默认 14 )
79
79
  * @property {Object} customStyle 定义需要用到的外部样式
80
80
  * @event {Function} click 点击组件时触发
81
+ * @event {Function} close 关闭组件时触发
81
82
  * @example <uv-alert :title="title" type = "warning" :closable="closable" :description = "description"></uv-alert>
82
83
  */
83
84
  export default {
84
85
  name: 'uv-alert',
85
86
  mixins: [mpMixin, mixin, props],
86
- emits: ['click'],
87
+ emits: ['click', 'close'],
87
88
  data() {
88
89
  return {
89
90
  show: true
@@ -124,6 +125,7 @@
124
125
  // 点击关闭按钮
125
126
  closeHandler() {
126
127
  this.show = false
128
+ this.$emit('close')
127
129
  }
128
130
  }
129
131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmcb/uv-ui",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。",
5
5
  "main": "index.js",
6
6
  "homepage": "https://git.keeprisk.cn/gmcb/front-end/tree/master/packages/uv-ui",
@@ -29,5 +29,5 @@
29
29
  "index.scss",
30
30
  "theme.scss"
31
31
  ],
32
- "gitHead": "00822ef738ac2c4e53d3304dbad4d427728dd82b"
32
+ "gitHead": "b490689211c85faf2324dce167666aed87f7a66a"
33
33
  }