@next-bricks/presentational 1.6.8 → 1.7.0
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/bricks.json +18 -18
- package/dist/chunks/2612.2c25b82a.js +2 -0
- package/dist/chunks/2612.2c25b82a.js.map +1 -0
- package/dist/chunks/{2652.8c39ed2a.js → 2652.d8379b86.js} +2 -2
- package/dist/chunks/2652.d8379b86.js.map +1 -0
- package/dist/chunks/{7115.bd27cc31.js → 7115.21e2b5ae.js} +2 -2
- package/dist/chunks/{7115.bd27cc31.js.map → 7115.21e2b5ae.js.map} +1 -1
- package/dist/chunks/{9496.622974ed.js → 9496.8f93e6db.js} +2 -2
- package/dist/chunks/{9496.622974ed.js.map → 9496.8f93e6db.js.map} +1 -1
- package/dist/chunks/eo-card-item.8b9dbbd8.js +3 -0
- package/dist/chunks/eo-card-item.8b9dbbd8.js.map +1 -0
- package/dist/chunks/{eo-descriptions.06e4f230.js → eo-descriptions.ff57bf99.js} +3 -3
- package/dist/chunks/{eo-descriptions.06e4f230.js.map → eo-descriptions.ff57bf99.js.map} +1 -1
- package/dist/chunks/{eo-info-card-item.107aaf4f.js → eo-info-card-item.1593dfd5.js} +3 -3
- package/dist/chunks/{eo-info-card-item.107aaf4f.js.map → eo-info-card-item.1593dfd5.js.map} +1 -1
- package/dist/chunks/{eo-loading-step.b441d89f.js → eo-loading-step.05a4b3e6.js} +3 -3
- package/dist/chunks/{eo-loading-step.b441d89f.js.map → eo-loading-step.05a4b3e6.js.map} +1 -1
- package/dist/chunks/{main.923a1368.js → main.df28ef49.js} +2 -2
- package/dist/chunks/{main.923a1368.js.map → main.df28ef49.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/{index.4f05bcae.js → index.ca87ac10.js} +2 -2
- package/dist/{index.4f05bcae.js.map → index.ca87ac10.js.map} +1 -1
- package/dist/manifest.json +198 -193
- package/dist/types.json +218 -211
- package/dist-types/card-item/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/chunks/2612.d738d359.js +0 -2
- package/dist/chunks/2612.d738d359.js.map +0 -1
- package/dist/chunks/2652.8c39ed2a.js.map +0 -1
- package/dist/chunks/eo-card-item.2d783d55.js +0 -3
- package/dist/chunks/eo-card-item.2d783d55.js.map +0 -1
- /package/dist/chunks/{eo-card-item.2d783d55.js.LICENSE.txt → eo-card-item.8b9dbbd8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.06e4f230.js.LICENSE.txt → eo-descriptions.ff57bf99.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.107aaf4f.js.LICENSE.txt → eo-info-card-item.1593dfd5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.b441d89f.js.LICENSE.txt → eo-loading-step.05a4b3e6.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -315,6 +315,13 @@
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"name": "selected",
|
|
320
|
+
"annotation": {
|
|
321
|
+
"type": "keyword",
|
|
322
|
+
"value": "boolean"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
318
325
|
{
|
|
319
326
|
"name": "styleType",
|
|
320
327
|
"annotation": {
|
|
@@ -961,6 +968,138 @@
|
|
|
961
968
|
}
|
|
962
969
|
]
|
|
963
970
|
},
|
|
971
|
+
"eo-loading-step": {
|
|
972
|
+
"properties": [
|
|
973
|
+
{
|
|
974
|
+
"name": "visible",
|
|
975
|
+
"annotation": {
|
|
976
|
+
"type": "keyword",
|
|
977
|
+
"value": "boolean"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "width",
|
|
982
|
+
"annotation": {
|
|
983
|
+
"type": "keyword",
|
|
984
|
+
"value": "string"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "stepTitle",
|
|
989
|
+
"annotation": {
|
|
990
|
+
"type": "keyword",
|
|
991
|
+
"value": "string"
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "stepList",
|
|
996
|
+
"annotation": {
|
|
997
|
+
"type": "array",
|
|
998
|
+
"elementType": {
|
|
999
|
+
"type": "reference",
|
|
1000
|
+
"typeName": {
|
|
1001
|
+
"type": "identifier",
|
|
1002
|
+
"name": "StepItem"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "curStep",
|
|
1009
|
+
"annotation": {
|
|
1010
|
+
"type": "keyword",
|
|
1011
|
+
"value": "string"
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"events": [
|
|
1016
|
+
{
|
|
1017
|
+
"name": "open",
|
|
1018
|
+
"detail": {
|
|
1019
|
+
"annotation": {
|
|
1020
|
+
"type": "keyword",
|
|
1021
|
+
"value": "void"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "close",
|
|
1027
|
+
"detail": {
|
|
1028
|
+
"annotation": {
|
|
1029
|
+
"type": "keyword",
|
|
1030
|
+
"value": "void"
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"methods": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "open",
|
|
1038
|
+
"params": [],
|
|
1039
|
+
"returns": {}
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "close",
|
|
1043
|
+
"params": [],
|
|
1044
|
+
"returns": {}
|
|
1045
|
+
}
|
|
1046
|
+
],
|
|
1047
|
+
"types": [
|
|
1048
|
+
{
|
|
1049
|
+
"type": "interface",
|
|
1050
|
+
"name": "StepItem",
|
|
1051
|
+
"body": [
|
|
1052
|
+
{
|
|
1053
|
+
"type": "propertySignature",
|
|
1054
|
+
"key": {
|
|
1055
|
+
"type": "identifier",
|
|
1056
|
+
"name": "title"
|
|
1057
|
+
},
|
|
1058
|
+
"annotation": {
|
|
1059
|
+
"type": "keyword",
|
|
1060
|
+
"value": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"computed": false
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"type": "propertySignature",
|
|
1066
|
+
"key": {
|
|
1067
|
+
"type": "identifier",
|
|
1068
|
+
"name": "key"
|
|
1069
|
+
},
|
|
1070
|
+
"annotation": {
|
|
1071
|
+
"type": "keyword",
|
|
1072
|
+
"value": "string"
|
|
1073
|
+
},
|
|
1074
|
+
"computed": false
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
"eo-current-time": {
|
|
1081
|
+
"properties": [
|
|
1082
|
+
{
|
|
1083
|
+
"name": "format",
|
|
1084
|
+
"annotation": {
|
|
1085
|
+
"type": "keyword",
|
|
1086
|
+
"value": "string"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "icon",
|
|
1091
|
+
"annotation": {
|
|
1092
|
+
"type": "reference",
|
|
1093
|
+
"typeName": {
|
|
1094
|
+
"type": "identifier",
|
|
1095
|
+
"name": "GeneralIconProps"
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"events": [],
|
|
1101
|
+
"methods": []
|
|
1102
|
+
},
|
|
964
1103
|
"eo-statistics-card": {
|
|
965
1104
|
"properties": [
|
|
966
1105
|
{
|
|
@@ -1314,138 +1453,6 @@
|
|
|
1314
1453
|
}
|
|
1315
1454
|
]
|
|
1316
1455
|
},
|
|
1317
|
-
"eo-loading-step": {
|
|
1318
|
-
"properties": [
|
|
1319
|
-
{
|
|
1320
|
-
"name": "visible",
|
|
1321
|
-
"annotation": {
|
|
1322
|
-
"type": "keyword",
|
|
1323
|
-
"value": "boolean"
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"name": "width",
|
|
1328
|
-
"annotation": {
|
|
1329
|
-
"type": "keyword",
|
|
1330
|
-
"value": "string"
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"name": "stepTitle",
|
|
1335
|
-
"annotation": {
|
|
1336
|
-
"type": "keyword",
|
|
1337
|
-
"value": "string"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"name": "stepList",
|
|
1342
|
-
"annotation": {
|
|
1343
|
-
"type": "array",
|
|
1344
|
-
"elementType": {
|
|
1345
|
-
"type": "reference",
|
|
1346
|
-
"typeName": {
|
|
1347
|
-
"type": "identifier",
|
|
1348
|
-
"name": "StepItem"
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"name": "curStep",
|
|
1355
|
-
"annotation": {
|
|
1356
|
-
"type": "keyword",
|
|
1357
|
-
"value": "string"
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
],
|
|
1361
|
-
"events": [
|
|
1362
|
-
{
|
|
1363
|
-
"name": "open",
|
|
1364
|
-
"detail": {
|
|
1365
|
-
"annotation": {
|
|
1366
|
-
"type": "keyword",
|
|
1367
|
-
"value": "void"
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "close",
|
|
1373
|
-
"detail": {
|
|
1374
|
-
"annotation": {
|
|
1375
|
-
"type": "keyword",
|
|
1376
|
-
"value": "void"
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
],
|
|
1381
|
-
"methods": [
|
|
1382
|
-
{
|
|
1383
|
-
"name": "open",
|
|
1384
|
-
"params": [],
|
|
1385
|
-
"returns": {}
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"name": "close",
|
|
1389
|
-
"params": [],
|
|
1390
|
-
"returns": {}
|
|
1391
|
-
}
|
|
1392
|
-
],
|
|
1393
|
-
"types": [
|
|
1394
|
-
{
|
|
1395
|
-
"type": "interface",
|
|
1396
|
-
"name": "StepItem",
|
|
1397
|
-
"body": [
|
|
1398
|
-
{
|
|
1399
|
-
"type": "propertySignature",
|
|
1400
|
-
"key": {
|
|
1401
|
-
"type": "identifier",
|
|
1402
|
-
"name": "title"
|
|
1403
|
-
},
|
|
1404
|
-
"annotation": {
|
|
1405
|
-
"type": "keyword",
|
|
1406
|
-
"value": "string"
|
|
1407
|
-
},
|
|
1408
|
-
"computed": false
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"type": "propertySignature",
|
|
1412
|
-
"key": {
|
|
1413
|
-
"type": "identifier",
|
|
1414
|
-
"name": "key"
|
|
1415
|
-
},
|
|
1416
|
-
"annotation": {
|
|
1417
|
-
"type": "keyword",
|
|
1418
|
-
"value": "string"
|
|
1419
|
-
},
|
|
1420
|
-
"computed": false
|
|
1421
|
-
}
|
|
1422
|
-
]
|
|
1423
|
-
}
|
|
1424
|
-
]
|
|
1425
|
-
},
|
|
1426
|
-
"eo-current-time": {
|
|
1427
|
-
"properties": [
|
|
1428
|
-
{
|
|
1429
|
-
"name": "format",
|
|
1430
|
-
"annotation": {
|
|
1431
|
-
"type": "keyword",
|
|
1432
|
-
"value": "string"
|
|
1433
|
-
}
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"name": "icon",
|
|
1437
|
-
"annotation": {
|
|
1438
|
-
"type": "reference",
|
|
1439
|
-
"typeName": {
|
|
1440
|
-
"type": "identifier",
|
|
1441
|
-
"name": "GeneralIconProps"
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
],
|
|
1446
|
-
"events": [],
|
|
1447
|
-
"methods": []
|
|
1448
|
-
},
|
|
1449
1456
|
"eo-carousel-text": {
|
|
1450
1457
|
"properties": [
|
|
1451
1458
|
{
|
|
@@ -1517,6 +1524,85 @@
|
|
|
1517
1524
|
"events": [],
|
|
1518
1525
|
"methods": []
|
|
1519
1526
|
},
|
|
1527
|
+
"eo-pagination": {
|
|
1528
|
+
"properties": [
|
|
1529
|
+
{
|
|
1530
|
+
"name": "total",
|
|
1531
|
+
"annotation": {
|
|
1532
|
+
"type": "keyword",
|
|
1533
|
+
"value": "number"
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "page",
|
|
1538
|
+
"annotation": {
|
|
1539
|
+
"type": "keyword",
|
|
1540
|
+
"value": "number"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "pageSize",
|
|
1545
|
+
"annotation": {
|
|
1546
|
+
"type": "keyword",
|
|
1547
|
+
"value": "number"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "pageSizeOptions",
|
|
1552
|
+
"annotation": {
|
|
1553
|
+
"type": "array",
|
|
1554
|
+
"elementType": {
|
|
1555
|
+
"type": "keyword",
|
|
1556
|
+
"value": "number"
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "showSizeChanger",
|
|
1562
|
+
"annotation": {
|
|
1563
|
+
"type": "keyword",
|
|
1564
|
+
"value": "boolean"
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
],
|
|
1568
|
+
"events": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "change",
|
|
1571
|
+
"detail": {
|
|
1572
|
+
"annotation": {
|
|
1573
|
+
"type": "typeLiteral",
|
|
1574
|
+
"members": [
|
|
1575
|
+
{
|
|
1576
|
+
"type": "propertySignature",
|
|
1577
|
+
"key": {
|
|
1578
|
+
"type": "identifier",
|
|
1579
|
+
"name": "page"
|
|
1580
|
+
},
|
|
1581
|
+
"annotation": {
|
|
1582
|
+
"type": "keyword",
|
|
1583
|
+
"value": "number"
|
|
1584
|
+
},
|
|
1585
|
+
"computed": false
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"type": "propertySignature",
|
|
1589
|
+
"key": {
|
|
1590
|
+
"type": "identifier",
|
|
1591
|
+
"name": "pageSize"
|
|
1592
|
+
},
|
|
1593
|
+
"annotation": {
|
|
1594
|
+
"type": "keyword",
|
|
1595
|
+
"value": "number"
|
|
1596
|
+
},
|
|
1597
|
+
"computed": false
|
|
1598
|
+
}
|
|
1599
|
+
]
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
],
|
|
1604
|
+
"methods": []
|
|
1605
|
+
},
|
|
1520
1606
|
"eo-alert": {
|
|
1521
1607
|
"properties": [
|
|
1522
1608
|
{
|
|
@@ -1682,85 +1768,6 @@
|
|
|
1682
1768
|
"events": [],
|
|
1683
1769
|
"methods": []
|
|
1684
1770
|
},
|
|
1685
|
-
"eo-pagination": {
|
|
1686
|
-
"properties": [
|
|
1687
|
-
{
|
|
1688
|
-
"name": "total",
|
|
1689
|
-
"annotation": {
|
|
1690
|
-
"type": "keyword",
|
|
1691
|
-
"value": "number"
|
|
1692
|
-
}
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
"name": "page",
|
|
1696
|
-
"annotation": {
|
|
1697
|
-
"type": "keyword",
|
|
1698
|
-
"value": "number"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"name": "pageSize",
|
|
1703
|
-
"annotation": {
|
|
1704
|
-
"type": "keyword",
|
|
1705
|
-
"value": "number"
|
|
1706
|
-
}
|
|
1707
|
-
},
|
|
1708
|
-
{
|
|
1709
|
-
"name": "pageSizeOptions",
|
|
1710
|
-
"annotation": {
|
|
1711
|
-
"type": "array",
|
|
1712
|
-
"elementType": {
|
|
1713
|
-
"type": "keyword",
|
|
1714
|
-
"value": "number"
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"name": "showSizeChanger",
|
|
1720
|
-
"annotation": {
|
|
1721
|
-
"type": "keyword",
|
|
1722
|
-
"value": "boolean"
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
],
|
|
1726
|
-
"events": [
|
|
1727
|
-
{
|
|
1728
|
-
"name": "change",
|
|
1729
|
-
"detail": {
|
|
1730
|
-
"annotation": {
|
|
1731
|
-
"type": "typeLiteral",
|
|
1732
|
-
"members": [
|
|
1733
|
-
{
|
|
1734
|
-
"type": "propertySignature",
|
|
1735
|
-
"key": {
|
|
1736
|
-
"type": "identifier",
|
|
1737
|
-
"name": "page"
|
|
1738
|
-
},
|
|
1739
|
-
"annotation": {
|
|
1740
|
-
"type": "keyword",
|
|
1741
|
-
"value": "number"
|
|
1742
|
-
},
|
|
1743
|
-
"computed": false
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"type": "propertySignature",
|
|
1747
|
-
"key": {
|
|
1748
|
-
"type": "identifier",
|
|
1749
|
-
"name": "pageSize"
|
|
1750
|
-
},
|
|
1751
|
-
"annotation": {
|
|
1752
|
-
"type": "keyword",
|
|
1753
|
-
"value": "number"
|
|
1754
|
-
},
|
|
1755
|
-
"computed": false
|
|
1756
|
-
}
|
|
1757
|
-
]
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
}
|
|
1761
|
-
],
|
|
1762
|
-
"methods": []
|
|
1763
|
-
},
|
|
1764
1771
|
"eo-humanize-time": {
|
|
1765
1772
|
"properties": [
|
|
1766
1773
|
{
|
|
@@ -50,6 +50,7 @@ export interface EoCardItemProps {
|
|
|
50
50
|
actions?: ActionType[];
|
|
51
51
|
hasExpandedArea1?: boolean;
|
|
52
52
|
hasExpandedArea2?: boolean;
|
|
53
|
+
selected?: boolean;
|
|
53
54
|
styleType?: "grayish";
|
|
54
55
|
hasCover?: boolean;
|
|
55
56
|
coverImage?: string;
|
|
@@ -102,6 +103,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
102
103
|
* 操作按钮组
|
|
103
104
|
*/
|
|
104
105
|
accessor actions: ActionType[] | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* 是否选中
|
|
108
|
+
*/
|
|
109
|
+
accessor selected: boolean;
|
|
105
110
|
/**
|
|
106
111
|
* 卡片样式类型
|
|
107
112
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/containers": "*",
|
|
44
44
|
"@next-bricks/icons": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "c0e7510dca7eca59996d8da00ec8ab383921fb24"
|
|
47
47
|
}
|