ydb-components-material 0.1.178 → 0.1.180

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.
Files changed (51) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/static/tip.aedceb23.svg +1 -0
  7. package/build/docs/{umi.de0e63af.css → umi.8923d6dc.css} +1 -1
  8. package/build/docs/umi.8a95c7c6.js +1 -0
  9. package/build/docs/~demos/:uuid.html +3 -3
  10. package/build/docs/~demos/colorful-button-demo.html +3 -3
  11. package/build/docs/~demos/colorful-input-demo.html +3 -3
  12. package/build/lowcode/3.js +2 -2
  13. package/build/lowcode/4.js +1 -1
  14. package/build/lowcode/5.js +1 -1
  15. package/build/lowcode/assets-daily.json +11 -11
  16. package/build/lowcode/assets-dev.json +2 -2
  17. package/build/lowcode/assets-prod.json +11 -11
  18. package/build/lowcode/index.js +1 -1
  19. package/build/lowcode/meta.js +1 -1
  20. package/build/lowcode/preview.js +8 -8
  21. package/build/lowcode/render/default/1.js +2 -2
  22. package/build/lowcode/render/default/2.js +1 -1
  23. package/build/lowcode/render/default/3.js +1 -1
  24. package/build/lowcode/render/default/view.css +1 -1
  25. package/build/lowcode/render/default/view.js +17 -17
  26. package/build/lowcode/view.css +1 -1
  27. package/build/lowcode/view.js +17 -17
  28. package/dist/1.js +2 -2
  29. package/dist/2.js +1 -1
  30. package/dist/3.js +1 -1
  31. package/dist/BizComps.css +1 -1
  32. package/dist/BizComps.js +20 -20
  33. package/dist/BizComps.js.map +1 -1
  34. package/es/components/file-list/icon/tip.svg +1 -0
  35. package/es/components/file-list/index.js +17 -1
  36. package/es/components/file-list/index.scss +6 -0
  37. package/es/components/file-list/item.js +14 -4
  38. package/es/components/file-list/signerInfo.js +46 -6
  39. package/es/components/file-list/signerInfo.scss +174 -0
  40. package/es/style.js +1 -0
  41. package/lib/components/file-list/icon/tip.svg +1 -0
  42. package/lib/components/file-list/index.js +17 -1
  43. package/lib/components/file-list/index.scss +6 -0
  44. package/lib/components/file-list/item.js +14 -4
  45. package/lib/components/file-list/signerInfo.js +46 -6
  46. package/lib/components/file-list/signerInfo.scss +174 -0
  47. package/lib/style.js +1 -0
  48. package/lowcode_es/meta.js +1 -1
  49. package/lowcode_lib/meta.js +1 -1
  50. package/package.json +3 -3
  51. package/build/docs/umi.c1d447f4.js +0 -1
@@ -63,6 +63,104 @@
63
63
  left: 0;
64
64
  width: 100%;
65
65
 
66
+ // PC 端:居中显示在页面中上部,宽度占 70vw
67
+ &.signer-info-pc {
68
+ top: 10vh;
69
+ bottom: auto;
70
+ left: 50%;
71
+ transform: translateX(-50%);
72
+ background: #FFFFFF;
73
+ width: 70vw;
74
+ border-radius: 16px;
75
+ max-height: 80vh;
76
+ // flex 纵向布局:标题固定,内容区滚动,footer 始终贴底
77
+ display: flex;
78
+ flex-direction: column;
79
+ overflow: hidden;
80
+ // 卡片标题行:横向排布
81
+ .signer-info-item-title {
82
+ align-items: center;
83
+ .signer-info-item-delete {
84
+ margin-left: auto;
85
+ }
86
+ }
87
+
88
+ // 卡片内容:四个字段横向并排(grid 四列),每个字段内 label 在上、控件在下
89
+ .signer-info-item-content {
90
+ display: grid;
91
+ grid-template-columns: repeat(5, 1fr);
92
+ gap: 8px 16px;
93
+ padding: 16px;
94
+ box-sizing: border-box;
95
+ margin-bottom: 70px !important;
96
+
97
+ .signer-info-item-box {
98
+ display: flex;
99
+ flex-direction: column;
100
+ align-items: flex-start !important;
101
+ gap: 8px;
102
+ border: none;
103
+ padding: 0 !important;
104
+ border: none !important;
105
+
106
+ .signer-info-item-label {
107
+ width: auto;
108
+ white-space: nowrap;
109
+ font-size: 13px;
110
+ color: #999999;
111
+ }
112
+
113
+ .signer-info-item-label-tip {
114
+ color: #F7625D;
115
+ }
116
+
117
+ // 输入框/下拉占满列宽
118
+ .signer-info-input,
119
+ .next-input,
120
+ .signer-info-select,
121
+ .next-select,
122
+ input {
123
+ width: 100%;
124
+ }
125
+
126
+ }
127
+ }
128
+
129
+
130
+
131
+ // 底部操作栏(定位由文件末尾的覆盖规则统一控制)
132
+ .footer {
133
+ width: 100%;
134
+ display: flex;
135
+ align-items: center;
136
+ justify-content: space-between;
137
+ border-top: 1px solid #EEEEEE;
138
+ .footer-btns {
139
+ display: flex;
140
+ gap: 12px;
141
+ .cancel,
142
+ .next {
143
+ height: 36px;
144
+ padding: 0 24px;
145
+ border-radius: 5px;
146
+ font-size: 14px;
147
+ line-height: 36px;
148
+ text-align: center;
149
+ cursor: pointer;
150
+ }
151
+ .cancel {
152
+ border: 1px solid #1678FF;
153
+ color: #1678FF;
154
+ background: #FFFFFF;
155
+ }
156
+ .next {
157
+ background: #1678FF;
158
+ color: #FFFFFF;
159
+ }
160
+ }
161
+ }
162
+ }
163
+
66
164
 
67
165
  .signer-info-title {
68
166
  border-radius: 16px 16px 0px 0px;
@@ -187,3 +285,79 @@
187
285
  }
188
286
  }
189
287
  }
288
+
289
+ // PC 端输入框/下拉强制加边框
290
+ // 必须放在文件末尾且写满完整路径(5 个类,与移动端 border:none!important 规则特异性相同),
291
+ // 依赖"源顺序在后优先"覆盖移动端的无边框样式
292
+ // 普通输入框只加在 .next-input 上;下拉框只加在外层 .next-select 上,
293
+ // 并把下拉框内层的 .next-input 边框去掉,避免"加两次"
294
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .signer-info-input,
295
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .next-input {
296
+ border: 1px solid #CCCCCC !important;
297
+ border-radius: 4px;
298
+ background: #FFFFFF;
299
+ }
300
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .next-select,
301
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .signer-info-select {
302
+ border: 1px solid #CCCCCC !important;
303
+ border-radius: 4px;
304
+ background: #FFFFFF;
305
+ }
306
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .next-select .next-input,
307
+ .signer-info-pc .signer-info-content .signer-info-item .signer-info-item-box .signer-info-select .next-input {
308
+ border: none !important;
309
+ border-radius: 4px;
310
+ background: transparent;
311
+ }
312
+
313
+ // PC 端底部操作栏固定贴在弹窗底部
314
+ // flex 纵向布局下,footer 不需要 sticky/fixed,靠 flex 结构自然贴底
315
+ .signer-info-pc .footer {
316
+ flex-shrink: 0;
317
+ width: 100%;
318
+ display: flex;
319
+ align-items: center;
320
+ justify-content: space-between;
321
+ background: #FFFFFF;
322
+ }
323
+
324
+ // PC 端内容区:占满剩余高度并滚动,标题固定、footer 贴底
325
+ .signer-info-pc .signer-info-content {
326
+ flex: 1;
327
+ min-height: 0;
328
+ overflow-y: auto;
329
+ margin-bottom: 0;
330
+ padding: 12px;
331
+ }
332
+
333
+ // PC 端标题:flex 布局下自然固定在顶部,禁用 sticky(flex 子项上 sticky 无意义)
334
+ .signer-info-pc .signer-info-title {
335
+ position: static;
336
+ flex-shrink: 0;
337
+ }
338
+
339
+ // PC 端二维码弹窗:居中显示在页面中上部
340
+ .qrcode-pc {
341
+ top: 10vh;
342
+ bottom: auto;
343
+ left: 50%;
344
+ transform: translateX(-50%);
345
+ width: 420px;
346
+ max-width: 90vw;
347
+ border-radius: 16px;
348
+ padding: 40px 32px;
349
+ box-sizing: border-box;
350
+ text-align: center;
351
+
352
+ .qrcode-canvas {
353
+ margin: 0 auto;
354
+ }
355
+
356
+ .tip {
357
+ margin: 0 auto;
358
+ }
359
+
360
+ .copy-link {
361
+ margin: 24px auto 0;
362
+ }
363
+ }
package/lib/style.js CHANGED
@@ -6,6 +6,7 @@ require('@alifd/next/lib/balloon/style');
6
6
  require('antd/lib/cascader/style');
7
7
  require('@alifd/next/lib/dialog/style');
8
8
  require('@alifd/next/lib/input/style');
9
+ require('@alifd/next/lib/select/style');
9
10
  require('@alifd/next/lib/loading/style');
10
11
  require('@alifd/next/lib/button/style');
11
12
  require('./index.scss');
@@ -98,7 +98,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
98
98
  packageName = 'ydb-components-material';
99
99
  }
100
100
  if (version === void 0) {
101
- version = '0.1.178';
101
+ version = '0.1.180';
102
102
  }
103
103
  if (basicLibraryVersion === void 0) {
104
104
  basicLibraryVersion = {
@@ -103,7 +103,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
103
103
  packageName = 'ydb-components-material';
104
104
  }
105
105
  if (version === void 0) {
106
- version = '0.1.178';
106
+ version = '0.1.180';
107
107
  }
108
108
  if (basicLibraryVersion === void 0) {
109
109
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.178",
3
+ "version": "0.1.180",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -102,10 +102,10 @@
102
102
  },
103
103
  "componentConfig": {
104
104
  "isComponentLibrary": true,
105
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.178/build/lowcode/assets-prod.json"
105
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.180/build/lowcode/assets-prod.json"
106
106
  },
107
107
  "lcMeta": {
108
108
  "type": "component"
109
109
  },
110
- "homepage": "https://unpkg.com/ydb-components-material@0.1.178/build/index.html"
110
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.180/build/index.html"
111
111
  }