@next-bricks/presentational 1.17.2 → 1.19.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 +23 -23
- package/dist/chunks/7082.89e0b700.js +2 -0
- package/dist/chunks/7082.89e0b700.js.map +1 -0
- package/dist/chunks/eo-card-item.9599f171.js +3 -0
- package/dist/chunks/eo-card-item.9599f171.js.map +1 -0
- package/dist/chunks/{eo-descriptions.146ffb09.js → eo-descriptions.4ce01d04.js} +3 -3
- package/dist/chunks/{eo-descriptions.146ffb09.js.map → eo-descriptions.4ce01d04.js.map} +1 -1
- package/dist/chunks/{main.a3e460d3.js → main.1112a8b0.js} +2 -2
- package/dist/chunks/{main.a3e460d3.js.map → main.1112a8b0.js.map} +1 -1
- package/dist/examples.json +13 -13
- package/dist/{index.66045f54.js → index.8703558e.js} +2 -2
- package/dist/{index.66045f54.js.map → index.8703558e.js.map} +1 -1
- package/dist/manifest.json +203 -193
- package/dist/types.json +250 -236
- package/dist-types/card-item/index.d.ts +5 -0
- package/dist-types/descriptions/index.d.ts +5 -0
- package/docs/eo-card-item.md +62 -14
- package/package.json +2 -2
- package/dist/chunks/7082.8561128a.js +0 -2
- package/dist/chunks/7082.8561128a.js.map +0 -1
- package/dist/chunks/eo-card-item.c2470618.js +0 -3
- package/dist/chunks/eo-card-item.c2470618.js.map +0 -1
- /package/dist/chunks/{eo-card-item.c2470618.js.LICENSE.txt → eo-card-item.9599f171.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.146ffb09.js.LICENSE.txt → eo-descriptions.4ce01d04.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -35,6 +35,13 @@
|
|
|
35
35
|
"value": "number"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"name": "templateColumns",
|
|
40
|
+
"annotation": {
|
|
41
|
+
"type": "keyword",
|
|
42
|
+
"value": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
38
45
|
{
|
|
39
46
|
"name": "layout",
|
|
40
47
|
"annotation": {
|
|
@@ -452,6 +459,13 @@
|
|
|
452
459
|
"value": "string"
|
|
453
460
|
}
|
|
454
461
|
},
|
|
462
|
+
{
|
|
463
|
+
"name": "stacked",
|
|
464
|
+
"annotation": {
|
|
465
|
+
"type": "keyword",
|
|
466
|
+
"value": "boolean"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
455
469
|
{
|
|
456
470
|
"name": "cardStyle",
|
|
457
471
|
"annotation": {
|
|
@@ -784,109 +798,6 @@
|
|
|
784
798
|
}
|
|
785
799
|
]
|
|
786
800
|
},
|
|
787
|
-
"eo-divider": {
|
|
788
|
-
"properties": [
|
|
789
|
-
{
|
|
790
|
-
"name": "orientation",
|
|
791
|
-
"annotation": {
|
|
792
|
-
"type": "reference",
|
|
793
|
-
"typeName": {
|
|
794
|
-
"type": "identifier",
|
|
795
|
-
"name": "OrientationType"
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "dashed",
|
|
801
|
-
"annotation": {
|
|
802
|
-
"type": "keyword",
|
|
803
|
-
"value": "boolean"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"name": "type",
|
|
808
|
-
"annotation": {
|
|
809
|
-
"type": "reference",
|
|
810
|
-
"typeName": {
|
|
811
|
-
"type": "identifier",
|
|
812
|
-
"name": "dividerType"
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
"name": "proportion",
|
|
818
|
-
"annotation": {
|
|
819
|
-
"type": "tuple",
|
|
820
|
-
"elementTypes": [
|
|
821
|
-
{
|
|
822
|
-
"type": "keyword",
|
|
823
|
-
"value": "number"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"type": "keyword",
|
|
827
|
-
"value": "number"
|
|
828
|
-
}
|
|
829
|
-
]
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"name": "dividerStyle",
|
|
834
|
-
"annotation": {
|
|
835
|
-
"type": "reference",
|
|
836
|
-
"typeName": {
|
|
837
|
-
"type": "identifier",
|
|
838
|
-
"name": "CSSProperties"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
],
|
|
843
|
-
"events": [],
|
|
844
|
-
"methods": [],
|
|
845
|
-
"types": [
|
|
846
|
-
{
|
|
847
|
-
"type": "typeAlias",
|
|
848
|
-
"name": "OrientationType",
|
|
849
|
-
"annotation": {
|
|
850
|
-
"type": "union",
|
|
851
|
-
"types": [
|
|
852
|
-
{
|
|
853
|
-
"type": "jsLiteral",
|
|
854
|
-
"value": "left"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
"type": "jsLiteral",
|
|
858
|
-
"value": "center"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"type": "jsLiteral",
|
|
862
|
-
"value": "right"
|
|
863
|
-
}
|
|
864
|
-
]
|
|
865
|
-
}
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"type": "typeAlias",
|
|
869
|
-
"name": "dividerType",
|
|
870
|
-
"annotation": {
|
|
871
|
-
"type": "union",
|
|
872
|
-
"types": [
|
|
873
|
-
{
|
|
874
|
-
"type": "jsLiteral",
|
|
875
|
-
"value": "horizontal"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"type": "jsLiteral",
|
|
879
|
-
"value": "vertical"
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"type": "jsLiteral",
|
|
883
|
-
"value": "radiation"
|
|
884
|
-
}
|
|
885
|
-
]
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
]
|
|
889
|
-
},
|
|
890
801
|
"eo-info-card-item": {
|
|
891
802
|
"properties": [
|
|
892
803
|
{
|
|
@@ -1090,6 +1001,109 @@
|
|
|
1090
1001
|
}
|
|
1091
1002
|
]
|
|
1092
1003
|
},
|
|
1004
|
+
"eo-divider": {
|
|
1005
|
+
"properties": [
|
|
1006
|
+
{
|
|
1007
|
+
"name": "orientation",
|
|
1008
|
+
"annotation": {
|
|
1009
|
+
"type": "reference",
|
|
1010
|
+
"typeName": {
|
|
1011
|
+
"type": "identifier",
|
|
1012
|
+
"name": "OrientationType"
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "dashed",
|
|
1018
|
+
"annotation": {
|
|
1019
|
+
"type": "keyword",
|
|
1020
|
+
"value": "boolean"
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "type",
|
|
1025
|
+
"annotation": {
|
|
1026
|
+
"type": "reference",
|
|
1027
|
+
"typeName": {
|
|
1028
|
+
"type": "identifier",
|
|
1029
|
+
"name": "dividerType"
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "proportion",
|
|
1035
|
+
"annotation": {
|
|
1036
|
+
"type": "tuple",
|
|
1037
|
+
"elementTypes": [
|
|
1038
|
+
{
|
|
1039
|
+
"type": "keyword",
|
|
1040
|
+
"value": "number"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"type": "keyword",
|
|
1044
|
+
"value": "number"
|
|
1045
|
+
}
|
|
1046
|
+
]
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "dividerStyle",
|
|
1051
|
+
"annotation": {
|
|
1052
|
+
"type": "reference",
|
|
1053
|
+
"typeName": {
|
|
1054
|
+
"type": "identifier",
|
|
1055
|
+
"name": "CSSProperties"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
],
|
|
1060
|
+
"events": [],
|
|
1061
|
+
"methods": [],
|
|
1062
|
+
"types": [
|
|
1063
|
+
{
|
|
1064
|
+
"type": "typeAlias",
|
|
1065
|
+
"name": "OrientationType",
|
|
1066
|
+
"annotation": {
|
|
1067
|
+
"type": "union",
|
|
1068
|
+
"types": [
|
|
1069
|
+
{
|
|
1070
|
+
"type": "jsLiteral",
|
|
1071
|
+
"value": "left"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"type": "jsLiteral",
|
|
1075
|
+
"value": "center"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"type": "jsLiteral",
|
|
1079
|
+
"value": "right"
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"type": "typeAlias",
|
|
1086
|
+
"name": "dividerType",
|
|
1087
|
+
"annotation": {
|
|
1088
|
+
"type": "union",
|
|
1089
|
+
"types": [
|
|
1090
|
+
{
|
|
1091
|
+
"type": "jsLiteral",
|
|
1092
|
+
"value": "horizontal"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"type": "jsLiteral",
|
|
1096
|
+
"value": "vertical"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"type": "jsLiteral",
|
|
1100
|
+
"value": "radiation"
|
|
1101
|
+
}
|
|
1102
|
+
]
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1093
1107
|
"eo-statistics-card": {
|
|
1094
1108
|
"properties": [
|
|
1095
1109
|
{
|
|
@@ -1443,29 +1457,6 @@
|
|
|
1443
1457
|
}
|
|
1444
1458
|
]
|
|
1445
1459
|
},
|
|
1446
|
-
"eo-current-time": {
|
|
1447
|
-
"properties": [
|
|
1448
|
-
{
|
|
1449
|
-
"name": "format",
|
|
1450
|
-
"annotation": {
|
|
1451
|
-
"type": "keyword",
|
|
1452
|
-
"value": "string"
|
|
1453
|
-
}
|
|
1454
|
-
},
|
|
1455
|
-
{
|
|
1456
|
-
"name": "icon",
|
|
1457
|
-
"annotation": {
|
|
1458
|
-
"type": "reference",
|
|
1459
|
-
"typeName": {
|
|
1460
|
-
"type": "identifier",
|
|
1461
|
-
"name": "GeneralIconProps"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
],
|
|
1466
|
-
"events": [],
|
|
1467
|
-
"methods": []
|
|
1468
|
-
},
|
|
1469
1460
|
"eo-loading-step": {
|
|
1470
1461
|
"properties": [
|
|
1471
1462
|
{
|
|
@@ -1575,6 +1566,29 @@
|
|
|
1575
1566
|
}
|
|
1576
1567
|
]
|
|
1577
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
|
+
},
|
|
1578
1592
|
"eo-carousel-text": {
|
|
1579
1593
|
"properties": [
|
|
1580
1594
|
{
|
|
@@ -1646,116 +1660,6 @@
|
|
|
1646
1660
|
"events": [],
|
|
1647
1661
|
"methods": []
|
|
1648
1662
|
},
|
|
1649
|
-
"eo-alert": {
|
|
1650
|
-
"properties": [
|
|
1651
|
-
{
|
|
1652
|
-
"name": "type",
|
|
1653
|
-
"annotation": {
|
|
1654
|
-
"type": "reference",
|
|
1655
|
-
"typeName": {
|
|
1656
|
-
"type": "identifier",
|
|
1657
|
-
"name": "AlertType"
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
"name": "hasTitle",
|
|
1663
|
-
"annotation": {
|
|
1664
|
-
"type": "keyword",
|
|
1665
|
-
"value": "boolean"
|
|
1666
|
-
}
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"name": "showIcon",
|
|
1670
|
-
"annotation": {
|
|
1671
|
-
"type": "keyword",
|
|
1672
|
-
"value": "boolean"
|
|
1673
|
-
}
|
|
1674
|
-
},
|
|
1675
|
-
{
|
|
1676
|
-
"name": "closable",
|
|
1677
|
-
"annotation": {
|
|
1678
|
-
"type": "keyword",
|
|
1679
|
-
"value": "boolean"
|
|
1680
|
-
}
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
"name": "localStorageKey",
|
|
1684
|
-
"annotation": {
|
|
1685
|
-
"type": "keyword",
|
|
1686
|
-
"value": "string"
|
|
1687
|
-
}
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
"name": "disableUrlNamespace",
|
|
1691
|
-
"annotation": {
|
|
1692
|
-
"type": "keyword",
|
|
1693
|
-
"value": "boolean"
|
|
1694
|
-
}
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
"name": "textContent",
|
|
1698
|
-
"annotation": {
|
|
1699
|
-
"type": "keyword",
|
|
1700
|
-
"value": "string"
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
],
|
|
1704
|
-
"events": [],
|
|
1705
|
-
"methods": [],
|
|
1706
|
-
"types": [
|
|
1707
|
-
{
|
|
1708
|
-
"type": "enum",
|
|
1709
|
-
"name": "AlertType",
|
|
1710
|
-
"members": [
|
|
1711
|
-
{
|
|
1712
|
-
"type": "enumMember",
|
|
1713
|
-
"id": {
|
|
1714
|
-
"type": "jsLiteral",
|
|
1715
|
-
"value": "SUCCESS"
|
|
1716
|
-
},
|
|
1717
|
-
"initializer": {
|
|
1718
|
-
"type": "jsLiteral",
|
|
1719
|
-
"value": "success"
|
|
1720
|
-
}
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"type": "enumMember",
|
|
1724
|
-
"id": {
|
|
1725
|
-
"type": "jsLiteral",
|
|
1726
|
-
"value": "INFO"
|
|
1727
|
-
},
|
|
1728
|
-
"initializer": {
|
|
1729
|
-
"type": "jsLiteral",
|
|
1730
|
-
"value": "info"
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"type": "enumMember",
|
|
1735
|
-
"id": {
|
|
1736
|
-
"type": "jsLiteral",
|
|
1737
|
-
"value": "WARNING"
|
|
1738
|
-
},
|
|
1739
|
-
"initializer": {
|
|
1740
|
-
"type": "jsLiteral",
|
|
1741
|
-
"value": "warning"
|
|
1742
|
-
}
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"type": "enumMember",
|
|
1746
|
-
"id": {
|
|
1747
|
-
"type": "jsLiteral",
|
|
1748
|
-
"value": "ERROR"
|
|
1749
|
-
},
|
|
1750
|
-
"initializer": {
|
|
1751
|
-
"type": "jsLiteral",
|
|
1752
|
-
"value": "error"
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
|
-
]
|
|
1756
|
-
}
|
|
1757
|
-
]
|
|
1758
|
-
},
|
|
1759
1663
|
"eo-pagination": {
|
|
1760
1664
|
"properties": [
|
|
1761
1665
|
{
|
|
@@ -2011,6 +1915,116 @@
|
|
|
2011
1915
|
"events": [],
|
|
2012
1916
|
"methods": []
|
|
2013
1917
|
},
|
|
1918
|
+
"eo-alert": {
|
|
1919
|
+
"properties": [
|
|
1920
|
+
{
|
|
1921
|
+
"name": "type",
|
|
1922
|
+
"annotation": {
|
|
1923
|
+
"type": "reference",
|
|
1924
|
+
"typeName": {
|
|
1925
|
+
"type": "identifier",
|
|
1926
|
+
"name": "AlertType"
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "hasTitle",
|
|
1932
|
+
"annotation": {
|
|
1933
|
+
"type": "keyword",
|
|
1934
|
+
"value": "boolean"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "showIcon",
|
|
1939
|
+
"annotation": {
|
|
1940
|
+
"type": "keyword",
|
|
1941
|
+
"value": "boolean"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"name": "closable",
|
|
1946
|
+
"annotation": {
|
|
1947
|
+
"type": "keyword",
|
|
1948
|
+
"value": "boolean"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"name": "localStorageKey",
|
|
1953
|
+
"annotation": {
|
|
1954
|
+
"type": "keyword",
|
|
1955
|
+
"value": "string"
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"name": "disableUrlNamespace",
|
|
1960
|
+
"annotation": {
|
|
1961
|
+
"type": "keyword",
|
|
1962
|
+
"value": "boolean"
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"name": "textContent",
|
|
1967
|
+
"annotation": {
|
|
1968
|
+
"type": "keyword",
|
|
1969
|
+
"value": "string"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
],
|
|
1973
|
+
"events": [],
|
|
1974
|
+
"methods": [],
|
|
1975
|
+
"types": [
|
|
1976
|
+
{
|
|
1977
|
+
"type": "enum",
|
|
1978
|
+
"name": "AlertType",
|
|
1979
|
+
"members": [
|
|
1980
|
+
{
|
|
1981
|
+
"type": "enumMember",
|
|
1982
|
+
"id": {
|
|
1983
|
+
"type": "jsLiteral",
|
|
1984
|
+
"value": "SUCCESS"
|
|
1985
|
+
},
|
|
1986
|
+
"initializer": {
|
|
1987
|
+
"type": "jsLiteral",
|
|
1988
|
+
"value": "success"
|
|
1989
|
+
}
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"type": "enumMember",
|
|
1993
|
+
"id": {
|
|
1994
|
+
"type": "jsLiteral",
|
|
1995
|
+
"value": "INFO"
|
|
1996
|
+
},
|
|
1997
|
+
"initializer": {
|
|
1998
|
+
"type": "jsLiteral",
|
|
1999
|
+
"value": "info"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"type": "enumMember",
|
|
2004
|
+
"id": {
|
|
2005
|
+
"type": "jsLiteral",
|
|
2006
|
+
"value": "WARNING"
|
|
2007
|
+
},
|
|
2008
|
+
"initializer": {
|
|
2009
|
+
"type": "jsLiteral",
|
|
2010
|
+
"value": "warning"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"type": "enumMember",
|
|
2015
|
+
"id": {
|
|
2016
|
+
"type": "jsLiteral",
|
|
2017
|
+
"value": "ERROR"
|
|
2018
|
+
},
|
|
2019
|
+
"initializer": {
|
|
2020
|
+
"type": "jsLiteral",
|
|
2021
|
+
"value": "error"
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
]
|
|
2025
|
+
}
|
|
2026
|
+
]
|
|
2027
|
+
},
|
|
2014
2028
|
"eo-humanize-time": {
|
|
2015
2029
|
"properties": [
|
|
2016
2030
|
{
|
|
@@ -59,6 +59,7 @@ export interface EoCardItemProps {
|
|
|
59
59
|
avatarPosition?: "content" | "cover";
|
|
60
60
|
coverImageSize?: React.CSSProperties["backgroundSize"];
|
|
61
61
|
borderColor?: string;
|
|
62
|
+
stacked?: boolean;
|
|
62
63
|
cardStyle?: React.CSSProperties;
|
|
63
64
|
cardBodyStyle?: React.CSSProperties;
|
|
64
65
|
cardTitleStyle?: React.CSSProperties;
|
|
@@ -145,6 +146,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
145
146
|
* 卡片边框颜色
|
|
146
147
|
*/
|
|
147
148
|
accessor borderColor: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* 是否堆叠
|
|
151
|
+
*/
|
|
152
|
+
accessor stacked: boolean | undefined;
|
|
148
153
|
/**
|
|
149
154
|
* 卡片样式
|
|
150
155
|
*/
|
|
@@ -17,6 +17,7 @@ export interface DescriptionsProps {
|
|
|
17
17
|
list?: DescriptionItem[];
|
|
18
18
|
showCard?: boolean;
|
|
19
19
|
column?: number;
|
|
20
|
+
templateColumns?: string;
|
|
20
21
|
layout?: Layout;
|
|
21
22
|
bordered?: boolean;
|
|
22
23
|
hideGroups?: string[] | string;
|
|
@@ -46,6 +47,10 @@ declare class Descriptions extends ReactNextElement {
|
|
|
46
47
|
* 列数
|
|
47
48
|
*/
|
|
48
49
|
accessor column: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* CSS [grid-template-columns](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns)
|
|
52
|
+
*/
|
|
53
|
+
accessor templateColumns: string | undefined;
|
|
49
54
|
/**
|
|
50
55
|
* 布局模式
|
|
51
56
|
* @default "horizontal"
|
package/docs/eo-card-item.md
CHANGED
|
@@ -321,7 +321,6 @@ properties:
|
|
|
321
321
|
- brick: eo-card-item
|
|
322
322
|
properties:
|
|
323
323
|
borderColor: blue
|
|
324
|
-
selected: true
|
|
325
324
|
style:
|
|
326
325
|
width: 300px
|
|
327
326
|
cardTitle: 资源监控微应用
|
|
@@ -337,6 +336,7 @@ properties:
|
|
|
337
336
|
borderColor: blue
|
|
338
337
|
selected: true
|
|
339
338
|
style:
|
|
339
|
+
marginTop: 8px
|
|
340
340
|
width: 300px
|
|
341
341
|
cardTitle: 资源监控微应用
|
|
342
342
|
description: 资源监控微应用相关前后台
|
|
@@ -512,19 +512,6 @@ properties:
|
|
|
512
512
|
target: _blank
|
|
513
513
|
```
|
|
514
514
|
|
|
515
|
-
### cardStyle
|
|
516
|
-
|
|
517
|
-
```yaml preview
|
|
518
|
-
- brick: eo-card-item
|
|
519
|
-
properties:
|
|
520
|
-
style:
|
|
521
|
-
width: 280px
|
|
522
|
-
cardStyle:
|
|
523
|
-
backgroundColor: var(--palette-gray-blue-6)
|
|
524
|
-
cardTitle: 信息卡片
|
|
525
|
-
description: 这是一只可爱的北极熊
|
|
526
|
-
```
|
|
527
|
-
|
|
528
515
|
### Style type
|
|
529
516
|
|
|
530
517
|
```yaml preview
|
|
@@ -544,3 +531,64 @@ properties:
|
|
|
544
531
|
icon: monitor
|
|
545
532
|
size: 20
|
|
546
533
|
```
|
|
534
|
+
|
|
535
|
+
### stacked
|
|
536
|
+
|
|
537
|
+
```yaml preview
|
|
538
|
+
- brick: eo-card-item
|
|
539
|
+
properties:
|
|
540
|
+
stacked: true
|
|
541
|
+
style:
|
|
542
|
+
width: 300px
|
|
543
|
+
cardTitle: 资源监控微应用
|
|
544
|
+
description: 资源监控微应用相关前后台
|
|
545
|
+
avatar:
|
|
546
|
+
icon:
|
|
547
|
+
lib: easyops
|
|
548
|
+
category: default
|
|
549
|
+
icon: monitor
|
|
550
|
+
size: 20
|
|
551
|
+
- brick: eo-card-item
|
|
552
|
+
properties:
|
|
553
|
+
stacked: true
|
|
554
|
+
styleType: grayish
|
|
555
|
+
style:
|
|
556
|
+
marginTop: 18px
|
|
557
|
+
width: 300px
|
|
558
|
+
cardTitle: 资源监控微应用
|
|
559
|
+
description: 资源监控微应用相关前后台
|
|
560
|
+
avatar:
|
|
561
|
+
icon:
|
|
562
|
+
lib: easyops
|
|
563
|
+
category: default
|
|
564
|
+
icon: monitor
|
|
565
|
+
size: 20
|
|
566
|
+
- brick: eo-card-item
|
|
567
|
+
properties:
|
|
568
|
+
stacked: true
|
|
569
|
+
borderColor: blue
|
|
570
|
+
style:
|
|
571
|
+
marginTop: 18px
|
|
572
|
+
width: 300px
|
|
573
|
+
cardTitle: 资源监控微应用
|
|
574
|
+
description: 资源监控微应用相关前后台
|
|
575
|
+
avatar:
|
|
576
|
+
icon:
|
|
577
|
+
lib: easyops
|
|
578
|
+
category: default
|
|
579
|
+
icon: monitor
|
|
580
|
+
size: 20
|
|
581
|
+
```
|
|
582
|
+
|
|
583
|
+
### cardStyle
|
|
584
|
+
|
|
585
|
+
```yaml preview
|
|
586
|
+
- brick: eo-card-item
|
|
587
|
+
properties:
|
|
588
|
+
style:
|
|
589
|
+
width: 280px
|
|
590
|
+
cardStyle:
|
|
591
|
+
backgroundColor: var(--palette-gray-blue-6)
|
|
592
|
+
cardTitle: 信息卡片
|
|
593
|
+
description: 这是一只可爱的北极熊
|
|
594
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
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": "463f12de0b663b7ebc3c40e7e018b91c83df77cb"
|
|
48
48
|
}
|