@next-bricks/presentational 1.19.0 → 1.20.1
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 +22 -22
- package/dist/chunks/7082.2b6f2b19.js +2 -0
- package/dist/chunks/7082.2b6f2b19.js.map +1 -0
- package/dist/chunks/eo-card-item.6feda942.js +3 -0
- package/dist/chunks/eo-card-item.6feda942.js.map +1 -0
- package/dist/chunks/{main.1112a8b0.js → main.76111566.js} +2 -2
- package/dist/chunks/{main.1112a8b0.js.map → main.76111566.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/{index.8703558e.js → index.88406423.js} +2 -2
- package/dist/{index.8703558e.js.map → index.88406423.js.map} +1 -1
- package/dist/manifest.json +285 -279
- package/dist/types.json +277 -261
- package/dist-types/card-item/index.d.ts +5 -0
- package/docs/eo-card-item.md +19 -0
- package/package.json +2 -2
- package/dist/chunks/7082.89e0b700.js +0 -2
- package/dist/chunks/7082.89e0b700.js.map +0 -1
- package/dist/chunks/eo-card-item.9599f171.js +0 -3
- package/dist/chunks/eo-card-item.9599f171.js.map +0 -1
- /package/dist/chunks/{eo-card-item.9599f171.js.LICENSE.txt → eo-card-item.6feda942.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -442,6 +442,22 @@
|
|
|
442
442
|
]
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"name": "avatarPlacement",
|
|
447
|
+
"annotation": {
|
|
448
|
+
"type": "union",
|
|
449
|
+
"types": [
|
|
450
|
+
{
|
|
451
|
+
"type": "jsLiteral",
|
|
452
|
+
"value": "left"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "jsLiteral",
|
|
456
|
+
"value": "title-left"
|
|
457
|
+
}
|
|
458
|
+
]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
445
461
|
{
|
|
446
462
|
"name": "tagConfig",
|
|
447
463
|
"annotation": {
|
|
@@ -798,6 +814,109 @@
|
|
|
798
814
|
}
|
|
799
815
|
]
|
|
800
816
|
},
|
|
817
|
+
"eo-divider": {
|
|
818
|
+
"properties": [
|
|
819
|
+
{
|
|
820
|
+
"name": "orientation",
|
|
821
|
+
"annotation": {
|
|
822
|
+
"type": "reference",
|
|
823
|
+
"typeName": {
|
|
824
|
+
"type": "identifier",
|
|
825
|
+
"name": "OrientationType"
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "dashed",
|
|
831
|
+
"annotation": {
|
|
832
|
+
"type": "keyword",
|
|
833
|
+
"value": "boolean"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "type",
|
|
838
|
+
"annotation": {
|
|
839
|
+
"type": "reference",
|
|
840
|
+
"typeName": {
|
|
841
|
+
"type": "identifier",
|
|
842
|
+
"name": "dividerType"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "proportion",
|
|
848
|
+
"annotation": {
|
|
849
|
+
"type": "tuple",
|
|
850
|
+
"elementTypes": [
|
|
851
|
+
{
|
|
852
|
+
"type": "keyword",
|
|
853
|
+
"value": "number"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"type": "keyword",
|
|
857
|
+
"value": "number"
|
|
858
|
+
}
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "dividerStyle",
|
|
864
|
+
"annotation": {
|
|
865
|
+
"type": "reference",
|
|
866
|
+
"typeName": {
|
|
867
|
+
"type": "identifier",
|
|
868
|
+
"name": "CSSProperties"
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
],
|
|
873
|
+
"events": [],
|
|
874
|
+
"methods": [],
|
|
875
|
+
"types": [
|
|
876
|
+
{
|
|
877
|
+
"type": "typeAlias",
|
|
878
|
+
"name": "OrientationType",
|
|
879
|
+
"annotation": {
|
|
880
|
+
"type": "union",
|
|
881
|
+
"types": [
|
|
882
|
+
{
|
|
883
|
+
"type": "jsLiteral",
|
|
884
|
+
"value": "left"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"type": "jsLiteral",
|
|
888
|
+
"value": "center"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"type": "jsLiteral",
|
|
892
|
+
"value": "right"
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"type": "typeAlias",
|
|
899
|
+
"name": "dividerType",
|
|
900
|
+
"annotation": {
|
|
901
|
+
"type": "union",
|
|
902
|
+
"types": [
|
|
903
|
+
{
|
|
904
|
+
"type": "jsLiteral",
|
|
905
|
+
"value": "horizontal"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"type": "jsLiteral",
|
|
909
|
+
"value": "vertical"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"type": "jsLiteral",
|
|
913
|
+
"value": "radiation"
|
|
914
|
+
}
|
|
915
|
+
]
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
801
920
|
"eo-info-card-item": {
|
|
802
921
|
"properties": [
|
|
803
922
|
{
|
|
@@ -1001,108 +1120,137 @@
|
|
|
1001
1120
|
}
|
|
1002
1121
|
]
|
|
1003
1122
|
},
|
|
1004
|
-
"eo-
|
|
1123
|
+
"eo-loading-step": {
|
|
1005
1124
|
"properties": [
|
|
1006
1125
|
{
|
|
1007
|
-
"name": "
|
|
1126
|
+
"name": "visible",
|
|
1008
1127
|
"annotation": {
|
|
1009
|
-
"type": "
|
|
1010
|
-
"
|
|
1011
|
-
"type": "identifier",
|
|
1012
|
-
"name": "OrientationType"
|
|
1013
|
-
}
|
|
1128
|
+
"type": "keyword",
|
|
1129
|
+
"value": "boolean"
|
|
1014
1130
|
}
|
|
1015
1131
|
},
|
|
1016
1132
|
{
|
|
1017
|
-
"name": "
|
|
1133
|
+
"name": "width",
|
|
1018
1134
|
"annotation": {
|
|
1019
1135
|
"type": "keyword",
|
|
1020
|
-
"value": "
|
|
1136
|
+
"value": "string"
|
|
1021
1137
|
}
|
|
1022
1138
|
},
|
|
1023
1139
|
{
|
|
1024
|
-
"name": "
|
|
1140
|
+
"name": "stepTitle",
|
|
1025
1141
|
"annotation": {
|
|
1026
|
-
"type": "
|
|
1027
|
-
"
|
|
1028
|
-
"type": "identifier",
|
|
1029
|
-
"name": "dividerType"
|
|
1030
|
-
}
|
|
1142
|
+
"type": "keyword",
|
|
1143
|
+
"value": "string"
|
|
1031
1144
|
}
|
|
1032
1145
|
},
|
|
1033
1146
|
{
|
|
1034
|
-
"name": "
|
|
1147
|
+
"name": "stepList",
|
|
1035
1148
|
"annotation": {
|
|
1036
|
-
"type": "
|
|
1037
|
-
"
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
"
|
|
1041
|
-
|
|
1042
|
-
{
|
|
1043
|
-
"type": "keyword",
|
|
1044
|
-
"value": "number"
|
|
1149
|
+
"type": "array",
|
|
1150
|
+
"elementType": {
|
|
1151
|
+
"type": "reference",
|
|
1152
|
+
"typeName": {
|
|
1153
|
+
"type": "identifier",
|
|
1154
|
+
"name": "StepItem"
|
|
1045
1155
|
}
|
|
1046
|
-
|
|
1156
|
+
}
|
|
1047
1157
|
}
|
|
1048
1158
|
},
|
|
1049
1159
|
{
|
|
1050
|
-
"name": "
|
|
1160
|
+
"name": "curStep",
|
|
1051
1161
|
"annotation": {
|
|
1052
|
-
"type": "
|
|
1053
|
-
"
|
|
1054
|
-
|
|
1055
|
-
|
|
1162
|
+
"type": "keyword",
|
|
1163
|
+
"value": "string"
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"events": [
|
|
1168
|
+
{
|
|
1169
|
+
"name": "open",
|
|
1170
|
+
"detail": {
|
|
1171
|
+
"annotation": {
|
|
1172
|
+
"type": "keyword",
|
|
1173
|
+
"value": "void"
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "close",
|
|
1179
|
+
"detail": {
|
|
1180
|
+
"annotation": {
|
|
1181
|
+
"type": "keyword",
|
|
1182
|
+
"value": "void"
|
|
1056
1183
|
}
|
|
1057
1184
|
}
|
|
1058
1185
|
}
|
|
1059
1186
|
],
|
|
1060
|
-
"
|
|
1061
|
-
|
|
1187
|
+
"methods": [
|
|
1188
|
+
{
|
|
1189
|
+
"name": "open",
|
|
1190
|
+
"params": [],
|
|
1191
|
+
"returns": {}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "close",
|
|
1195
|
+
"params": [],
|
|
1196
|
+
"returns": {}
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1062
1199
|
"types": [
|
|
1063
1200
|
{
|
|
1064
|
-
"type": "
|
|
1065
|
-
"name": "
|
|
1066
|
-
"
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
{
|
|
1070
|
-
"type": "
|
|
1071
|
-
"
|
|
1201
|
+
"type": "interface",
|
|
1202
|
+
"name": "StepItem",
|
|
1203
|
+
"body": [
|
|
1204
|
+
{
|
|
1205
|
+
"type": "propertySignature",
|
|
1206
|
+
"key": {
|
|
1207
|
+
"type": "identifier",
|
|
1208
|
+
"name": "title"
|
|
1072
1209
|
},
|
|
1073
|
-
{
|
|
1074
|
-
"type": "
|
|
1075
|
-
"value": "
|
|
1210
|
+
"annotation": {
|
|
1211
|
+
"type": "keyword",
|
|
1212
|
+
"value": "string"
|
|
1076
1213
|
},
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1214
|
+
"computed": false
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"type": "propertySignature",
|
|
1218
|
+
"key": {
|
|
1219
|
+
"type": "identifier",
|
|
1220
|
+
"name": "key"
|
|
1221
|
+
},
|
|
1222
|
+
"annotation": {
|
|
1223
|
+
"type": "keyword",
|
|
1224
|
+
"value": "string"
|
|
1225
|
+
},
|
|
1226
|
+
"computed": false
|
|
1227
|
+
}
|
|
1228
|
+
]
|
|
1229
|
+
}
|
|
1230
|
+
]
|
|
1231
|
+
},
|
|
1232
|
+
"eo-current-time": {
|
|
1233
|
+
"properties": [
|
|
1234
|
+
{
|
|
1235
|
+
"name": "format",
|
|
1236
|
+
"annotation": {
|
|
1237
|
+
"type": "keyword",
|
|
1238
|
+
"value": "string"
|
|
1082
1239
|
}
|
|
1083
1240
|
},
|
|
1084
1241
|
{
|
|
1085
|
-
"
|
|
1086
|
-
"name": "dividerType",
|
|
1242
|
+
"name": "icon",
|
|
1087
1243
|
"annotation": {
|
|
1088
|
-
"type": "
|
|
1089
|
-
"
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"type": "jsLiteral",
|
|
1096
|
-
"value": "vertical"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"type": "jsLiteral",
|
|
1100
|
-
"value": "radiation"
|
|
1101
|
-
}
|
|
1102
|
-
]
|
|
1244
|
+
"type": "reference",
|
|
1245
|
+
"typeName": {
|
|
1246
|
+
"type": "identifier",
|
|
1247
|
+
"name": "GeneralIconProps"
|
|
1248
|
+
}
|
|
1103
1249
|
}
|
|
1104
1250
|
}
|
|
1105
|
-
]
|
|
1251
|
+
],
|
|
1252
|
+
"events": [],
|
|
1253
|
+
"methods": []
|
|
1106
1254
|
},
|
|
1107
1255
|
"eo-statistics-card": {
|
|
1108
1256
|
"properties": [
|
|
@@ -1457,138 +1605,6 @@
|
|
|
1457
1605
|
}
|
|
1458
1606
|
]
|
|
1459
1607
|
},
|
|
1460
|
-
"eo-loading-step": {
|
|
1461
|
-
"properties": [
|
|
1462
|
-
{
|
|
1463
|
-
"name": "visible",
|
|
1464
|
-
"annotation": {
|
|
1465
|
-
"type": "keyword",
|
|
1466
|
-
"value": "boolean"
|
|
1467
|
-
}
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "width",
|
|
1471
|
-
"annotation": {
|
|
1472
|
-
"type": "keyword",
|
|
1473
|
-
"value": "string"
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"name": "stepTitle",
|
|
1478
|
-
"annotation": {
|
|
1479
|
-
"type": "keyword",
|
|
1480
|
-
"value": "string"
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"name": "stepList",
|
|
1485
|
-
"annotation": {
|
|
1486
|
-
"type": "array",
|
|
1487
|
-
"elementType": {
|
|
1488
|
-
"type": "reference",
|
|
1489
|
-
"typeName": {
|
|
1490
|
-
"type": "identifier",
|
|
1491
|
-
"name": "StepItem"
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
"name": "curStep",
|
|
1498
|
-
"annotation": {
|
|
1499
|
-
"type": "keyword",
|
|
1500
|
-
"value": "string"
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
],
|
|
1504
|
-
"events": [
|
|
1505
|
-
{
|
|
1506
|
-
"name": "open",
|
|
1507
|
-
"detail": {
|
|
1508
|
-
"annotation": {
|
|
1509
|
-
"type": "keyword",
|
|
1510
|
-
"value": "void"
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
"name": "close",
|
|
1516
|
-
"detail": {
|
|
1517
|
-
"annotation": {
|
|
1518
|
-
"type": "keyword",
|
|
1519
|
-
"value": "void"
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
],
|
|
1524
|
-
"methods": [
|
|
1525
|
-
{
|
|
1526
|
-
"name": "open",
|
|
1527
|
-
"params": [],
|
|
1528
|
-
"returns": {}
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"name": "close",
|
|
1532
|
-
"params": [],
|
|
1533
|
-
"returns": {}
|
|
1534
|
-
}
|
|
1535
|
-
],
|
|
1536
|
-
"types": [
|
|
1537
|
-
{
|
|
1538
|
-
"type": "interface",
|
|
1539
|
-
"name": "StepItem",
|
|
1540
|
-
"body": [
|
|
1541
|
-
{
|
|
1542
|
-
"type": "propertySignature",
|
|
1543
|
-
"key": {
|
|
1544
|
-
"type": "identifier",
|
|
1545
|
-
"name": "title"
|
|
1546
|
-
},
|
|
1547
|
-
"annotation": {
|
|
1548
|
-
"type": "keyword",
|
|
1549
|
-
"value": "string"
|
|
1550
|
-
},
|
|
1551
|
-
"computed": false
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"type": "propertySignature",
|
|
1555
|
-
"key": {
|
|
1556
|
-
"type": "identifier",
|
|
1557
|
-
"name": "key"
|
|
1558
|
-
},
|
|
1559
|
-
"annotation": {
|
|
1560
|
-
"type": "keyword",
|
|
1561
|
-
"value": "string"
|
|
1562
|
-
},
|
|
1563
|
-
"computed": false
|
|
1564
|
-
}
|
|
1565
|
-
]
|
|
1566
|
-
}
|
|
1567
|
-
]
|
|
1568
|
-
},
|
|
1569
|
-
"eo-current-time": {
|
|
1570
|
-
"properties": [
|
|
1571
|
-
{
|
|
1572
|
-
"name": "format",
|
|
1573
|
-
"annotation": {
|
|
1574
|
-
"type": "keyword",
|
|
1575
|
-
"value": "string"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
"name": "icon",
|
|
1580
|
-
"annotation": {
|
|
1581
|
-
"type": "reference",
|
|
1582
|
-
"typeName": {
|
|
1583
|
-
"type": "identifier",
|
|
1584
|
-
"name": "GeneralIconProps"
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
],
|
|
1589
|
-
"events": [],
|
|
1590
|
-
"methods": []
|
|
1591
|
-
},
|
|
1592
1608
|
"eo-carousel-text": {
|
|
1593
1609
|
"properties": [
|
|
1594
1610
|
{
|
|
@@ -1853,68 +1869,6 @@
|
|
|
1853
1869
|
}
|
|
1854
1870
|
]
|
|
1855
1871
|
},
|
|
1856
|
-
"eo-code-display": {
|
|
1857
|
-
"properties": [
|
|
1858
|
-
{
|
|
1859
|
-
"name": "value",
|
|
1860
|
-
"annotation": {
|
|
1861
|
-
"type": "keyword",
|
|
1862
|
-
"value": "string"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"name": "language",
|
|
1867
|
-
"annotation": {
|
|
1868
|
-
"type": "keyword",
|
|
1869
|
-
"value": "string"
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"name": "hideLineNumber",
|
|
1874
|
-
"annotation": {
|
|
1875
|
-
"type": "keyword",
|
|
1876
|
-
"value": "boolean"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"name": "maxLines",
|
|
1881
|
-
"annotation": {
|
|
1882
|
-
"type": "keyword",
|
|
1883
|
-
"value": "number"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"name": "minLines",
|
|
1888
|
-
"annotation": {
|
|
1889
|
-
"type": "keyword",
|
|
1890
|
-
"value": "number"
|
|
1891
|
-
}
|
|
1892
|
-
},
|
|
1893
|
-
{
|
|
1894
|
-
"name": "showCopyButton",
|
|
1895
|
-
"annotation": {
|
|
1896
|
-
"type": "keyword",
|
|
1897
|
-
"value": "boolean"
|
|
1898
|
-
}
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"name": "showExportButton",
|
|
1902
|
-
"annotation": {
|
|
1903
|
-
"type": "keyword",
|
|
1904
|
-
"value": "boolean"
|
|
1905
|
-
}
|
|
1906
|
-
},
|
|
1907
|
-
{
|
|
1908
|
-
"name": "exportFileName",
|
|
1909
|
-
"annotation": {
|
|
1910
|
-
"type": "keyword",
|
|
1911
|
-
"value": "string"
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
],
|
|
1915
|
-
"events": [],
|
|
1916
|
-
"methods": []
|
|
1917
|
-
},
|
|
1918
1872
|
"eo-alert": {
|
|
1919
1873
|
"properties": [
|
|
1920
1874
|
{
|
|
@@ -2025,6 +1979,68 @@
|
|
|
2025
1979
|
}
|
|
2026
1980
|
]
|
|
2027
1981
|
},
|
|
1982
|
+
"eo-code-display": {
|
|
1983
|
+
"properties": [
|
|
1984
|
+
{
|
|
1985
|
+
"name": "value",
|
|
1986
|
+
"annotation": {
|
|
1987
|
+
"type": "keyword",
|
|
1988
|
+
"value": "string"
|
|
1989
|
+
}
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "language",
|
|
1993
|
+
"annotation": {
|
|
1994
|
+
"type": "keyword",
|
|
1995
|
+
"value": "string"
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"name": "hideLineNumber",
|
|
2000
|
+
"annotation": {
|
|
2001
|
+
"type": "keyword",
|
|
2002
|
+
"value": "boolean"
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "maxLines",
|
|
2007
|
+
"annotation": {
|
|
2008
|
+
"type": "keyword",
|
|
2009
|
+
"value": "number"
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "minLines",
|
|
2014
|
+
"annotation": {
|
|
2015
|
+
"type": "keyword",
|
|
2016
|
+
"value": "number"
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"name": "showCopyButton",
|
|
2021
|
+
"annotation": {
|
|
2022
|
+
"type": "keyword",
|
|
2023
|
+
"value": "boolean"
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"name": "showExportButton",
|
|
2028
|
+
"annotation": {
|
|
2029
|
+
"type": "keyword",
|
|
2030
|
+
"value": "boolean"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"name": "exportFileName",
|
|
2035
|
+
"annotation": {
|
|
2036
|
+
"type": "keyword",
|
|
2037
|
+
"value": "string"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
],
|
|
2041
|
+
"events": [],
|
|
2042
|
+
"methods": []
|
|
2043
|
+
},
|
|
2028
2044
|
"eo-humanize-time": {
|
|
2029
2045
|
"properties": [
|
|
2030
2046
|
{
|
|
@@ -57,6 +57,7 @@ export interface EoCardItemProps {
|
|
|
57
57
|
coverColor?: string;
|
|
58
58
|
tagConfig?: TagConfig;
|
|
59
59
|
avatarPosition?: "content" | "cover";
|
|
60
|
+
avatarPlacement?: "left" | "title-left";
|
|
60
61
|
coverImageSize?: React.CSSProperties["backgroundSize"];
|
|
61
62
|
borderColor?: string;
|
|
62
63
|
stacked?: boolean;
|
|
@@ -141,6 +142,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
141
142
|
* 图标是否放置在卡片封面
|
|
142
143
|
*/
|
|
143
144
|
accessor avatarPosition: "content" | "cover";
|
|
145
|
+
/**
|
|
146
|
+
* 图标位置,在 avatarPosition 不为 cover 时有效
|
|
147
|
+
*/
|
|
148
|
+
accessor avatarPlacement: "left" | "title-left";
|
|
144
149
|
accessor tagConfig: TagConfig | undefined;
|
|
145
150
|
/**
|
|
146
151
|
* 卡片边框颜色
|
package/docs/eo-card-item.md
CHANGED
|
@@ -283,6 +283,25 @@ properties:
|
|
|
283
283
|
event: download
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
+
### avatarPlacement
|
|
287
|
+
|
|
288
|
+
```yaml preview
|
|
289
|
+
brick: eo-card-item
|
|
290
|
+
properties:
|
|
291
|
+
avatarPlacement: title-left
|
|
292
|
+
style:
|
|
293
|
+
width: 300px
|
|
294
|
+
cardTitle: 资源监控微应用
|
|
295
|
+
description: 资源监控微应用相关前后台
|
|
296
|
+
url: /test
|
|
297
|
+
target: _blank
|
|
298
|
+
avatar:
|
|
299
|
+
icon:
|
|
300
|
+
lib: easyops
|
|
301
|
+
category: default
|
|
302
|
+
icon: monitor
|
|
303
|
+
```
|
|
304
|
+
|
|
286
305
|
### selected
|
|
287
306
|
|
|
288
307
|
```yaml preview
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@next-bricks/containers": "*",
|
|
45
45
|
"@next-bricks/icons": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "89adc6b7986a4ec4b40fc088e5e85b636463f588"
|
|
48
48
|
}
|