@chlp-tech/rpa-ui 0.0.5 → 0.0.7

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.
@@ -103,7 +103,7 @@ var MediaCardList = function MediaCardList(props) {
103
103
  src: mediaIcon[item.media],
104
104
  preview: false,
105
105
  width: 24
106
- }), /*#__PURE__*/React.createElement("div", {
106
+ }), item.count && /*#__PURE__*/React.createElement("div", {
107
107
  className: styles["media-round"]
108
108
  }, item.count)));
109
109
  }));
@@ -140,7 +140,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
140
140
  }
141
141
  }, props.time))), /*#__PURE__*/React.createElement(Space, {
142
142
  direction: 'vertical',
143
- size: 20,
143
+ size: 10,
144
144
  className: styles['card__header']
145
145
  }, /*#__PURE__*/React.createElement("div", {
146
146
  style: ((_props$mediaInfo = props.mediaInfo) === null || _props$mediaInfo === void 0 ? void 0 : _props$mediaInfo.type) === 'video' ? {} : {
@@ -149,11 +149,12 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
149
149
  }, /*#__PURE__*/React.createElement(TextEllipsis, {
150
150
  lines: 1
151
151
  }, "\u6807\u9898\uFF1A", props.title || '- -')), /*#__PURE__*/React.createElement("div", {
152
+ className: styles['card_content'],
152
153
  style: {
153
- height: 72
154
+ height: 55
154
155
  }
155
156
  }, /*#__PURE__*/React.createElement(TextEllipsis, {
156
- lines: 3
157
+ lines: 2
157
158
  }, "\u63CF\u8FF0\uFF1A", props.desc || '- -')), /*#__PURE__*/React.createElement("div", {
158
159
  className: styles['card__header__block']
159
160
  }, /*#__PURE__*/React.createElement("div", {
@@ -190,7 +191,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
190
191
  })), /*#__PURE__*/React.createElement("div", {
191
192
  className: styles['right-wrap']
192
193
  }, /*#__PURE__*/React.createElement(Space, {
193
- size: 8,
194
+ size: 16,
194
195
  style: {
195
196
  marginRight: 12,
196
197
  cursor: 'pointer'
@@ -39,7 +39,6 @@
39
39
  }
40
40
  &__block {
41
41
  display: flex;
42
- justify-content: space-between;
43
42
  align-items: center;
44
43
  font-weight: 400;
45
44
  font-size: 12px;
@@ -114,6 +113,7 @@
114
113
  display: flex;
115
114
  align-items: center;
116
115
  justify-content: space-between;
116
+ margin-bottom: 8px;
117
117
 
118
118
  .right-wrap {
119
119
  display: flex;
@@ -132,6 +132,7 @@
132
132
  .center {
133
133
  display: flex;
134
134
  align-items: center;
135
+ flex: 1;
135
136
  }
136
137
 
137
138
  .desc_wrap {
@@ -233,3 +234,9 @@
233
234
  text-align: center;
234
235
  color: #FFFFFF;
235
236
  }
237
+
238
+ .card_content {
239
+ font-size: 14px;
240
+ color: #142A51;
241
+ font-weight: 400;
242
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "rpa-ui",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",