@aplus-frontend/ui 0.5.9 → 0.5.10

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": "@aplus-frontend/ui",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -67,17 +67,17 @@
67
67
  "vuedraggable": "^4.1.0",
68
68
  "vxe-pc-ui": "4.4.4",
69
69
  "vxe-table": "4.11.18",
70
- "@aplus-frontend/utils": "1.0.52",
71
- "@aplus-frontend/hooks": "1.0.7"
70
+ "@aplus-frontend/hooks": "1.0.7",
71
+ "@aplus-frontend/utils": "1.0.52"
72
72
  },
73
73
  "peerDependencies": {
74
- "@aplus-frontend/antdv": "^1.0.13",
74
+ "@aplus-frontend/antdv": "^1.1.0",
75
75
  "@aplus-frontend/icon": "^1.2.1",
76
76
  "@aplus-frontend/oss": "^1.1.2",
77
77
  "vue": "^3.5.13"
78
78
  },
79
79
  "devDependencies": {
80
- "@aplus-frontend/antdv": "^1.0.13",
80
+ "@aplus-frontend/antdv": "^1.1.0",
81
81
  "@aplus-frontend/icon": "^1.2.1",
82
82
  "@aplus-frontend/oss": "^1.1.2",
83
83
  "@types/sortablejs": "^1.15.8",
@@ -17,6 +17,16 @@
17
17
  .aplus-ap-descriptions .ant-descriptions .ant-descriptions-item-label::after {
18
18
  margin-inline: 4px 20px;
19
19
  }
20
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-label {
21
+ flex-shrink: 0;
22
+ }
23
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-content {
24
+ flex-shrink: 1;
25
+ min-width: 0px;
26
+ }
27
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-content .ant-typography-ellipsis {
28
+ max-width: 100%;
29
+ }
20
30
  .aplus-ap-descriptions--item-label .ant-typography-single-line {
21
31
  white-space: normal;
22
32
  }
@@ -36,6 +36,19 @@
36
36
  }
37
37
  }
38
38
 
39
+ &-item__ellipsis {
40
+ .ant-descriptions-item-label {
41
+ flex-shrink: 0;
42
+ }
43
+ .ant-descriptions-item-content {
44
+ flex-shrink: 1;
45
+ min-width: 0px;
46
+ .ant-typography-ellipsis {
47
+ max-width: 100%;
48
+ }
49
+ }
50
+ }
51
+
39
52
  &--item-label {
40
53
  // 解决英文单词问题
41
54
  .ant-typography-single-line {
package/theme/index.css CHANGED
@@ -184,6 +184,16 @@
184
184
  .aplus-ap-descriptions .ant-descriptions .ant-descriptions-item-label::after {
185
185
  margin-inline: 4px 20px;
186
186
  }
187
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-label {
188
+ flex-shrink: 0;
189
+ }
190
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-content {
191
+ flex-shrink: 1;
192
+ min-width: 0px;
193
+ }
194
+ .aplus-ap-descriptions-item__ellipsis .ant-descriptions-item-content .ant-typography-ellipsis {
195
+ max-width: 100%;
196
+ }
187
197
  .aplus-ap-descriptions--item-label .ant-typography-single-line {
188
198
  white-space: normal;
189
199
  }