@ddwl/ddwl-ui 1.0.18 → 1.0.20

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
@@ -1,3 +1,22 @@
1
+ ## [1.0.20](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.19...v1.0.20) (2025-07-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 修复d-dialog/d-drawer title透传出现tootip问题 ([92d477e](https://121.40.23.60:51888/frontend/ddwl-ui/commits/92d477eb5846622b96305053d1d06fa1896fb498))
7
+ * 修复d-form direction属性为line时布局错乱问题 ([0329f88](https://121.40.23.60:51888/frontend/ddwl-ui/commits/0329f888f8fc4bd61c328179fe2ae0965ef57543))
8
+
9
+
10
+
11
+ ## [1.0.19](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.18...v1.0.19) (2025-07-09)
12
+
13
+
14
+ ### Features
15
+
16
+ * d-search-form下拉按钮样式调整 ([a2cc1c8](https://121.40.23.60:51888/frontend/ddwl-ui/commits/a2cc1c8d5b73092f441083f87c47c222661ff243))
17
+
18
+
19
+
1
20
  ## [1.0.18](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.17...v1.0.18) (2025-07-08)
2
21
 
3
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddwl/ddwl-ui",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "private": false,
5
5
  "main": "src/main.js",
6
6
  "description": "ddwl组件库",
@@ -4,6 +4,7 @@
4
4
  :class="fullscreen ? 'cover-screen-dialog' : ''"
5
5
  class="d-dialog"
6
6
  v-bind="$attrs"
7
+ :title="title"
7
8
  :close-on-click-modal="closeOnClickModal"
8
9
  :visible.sync="visible"
9
10
  :width="width"
@@ -46,6 +47,10 @@ export default {
46
47
  type: Boolean,
47
48
  default: false
48
49
  },
50
+ title: {
51
+ type: String,
52
+ default: ''
53
+ },
49
54
  closeOnClickModal: {
50
55
  type: Boolean,
51
56
  default: false
@@ -2,6 +2,7 @@
2
2
  <template>
3
3
  <el-drawer
4
4
  v-bind="$attrs"
5
+ :title="title"
5
6
  :close-on-click-modal="false"
6
7
  :visible.sync="visible"
7
8
  :size="width"
@@ -45,6 +46,10 @@ export default {
45
46
  type: Boolean,
46
47
  default: false
47
48
  },
49
+ title: {
50
+ type: String,
51
+ default: ''
52
+ },
48
53
  showButton: {
49
54
  type: Boolean,
50
55
  default: true
@@ -23,7 +23,7 @@
23
23
  :class="{ 'custom-form-item-top': item.direction === 'vertical' || direction === 'vertical' }"
24
24
  :label="item.label"
25
25
  :prop="item.prop"
26
- :label-width="item.direction === 'line' ? (item.labelWidth || labelWidth) : '100%'"
26
+ :label-width="(item.direction === 'line' || direction === 'line') ? (item.labelWidth || labelWidth) : '100%'"
27
27
  :rules="item.rules || (item.required ? [{ required: true, message: placeholder(item) }] : null)"
28
28
  v-bind="item.itemProps"
29
29
  >
@@ -240,7 +240,7 @@ export default {
240
240
  margin-top: 24px;
241
241
  }
242
242
  .expend-btn {
243
- padding: 8px 8px;
243
+ padding: 4px 8px;
244
244
  }
245
245
  }
246
246
  .search-item {