ydb-components-material 0.1.197 → 0.1.199

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.
@@ -18,7 +18,7 @@
18
18
  align-items: center;
19
19
 
20
20
  .file_img {
21
- width: 80px;
21
+ min-width: 80px;
22
22
  height: 80px;
23
23
  border-radius: 4px;
24
24
  position: relative;
@@ -168,7 +168,7 @@
168
168
 
169
169
  .img_btn {
170
170
  margin-left: 8px;
171
- width: 68px;
171
+ min-width: 68px;
172
172
  height: 26px;
173
173
  border-radius: 4px;
174
174
  opacity: 1;
@@ -113,13 +113,6 @@ var SignFilePc = function SignFilePc(props) {
113
113
  originalFileId: originalFileId,
114
114
  isReSign: hasSigned
115
115
  }), isShowSealPage && /*#__PURE__*/React.createElement(SealPage, {
116
- style: {
117
- position: 'absolute',
118
- top: '0',
119
- left: '0',
120
- width: '100%',
121
- height: '100%'
122
- },
123
116
  showClose: false,
124
117
  isShowSealPage: isShowSealPage,
125
118
  userInfo: userInfo,
@@ -1,10 +1,24 @@
1
1
  .sign_file_pc {
2
+ position: relative; // 签批/签章弹层的定位参照
2
3
  width: 1200px;
3
4
  margin: 0 auto;
4
5
  box-sizing: border-box;
6
+ overflow: hidden; // 配合弹层裁掉溢出,保留卡片圆角
5
7
  background: #ffffff;
6
8
  border-radius: 12px;
7
9
 
10
+ // 签批/签章页面:只覆盖卡片区域。想要全屏遮罩就把 absolute 换成 fixed
11
+ .sealPage,
12
+ .sign_page {
13
+ position: fixed;
14
+ top: 0;
15
+ left: 0;
16
+ width: 100%;
17
+ height: 100%;
18
+ z-index: 99;
19
+ background: rgba(0, 0, 0, 0.5);
20
+ }
21
+
8
22
  .sign_file_pc_header {
9
23
  padding: 24px 24px 18px;
10
24
  font-size: 16px;
@@ -18,7 +18,7 @@
18
18
  align-items: center;
19
19
 
20
20
  .file_img {
21
- width: 80px;
21
+ min-width: 80px;
22
22
  height: 80px;
23
23
  border-radius: 4px;
24
24
  position: relative;
@@ -168,7 +168,7 @@
168
168
 
169
169
  .img_btn {
170
170
  margin-left: 8px;
171
- width: 68px;
171
+ min-width: 68px;
172
172
  height: 26px;
173
173
  border-radius: 4px;
174
174
  opacity: 1;
@@ -118,13 +118,6 @@ var SignFilePc = function SignFilePc(props) {
118
118
  originalFileId: originalFileId,
119
119
  isReSign: hasSigned
120
120
  }), isShowSealPage && /*#__PURE__*/_react["default"].createElement(_seal["default"], {
121
- style: {
122
- position: 'absolute',
123
- top: '0',
124
- left: '0',
125
- width: '100%',
126
- height: '100%'
127
- },
128
121
  showClose: false,
129
122
  isShowSealPage: isShowSealPage,
130
123
  userInfo: userInfo,
@@ -1,10 +1,24 @@
1
1
  .sign_file_pc {
2
+ position: relative; // 签批/签章弹层的定位参照
2
3
  width: 1200px;
3
4
  margin: 0 auto;
4
5
  box-sizing: border-box;
6
+ overflow: hidden; // 配合弹层裁掉溢出,保留卡片圆角
5
7
  background: #ffffff;
6
8
  border-radius: 12px;
7
9
 
10
+ // 签批/签章页面:只覆盖卡片区域。想要全屏遮罩就把 absolute 换成 fixed
11
+ .sealPage,
12
+ .sign_page {
13
+ position: fixed;
14
+ top: 0;
15
+ left: 0;
16
+ width: 100%;
17
+ height: 100%;
18
+ z-index: 99;
19
+ background: rgba(0, 0, 0, 0.5);
20
+ }
21
+
8
22
  .sign_file_pc_header {
9
23
  padding: 24px 24px 18px;
10
24
  font-size: 16px;
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
99
  packageName = 'ydb-components-material';
100
100
  }
101
101
  if (version === void 0) {
102
- version = '0.1.197';
102
+ version = '0.1.199';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -104,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
104
104
  packageName = 'ydb-components-material';
105
105
  }
106
106
  if (version === void 0) {
107
- version = '0.1.197';
107
+ version = '0.1.199';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.197",
3
+ "version": "0.1.199",
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.197/build/lowcode/assets-prod.json"
105
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.199/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.197/build/index.html"
110
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.199/build/index.html"
111
111
  }