@itcase/ui 1.0.89 → 1.0.90
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/dist/components/Cell.js +33 -34
- package/package.json +1 -1
package/dist/components/Cell.js
CHANGED
|
@@ -53,7 +53,6 @@ function Cell(props) {
|
|
|
53
53
|
titleIconSrc,
|
|
54
54
|
titleIconShape,
|
|
55
55
|
titleIcon,
|
|
56
|
-
showValueIcon,
|
|
57
56
|
valueIconFill,
|
|
58
57
|
valueIconFillSize,
|
|
59
58
|
valueIconIconFill,
|
|
@@ -188,7 +187,7 @@ function Cell(props) {
|
|
|
188
187
|
textColor: valueTextColor,
|
|
189
188
|
textWeight: valueTextWeight,
|
|
190
189
|
textWrap: valueTextWrap
|
|
191
|
-
}, value),
|
|
190
|
+
}, value), valueIcon && /*#__PURE__*/React__default.default.createElement(index$1.Icon, {
|
|
192
191
|
className: "cell__icon",
|
|
193
192
|
fill: valueIconFill,
|
|
194
193
|
fillSize: valueIconFillSize,
|
|
@@ -213,18 +212,18 @@ Cell.propTypes = {
|
|
|
213
212
|
before: PropTypes__default.default.any,
|
|
214
213
|
children: PropTypes__default.default.any,
|
|
215
214
|
className: PropTypes__default.default.string,
|
|
216
|
-
titleIcon: PropTypes__default.default.any,
|
|
217
|
-
titleIconFill: PropTypes__default.default.string,
|
|
218
|
-
titleIconStroke: PropTypes__default.default.string,
|
|
219
|
-
valueIcon: PropTypes__default.default.any,
|
|
220
|
-
valueIconFill: PropTypes__default.default.string,
|
|
221
|
-
valueIconStroke: PropTypes__default.default.string,
|
|
222
215
|
isActive: PropTypes__default.default.bool,
|
|
223
216
|
isDisabled: PropTypes__default.default.bool,
|
|
224
217
|
title: PropTypes__default.default.string,
|
|
218
|
+
titleIcon: PropTypes__default.default.any,
|
|
219
|
+
titleIconFill: PropTypes__default.default.string,
|
|
220
|
+
titleIconStroke: PropTypes__default.default.string,
|
|
225
221
|
titleTextColor: PropTypes__default.default.string,
|
|
226
222
|
titleTextSize: PropTypes__default.default.oneOf(size.default),
|
|
227
223
|
value: PropTypes__default.default.oneOfType([PropTypes__default.default.element, PropTypes__default.default.string]),
|
|
224
|
+
valueIcon: PropTypes__default.default.any,
|
|
225
|
+
valueIconFill: PropTypes__default.default.string,
|
|
226
|
+
valueIconStroke: PropTypes__default.default.string,
|
|
228
227
|
valueTextColor: PropTypes__default.default.string,
|
|
229
228
|
valueTextSize: PropTypes__default.default.oneOf(size.default),
|
|
230
229
|
onClick: PropTypes__default.default.func,
|
|
@@ -285,87 +284,87 @@ Cell.__docgenInfo = {
|
|
|
285
284
|
},
|
|
286
285
|
"required": false
|
|
287
286
|
},
|
|
288
|
-
"
|
|
287
|
+
"isActive": {
|
|
289
288
|
"description": "",
|
|
290
289
|
"type": {
|
|
291
|
-
"name": "
|
|
290
|
+
"name": "bool"
|
|
292
291
|
},
|
|
293
292
|
"required": false
|
|
294
293
|
},
|
|
295
|
-
"
|
|
294
|
+
"title": {
|
|
296
295
|
"description": "",
|
|
297
296
|
"type": {
|
|
298
297
|
"name": "string"
|
|
299
298
|
},
|
|
300
299
|
"required": false
|
|
301
300
|
},
|
|
302
|
-
"
|
|
301
|
+
"titleIcon": {
|
|
303
302
|
"description": "",
|
|
304
303
|
"type": {
|
|
305
|
-
"name": "
|
|
304
|
+
"name": "any"
|
|
306
305
|
},
|
|
307
306
|
"required": false
|
|
308
307
|
},
|
|
309
|
-
"
|
|
308
|
+
"titleIconFill": {
|
|
310
309
|
"description": "",
|
|
311
310
|
"type": {
|
|
312
|
-
"name": "
|
|
311
|
+
"name": "string"
|
|
313
312
|
},
|
|
314
313
|
"required": false
|
|
315
314
|
},
|
|
316
|
-
"
|
|
315
|
+
"titleIconStroke": {
|
|
317
316
|
"description": "",
|
|
318
317
|
"type": {
|
|
319
318
|
"name": "string"
|
|
320
319
|
},
|
|
321
320
|
"required": false
|
|
322
321
|
},
|
|
323
|
-
"
|
|
322
|
+
"titleTextColor": {
|
|
324
323
|
"description": "",
|
|
325
324
|
"type": {
|
|
326
325
|
"name": "string"
|
|
327
326
|
},
|
|
328
327
|
"required": false
|
|
329
328
|
},
|
|
330
|
-
"
|
|
329
|
+
"titleTextSize": {
|
|
331
330
|
"description": "",
|
|
332
331
|
"type": {
|
|
333
|
-
"name": "
|
|
332
|
+
"name": "enum",
|
|
333
|
+
"computed": true,
|
|
334
|
+
"value": "sizeProps"
|
|
334
335
|
},
|
|
335
336
|
"required": false
|
|
336
337
|
},
|
|
337
|
-
"
|
|
338
|
+
"value": {
|
|
338
339
|
"description": "",
|
|
339
340
|
"type": {
|
|
340
|
-
"name": "
|
|
341
|
+
"name": "union",
|
|
342
|
+
"value": [{
|
|
343
|
+
"name": "element"
|
|
344
|
+
}, {
|
|
345
|
+
"name": "string"
|
|
346
|
+
}]
|
|
341
347
|
},
|
|
342
348
|
"required": false
|
|
343
349
|
},
|
|
344
|
-
"
|
|
350
|
+
"valueIcon": {
|
|
345
351
|
"description": "",
|
|
346
352
|
"type": {
|
|
347
|
-
"name": "
|
|
353
|
+
"name": "any"
|
|
348
354
|
},
|
|
349
355
|
"required": false
|
|
350
356
|
},
|
|
351
|
-
"
|
|
357
|
+
"valueIconFill": {
|
|
352
358
|
"description": "",
|
|
353
359
|
"type": {
|
|
354
|
-
"name": "
|
|
355
|
-
"computed": true,
|
|
356
|
-
"value": "sizeProps"
|
|
360
|
+
"name": "string"
|
|
357
361
|
},
|
|
358
362
|
"required": false
|
|
359
363
|
},
|
|
360
|
-
"
|
|
364
|
+
"valueIconStroke": {
|
|
361
365
|
"description": "",
|
|
362
366
|
"type": {
|
|
363
|
-
"name": "
|
|
364
|
-
"value": [{
|
|
365
|
-
"name": "element"
|
|
366
|
-
}, {
|
|
367
|
-
"name": "string"
|
|
368
|
-
}]
|
|
367
|
+
"name": "string"
|
|
369
368
|
},
|
|
370
369
|
"required": false
|
|
371
370
|
},
|