hy-app 0.2.10 → 0.2.11

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.
@@ -1,5 +1,10 @@
1
1
  <template>
2
- <view class="hy-popover" :style="customStyle" id="popover" @click.stop="popover.noop">
2
+ <view
3
+ :class="['hy-popover', customClass]"
4
+ :style="customStyle"
5
+ id="popover"
6
+ @click.stop="popover.noop"
7
+ >
3
8
  <!-- 使用插槽时无法获取正确宽高 -->
4
9
  <view class="hy-popover__pos hy-popover__hidden" id="pos">
5
10
  <view class="hy-popover__container">
@@ -53,4 +53,8 @@ export default interface HyOverlayProps {
53
53
  * @description 定义需要用到的外部样式
54
54
  * */
55
55
  customStyle?: CSSProperties
56
+ /**
57
+ * @description 定义需要用到的类名
58
+ * */
59
+ customClass?: string
56
60
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hy-app",
3
- "version": "0.2.10",
4
- "description": "fix: 微信小程序气泡组件在小程序列表不默认关闭",
3
+ "version": "0.2.11",
4
+ "description": "增加修改组件提示",
5
5
  "main": "./index.ts",
6
6
  "private": false,
7
7
  "scripts": {},
@@ -22,22 +22,12 @@
22
22
  "theme.scss",
23
23
  "README.md"
24
24
  ],
25
- "dependencies": {
26
- "@dcloudio/uni-app": "3.0.0-alpha-3081220230802001",
27
- "pinia": "^2.3.1",
28
- "pinia-plugin-unistorage": "^0.0.8",
29
- "vue": "^3.5.13",
30
- "vue-i18n": "^9.14.3"
31
- },
32
- "devDependencies": {
33
- "@dcloudio/types": "^3.4.14",
34
- "@vue/tsconfig": "^0.1.3",
35
- "uni-app-types": "^0.1.7"
36
- },
37
25
  "keywords": [
38
26
  "华玥组件库",
39
- "ui组件库"
27
+ "ui组件库",
28
+ "暗黑模式"
40
29
  ],
30
+ "web-types": "web-types.json",
41
31
  "author": "gaoxianhua",
42
- "license": "ISC"
32
+ "license": "MIT"
43
33
  }