@next-bricks/presentational 1.15.0 → 1.16.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 +29 -29
- package/dist/chunks/7082.4f2c5022.js +2 -0
- package/dist/chunks/7082.4f2c5022.js.map +1 -0
- package/dist/chunks/eo-card-item.08f95a92.js +3 -0
- package/dist/chunks/eo-card-item.08f95a92.js.map +1 -0
- package/dist/chunks/eo-descriptions.1abe32d8.js.map +1 -1
- package/dist/chunks/{main.5f4e873f.js → main.09302c17.js} +2 -2
- package/dist/chunks/{main.5f4e873f.js.map → main.09302c17.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/index.7804e54f.js +2 -0
- package/dist/{index.6814eeea.js.map → index.7804e54f.js.map} +1 -1
- package/dist/manifest.json +240 -220
- package/dist/types.json +198 -167
- package/dist-types/card-item/index.d.ts +11 -0
- package/dist-types/descriptions/index.d.ts +1 -1
- package/docs/eo-card-item.md +61 -28
- package/package.json +2 -2
- package/dist/chunks/7082.5b5601f8.js +0 -2
- package/dist/chunks/7082.5b5601f8.js.map +0 -1
- package/dist/chunks/eo-card-item.c8ae419d.js +0 -3
- package/dist/chunks/eo-card-item.c8ae419d.js.map +0 -1
- package/dist/index.6814eeea.js +0 -2
- /package/dist/chunks/{eo-card-item.c8ae419d.js.LICENSE.txt → eo-card-item.08f95a92.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -445,6 +445,13 @@
|
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"name": "borderColor",
|
|
450
|
+
"annotation": {
|
|
451
|
+
"type": "keyword",
|
|
452
|
+
"value": "string"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
448
455
|
{
|
|
449
456
|
"name": "cardStyle",
|
|
450
457
|
"annotation": {
|
|
@@ -462,6 +469,23 @@
|
|
|
462
469
|
}
|
|
463
470
|
}
|
|
464
471
|
},
|
|
472
|
+
{
|
|
473
|
+
"name": "cardBodyStyle",
|
|
474
|
+
"annotation": {
|
|
475
|
+
"type": "reference",
|
|
476
|
+
"typeName": {
|
|
477
|
+
"type": "qualifiedName",
|
|
478
|
+
"left": {
|
|
479
|
+
"type": "identifier",
|
|
480
|
+
"name": "React"
|
|
481
|
+
},
|
|
482
|
+
"right": {
|
|
483
|
+
"type": "identifier",
|
|
484
|
+
"name": "CSSProperties"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
},
|
|
465
489
|
{
|
|
466
490
|
"name": "cardTitleStyle",
|
|
467
491
|
"annotation": {
|
|
@@ -478,6 +502,13 @@
|
|
|
478
502
|
}
|
|
479
503
|
}
|
|
480
504
|
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "textContent",
|
|
508
|
+
"annotation": {
|
|
509
|
+
"type": "keyword",
|
|
510
|
+
"value": "string"
|
|
511
|
+
}
|
|
481
512
|
}
|
|
482
513
|
],
|
|
483
514
|
"events": [
|
|
@@ -1713,67 +1744,198 @@
|
|
|
1713
1744
|
}
|
|
1714
1745
|
]
|
|
1715
1746
|
},
|
|
1716
|
-
"eo-
|
|
1747
|
+
"eo-pagination": {
|
|
1717
1748
|
"properties": [
|
|
1718
1749
|
{
|
|
1719
|
-
"name": "
|
|
1750
|
+
"name": "type",
|
|
1720
1751
|
"annotation": {
|
|
1721
|
-
"type": "
|
|
1722
|
-
"
|
|
1752
|
+
"type": "union",
|
|
1753
|
+
"types": [
|
|
1754
|
+
{
|
|
1755
|
+
"type": "jsLiteral",
|
|
1756
|
+
"value": "page"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"type": "jsLiteral",
|
|
1760
|
+
"value": "token"
|
|
1761
|
+
}
|
|
1762
|
+
]
|
|
1723
1763
|
}
|
|
1724
1764
|
},
|
|
1725
1765
|
{
|
|
1726
|
-
"name": "
|
|
1766
|
+
"name": "total",
|
|
1727
1767
|
"annotation": {
|
|
1728
1768
|
"type": "keyword",
|
|
1729
|
-
"value": "
|
|
1769
|
+
"value": "number"
|
|
1730
1770
|
}
|
|
1731
1771
|
},
|
|
1732
1772
|
{
|
|
1733
|
-
"name": "
|
|
1773
|
+
"name": "page",
|
|
1734
1774
|
"annotation": {
|
|
1735
1775
|
"type": "keyword",
|
|
1736
|
-
"value": "
|
|
1776
|
+
"value": "number"
|
|
1737
1777
|
}
|
|
1738
1778
|
},
|
|
1739
1779
|
{
|
|
1740
|
-
"name": "
|
|
1780
|
+
"name": "pageSize",
|
|
1741
1781
|
"annotation": {
|
|
1742
1782
|
"type": "keyword",
|
|
1743
1783
|
"value": "number"
|
|
1744
1784
|
}
|
|
1745
1785
|
},
|
|
1746
1786
|
{
|
|
1747
|
-
"name": "
|
|
1787
|
+
"name": "pageSizeOptions",
|
|
1748
1788
|
"annotation": {
|
|
1749
|
-
"type": "
|
|
1750
|
-
"
|
|
1789
|
+
"type": "array",
|
|
1790
|
+
"elementType": {
|
|
1791
|
+
"type": "keyword",
|
|
1792
|
+
"value": "number"
|
|
1793
|
+
}
|
|
1751
1794
|
}
|
|
1752
1795
|
},
|
|
1753
1796
|
{
|
|
1754
|
-
"name": "
|
|
1797
|
+
"name": "showSizeChanger",
|
|
1755
1798
|
"annotation": {
|
|
1756
1799
|
"type": "keyword",
|
|
1757
1800
|
"value": "boolean"
|
|
1758
1801
|
}
|
|
1759
1802
|
},
|
|
1760
1803
|
{
|
|
1761
|
-
"name": "
|
|
1804
|
+
"name": "nextToken",
|
|
1762
1805
|
"annotation": {
|
|
1763
1806
|
"type": "keyword",
|
|
1764
|
-
"value": "
|
|
1807
|
+
"value": "string"
|
|
1765
1808
|
}
|
|
1766
1809
|
},
|
|
1767
1810
|
{
|
|
1768
|
-
"name": "
|
|
1811
|
+
"name": "previousToken",
|
|
1769
1812
|
"annotation": {
|
|
1770
1813
|
"type": "keyword",
|
|
1771
1814
|
"value": "string"
|
|
1772
1815
|
}
|
|
1773
1816
|
}
|
|
1774
1817
|
],
|
|
1775
|
-
"events": [
|
|
1776
|
-
|
|
1818
|
+
"events": [
|
|
1819
|
+
{
|
|
1820
|
+
"name": "change",
|
|
1821
|
+
"detail": {
|
|
1822
|
+
"annotation": {
|
|
1823
|
+
"type": "reference",
|
|
1824
|
+
"typeName": {
|
|
1825
|
+
"type": "identifier",
|
|
1826
|
+
"name": "ChangeDetail"
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
],
|
|
1832
|
+
"methods": [],
|
|
1833
|
+
"types": [
|
|
1834
|
+
{
|
|
1835
|
+
"type": "typeAlias",
|
|
1836
|
+
"name": "ChangeDetail",
|
|
1837
|
+
"annotation": {
|
|
1838
|
+
"type": "union",
|
|
1839
|
+
"types": [
|
|
1840
|
+
{
|
|
1841
|
+
"type": "reference",
|
|
1842
|
+
"typeName": {
|
|
1843
|
+
"type": "identifier",
|
|
1844
|
+
"name": "ChangeDetailOfPage"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"type": "reference",
|
|
1849
|
+
"typeName": {
|
|
1850
|
+
"type": "identifier",
|
|
1851
|
+
"name": "ChangeDetailOfToken"
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
]
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"type": "interface",
|
|
1859
|
+
"name": "ChangeDetailOfPage",
|
|
1860
|
+
"body": [
|
|
1861
|
+
{
|
|
1862
|
+
"type": "propertySignature",
|
|
1863
|
+
"key": {
|
|
1864
|
+
"type": "identifier",
|
|
1865
|
+
"name": "page"
|
|
1866
|
+
},
|
|
1867
|
+
"annotation": {
|
|
1868
|
+
"type": "keyword",
|
|
1869
|
+
"value": "number"
|
|
1870
|
+
},
|
|
1871
|
+
"computed": false
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"type": "propertySignature",
|
|
1875
|
+
"key": {
|
|
1876
|
+
"type": "identifier",
|
|
1877
|
+
"name": "pageSize"
|
|
1878
|
+
},
|
|
1879
|
+
"annotation": {
|
|
1880
|
+
"type": "keyword",
|
|
1881
|
+
"value": "number"
|
|
1882
|
+
},
|
|
1883
|
+
"computed": false
|
|
1884
|
+
}
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"type": "interface",
|
|
1889
|
+
"name": "ChangeDetailOfToken",
|
|
1890
|
+
"body": [
|
|
1891
|
+
{
|
|
1892
|
+
"type": "propertySignature",
|
|
1893
|
+
"key": {
|
|
1894
|
+
"type": "identifier",
|
|
1895
|
+
"name": "type"
|
|
1896
|
+
},
|
|
1897
|
+
"annotation": {
|
|
1898
|
+
"type": "jsLiteral",
|
|
1899
|
+
"value": "token"
|
|
1900
|
+
},
|
|
1901
|
+
"computed": false
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"type": "propertySignature",
|
|
1905
|
+
"key": {
|
|
1906
|
+
"type": "identifier",
|
|
1907
|
+
"name": "nextToken"
|
|
1908
|
+
},
|
|
1909
|
+
"annotation": {
|
|
1910
|
+
"type": "union",
|
|
1911
|
+
"types": [
|
|
1912
|
+
{
|
|
1913
|
+
"type": "keyword",
|
|
1914
|
+
"value": "string"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"type": "keyword",
|
|
1918
|
+
"value": "undefined"
|
|
1919
|
+
}
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1922
|
+
"computed": false
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"type": "propertySignature",
|
|
1926
|
+
"key": {
|
|
1927
|
+
"type": "identifier",
|
|
1928
|
+
"name": "pageSize"
|
|
1929
|
+
},
|
|
1930
|
+
"annotation": {
|
|
1931
|
+
"type": "keyword",
|
|
1932
|
+
"value": "number"
|
|
1933
|
+
},
|
|
1934
|
+
"computed": false
|
|
1935
|
+
}
|
|
1936
|
+
]
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1777
1939
|
},
|
|
1778
1940
|
"eo-humanize-time": {
|
|
1779
1941
|
"properties": [
|
|
@@ -1904,197 +2066,66 @@
|
|
|
1904
2066
|
}
|
|
1905
2067
|
]
|
|
1906
2068
|
},
|
|
1907
|
-
"eo-
|
|
2069
|
+
"eo-code-display": {
|
|
1908
2070
|
"properties": [
|
|
1909
2071
|
{
|
|
1910
|
-
"name": "
|
|
2072
|
+
"name": "value",
|
|
1911
2073
|
"annotation": {
|
|
1912
|
-
"type": "
|
|
1913
|
-
"
|
|
1914
|
-
{
|
|
1915
|
-
"type": "jsLiteral",
|
|
1916
|
-
"value": "page"
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"type": "jsLiteral",
|
|
1920
|
-
"value": "token"
|
|
1921
|
-
}
|
|
1922
|
-
]
|
|
2074
|
+
"type": "keyword",
|
|
2075
|
+
"value": "string"
|
|
1923
2076
|
}
|
|
1924
2077
|
},
|
|
1925
2078
|
{
|
|
1926
|
-
"name": "
|
|
2079
|
+
"name": "language",
|
|
1927
2080
|
"annotation": {
|
|
1928
2081
|
"type": "keyword",
|
|
1929
|
-
"value": "
|
|
2082
|
+
"value": "string"
|
|
1930
2083
|
}
|
|
1931
2084
|
},
|
|
1932
2085
|
{
|
|
1933
|
-
"name": "
|
|
2086
|
+
"name": "hideLineNumber",
|
|
1934
2087
|
"annotation": {
|
|
1935
2088
|
"type": "keyword",
|
|
1936
|
-
"value": "
|
|
2089
|
+
"value": "boolean"
|
|
1937
2090
|
}
|
|
1938
2091
|
},
|
|
1939
2092
|
{
|
|
1940
|
-
"name": "
|
|
2093
|
+
"name": "maxLines",
|
|
1941
2094
|
"annotation": {
|
|
1942
2095
|
"type": "keyword",
|
|
1943
2096
|
"value": "number"
|
|
1944
2097
|
}
|
|
1945
2098
|
},
|
|
1946
2099
|
{
|
|
1947
|
-
"name": "
|
|
2100
|
+
"name": "minLines",
|
|
1948
2101
|
"annotation": {
|
|
1949
|
-
"type": "
|
|
1950
|
-
"
|
|
1951
|
-
"type": "keyword",
|
|
1952
|
-
"value": "number"
|
|
1953
|
-
}
|
|
2102
|
+
"type": "keyword",
|
|
2103
|
+
"value": "number"
|
|
1954
2104
|
}
|
|
1955
2105
|
},
|
|
1956
2106
|
{
|
|
1957
|
-
"name": "
|
|
2107
|
+
"name": "showCopyButton",
|
|
1958
2108
|
"annotation": {
|
|
1959
2109
|
"type": "keyword",
|
|
1960
2110
|
"value": "boolean"
|
|
1961
2111
|
}
|
|
1962
2112
|
},
|
|
1963
2113
|
{
|
|
1964
|
-
"name": "
|
|
2114
|
+
"name": "showExportButton",
|
|
1965
2115
|
"annotation": {
|
|
1966
2116
|
"type": "keyword",
|
|
1967
|
-
"value": "
|
|
2117
|
+
"value": "boolean"
|
|
1968
2118
|
}
|
|
1969
2119
|
},
|
|
1970
2120
|
{
|
|
1971
|
-
"name": "
|
|
2121
|
+
"name": "exportFileName",
|
|
1972
2122
|
"annotation": {
|
|
1973
2123
|
"type": "keyword",
|
|
1974
2124
|
"value": "string"
|
|
1975
2125
|
}
|
|
1976
2126
|
}
|
|
1977
2127
|
],
|
|
1978
|
-
"events": [
|
|
1979
|
-
|
|
1980
|
-
"name": "change",
|
|
1981
|
-
"detail": {
|
|
1982
|
-
"annotation": {
|
|
1983
|
-
"type": "reference",
|
|
1984
|
-
"typeName": {
|
|
1985
|
-
"type": "identifier",
|
|
1986
|
-
"name": "ChangeDetail"
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
}
|
|
1991
|
-
],
|
|
1992
|
-
"methods": [],
|
|
1993
|
-
"types": [
|
|
1994
|
-
{
|
|
1995
|
-
"type": "typeAlias",
|
|
1996
|
-
"name": "ChangeDetail",
|
|
1997
|
-
"annotation": {
|
|
1998
|
-
"type": "union",
|
|
1999
|
-
"types": [
|
|
2000
|
-
{
|
|
2001
|
-
"type": "reference",
|
|
2002
|
-
"typeName": {
|
|
2003
|
-
"type": "identifier",
|
|
2004
|
-
"name": "ChangeDetailOfPage"
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"type": "reference",
|
|
2009
|
-
"typeName": {
|
|
2010
|
-
"type": "identifier",
|
|
2011
|
-
"name": "ChangeDetailOfToken"
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
]
|
|
2015
|
-
}
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"type": "interface",
|
|
2019
|
-
"name": "ChangeDetailOfPage",
|
|
2020
|
-
"body": [
|
|
2021
|
-
{
|
|
2022
|
-
"type": "propertySignature",
|
|
2023
|
-
"key": {
|
|
2024
|
-
"type": "identifier",
|
|
2025
|
-
"name": "page"
|
|
2026
|
-
},
|
|
2027
|
-
"annotation": {
|
|
2028
|
-
"type": "keyword",
|
|
2029
|
-
"value": "number"
|
|
2030
|
-
},
|
|
2031
|
-
"computed": false
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
"type": "propertySignature",
|
|
2035
|
-
"key": {
|
|
2036
|
-
"type": "identifier",
|
|
2037
|
-
"name": "pageSize"
|
|
2038
|
-
},
|
|
2039
|
-
"annotation": {
|
|
2040
|
-
"type": "keyword",
|
|
2041
|
-
"value": "number"
|
|
2042
|
-
},
|
|
2043
|
-
"computed": false
|
|
2044
|
-
}
|
|
2045
|
-
]
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
"type": "interface",
|
|
2049
|
-
"name": "ChangeDetailOfToken",
|
|
2050
|
-
"body": [
|
|
2051
|
-
{
|
|
2052
|
-
"type": "propertySignature",
|
|
2053
|
-
"key": {
|
|
2054
|
-
"type": "identifier",
|
|
2055
|
-
"name": "type"
|
|
2056
|
-
},
|
|
2057
|
-
"annotation": {
|
|
2058
|
-
"type": "jsLiteral",
|
|
2059
|
-
"value": "token"
|
|
2060
|
-
},
|
|
2061
|
-
"computed": false
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"type": "propertySignature",
|
|
2065
|
-
"key": {
|
|
2066
|
-
"type": "identifier",
|
|
2067
|
-
"name": "nextToken"
|
|
2068
|
-
},
|
|
2069
|
-
"annotation": {
|
|
2070
|
-
"type": "union",
|
|
2071
|
-
"types": [
|
|
2072
|
-
{
|
|
2073
|
-
"type": "keyword",
|
|
2074
|
-
"value": "string"
|
|
2075
|
-
},
|
|
2076
|
-
{
|
|
2077
|
-
"type": "keyword",
|
|
2078
|
-
"value": "undefined"
|
|
2079
|
-
}
|
|
2080
|
-
]
|
|
2081
|
-
},
|
|
2082
|
-
"computed": false
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"type": "propertySignature",
|
|
2086
|
-
"key": {
|
|
2087
|
-
"type": "identifier",
|
|
2088
|
-
"name": "pageSize"
|
|
2089
|
-
},
|
|
2090
|
-
"annotation": {
|
|
2091
|
-
"type": "keyword",
|
|
2092
|
-
"value": "number"
|
|
2093
|
-
},
|
|
2094
|
-
"computed": false
|
|
2095
|
-
}
|
|
2096
|
-
]
|
|
2097
|
-
}
|
|
2098
|
-
]
|
|
2128
|
+
"events": [],
|
|
2129
|
+
"methods": []
|
|
2099
2130
|
}
|
|
2100
2131
|
}
|
|
@@ -58,11 +58,14 @@ export interface EoCardItemProps {
|
|
|
58
58
|
tagConfig?: TagConfig;
|
|
59
59
|
avatarPosition?: "content" | "cover";
|
|
60
60
|
coverImageSize?: React.CSSProperties["backgroundSize"];
|
|
61
|
+
borderColor?: string;
|
|
61
62
|
cardStyle?: React.CSSProperties;
|
|
63
|
+
cardBodyStyle?: React.CSSProperties;
|
|
62
64
|
cardTitleStyle?: React.CSSProperties;
|
|
63
65
|
}
|
|
64
66
|
/**
|
|
65
67
|
* 信息类卡片 —— 通用卡片
|
|
68
|
+
* @slot - 内容区域,通常放置卡片自定义内容
|
|
66
69
|
* @slot expanded-area-1 - 扩展区域 1,通常放置标签信息
|
|
67
70
|
* @slot expanded-area-2 - 扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)
|
|
68
71
|
* @category card-info
|
|
@@ -138,10 +141,18 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
138
141
|
*/
|
|
139
142
|
accessor avatarPosition: "content" | "cover";
|
|
140
143
|
accessor tagConfig: TagConfig | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* 卡片边框颜色
|
|
146
|
+
*/
|
|
147
|
+
accessor borderColor: string | undefined;
|
|
141
148
|
/**
|
|
142
149
|
* 卡片样式
|
|
143
150
|
*/
|
|
144
151
|
accessor cardStyle: React.CSSProperties;
|
|
152
|
+
/**
|
|
153
|
+
* 卡片内容区域样式
|
|
154
|
+
*/
|
|
155
|
+
accessor cardBodyStyle: React.CSSProperties;
|
|
145
156
|
/**
|
|
146
157
|
* 卡片标题样式
|
|
147
158
|
*/
|
|
@@ -3,7 +3,7 @@ import { ReactNextElement } from "@next-core/react-element";
|
|
|
3
3
|
import "@next-core/theme";
|
|
4
4
|
import type { UseBrickConf } from "@next-core/types";
|
|
5
5
|
import "./host-context.css";
|
|
6
|
-
interface DescriptionItem {
|
|
6
|
+
export interface DescriptionItem {
|
|
7
7
|
label: string;
|
|
8
8
|
field?: string;
|
|
9
9
|
group?: string;
|
package/docs/eo-card-item.md
CHANGED
|
@@ -283,44 +283,44 @@ properties:
|
|
|
283
283
|
event: download
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
-
###
|
|
286
|
+
### selected
|
|
287
287
|
|
|
288
288
|
```yaml preview
|
|
289
289
|
- brick: eo-card-item
|
|
290
290
|
properties:
|
|
291
|
+
selected: true
|
|
291
292
|
style:
|
|
292
|
-
width:
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
icon: monitor
|
|
316
|
-
size: 20
|
|
293
|
+
width: 300px
|
|
294
|
+
cardTitle: 资源监控微应用
|
|
295
|
+
description: 资源监控微应用相关前后台
|
|
296
|
+
avatar:
|
|
297
|
+
icon:
|
|
298
|
+
lib: easyops
|
|
299
|
+
category: default
|
|
300
|
+
icon: monitor
|
|
301
|
+
size: 20
|
|
302
|
+
- brick: eo-card-item
|
|
303
|
+
properties:
|
|
304
|
+
styleType: grayish
|
|
305
|
+
selected: true
|
|
306
|
+
style:
|
|
307
|
+
width: 300px
|
|
308
|
+
cardTitle: 资源监控微应用
|
|
309
|
+
description: 资源监控微应用相关前后台
|
|
310
|
+
avatar:
|
|
311
|
+
icon:
|
|
312
|
+
lib: easyops
|
|
313
|
+
category: default
|
|
314
|
+
icon: monitor
|
|
315
|
+
size: 20
|
|
317
316
|
```
|
|
318
317
|
|
|
319
|
-
###
|
|
318
|
+
### borderColor
|
|
320
319
|
|
|
321
320
|
```yaml preview
|
|
322
321
|
- brick: eo-card-item
|
|
323
322
|
properties:
|
|
323
|
+
borderColor: blue
|
|
324
324
|
selected: true
|
|
325
325
|
style:
|
|
326
326
|
width: 300px
|
|
@@ -334,7 +334,7 @@ properties:
|
|
|
334
334
|
size: 20
|
|
335
335
|
- brick: eo-card-item
|
|
336
336
|
properties:
|
|
337
|
-
|
|
337
|
+
borderColor: blue
|
|
338
338
|
selected: true
|
|
339
339
|
style:
|
|
340
340
|
width: 300px
|
|
@@ -511,3 +511,36 @@ properties:
|
|
|
511
511
|
url: /test
|
|
512
512
|
target: _blank
|
|
513
513
|
```
|
|
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
|
+
### Style type
|
|
529
|
+
|
|
530
|
+
```yaml preview
|
|
531
|
+
brick: eo-card-item
|
|
532
|
+
properties:
|
|
533
|
+
styleType: grayish
|
|
534
|
+
style:
|
|
535
|
+
width: 300px
|
|
536
|
+
cardTitle: 资源监控微应用
|
|
537
|
+
description: 资源监控微应用相关前后台
|
|
538
|
+
url: /test
|
|
539
|
+
target: _blank
|
|
540
|
+
avatar:
|
|
541
|
+
icon:
|
|
542
|
+
lib: easyops
|
|
543
|
+
category: default
|
|
544
|
+
icon: monitor
|
|
545
|
+
size: 20
|
|
546
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.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": "5f575c45443c7552a90265595b3ac76fbb008cc8"
|
|
48
48
|
}
|