@next-bricks/presentational 1.21.1 → 1.21.3

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.
Files changed (76) hide show
  1. package/dist/bricks.json +32 -32
  2. package/dist/chunks/5045.f4ea41c0.js +2 -0
  3. package/dist/chunks/5045.f4ea41c0.js.map +1 -0
  4. package/dist/chunks/code-wrapper.77e0170b.js +3 -0
  5. package/dist/chunks/code-wrapper.77e0170b.js.map +1 -0
  6. package/dist/chunks/eo-alert.c14c8f19.js +3 -0
  7. package/dist/chunks/eo-alert.c14c8f19.js.map +1 -0
  8. package/dist/chunks/{eo-card-item.da90013a.js → eo-card-item.36ab13b5.js} +3 -3
  9. package/dist/chunks/eo-card-item.36ab13b5.js.map +1 -0
  10. package/dist/chunks/eo-carousel-text.d8e8c2c9.js +2 -0
  11. package/dist/chunks/eo-carousel-text.d8e8c2c9.js.map +1 -0
  12. package/dist/chunks/eo-code-block.e5181263.js +2 -0
  13. package/dist/chunks/eo-code-block.e5181263.js.map +1 -0
  14. package/dist/chunks/eo-code-display.9461ddfa.js +2 -0
  15. package/dist/chunks/eo-code-display.9461ddfa.js.map +1 -0
  16. package/dist/chunks/eo-current-time.7cbef918.js +2 -0
  17. package/dist/chunks/eo-current-time.7cbef918.js.map +1 -0
  18. package/dist/chunks/eo-descriptions.97f8cc6d.js +3 -0
  19. package/dist/chunks/eo-descriptions.97f8cc6d.js.map +1 -0
  20. package/dist/chunks/eo-divider.7ce5e32d.js +3 -0
  21. package/dist/chunks/eo-divider.7ce5e32d.js.map +1 -0
  22. package/dist/chunks/eo-humanize-time.ae5c3e39.js +2 -0
  23. package/dist/chunks/eo-humanize-time.ae5c3e39.js.map +1 -0
  24. package/dist/chunks/eo-info-card-item.72a67cb7.js +3 -0
  25. package/dist/chunks/eo-info-card-item.72a67cb7.js.map +1 -0
  26. package/dist/chunks/{eo-loading-step.604d6e34.js → eo-loading-step.f811674a.js} +3 -3
  27. package/dist/chunks/{eo-loading-step.604d6e34.js.map → eo-loading-step.f811674a.js.map} +1 -1
  28. package/dist/chunks/eo-pagination.341f9fcc.js +3 -0
  29. package/dist/chunks/eo-pagination.341f9fcc.js.map +1 -0
  30. package/dist/chunks/eo-statistics-card.410b5416.js +2 -0
  31. package/dist/chunks/eo-statistics-card.410b5416.js.map +1 -0
  32. package/dist/chunks/{main.e70d2fce.js → main.ab545775.js} +2 -2
  33. package/dist/chunks/{main.e70d2fce.js.map → main.ab545775.js.map} +1 -1
  34. package/dist/examples.json +9 -9
  35. package/dist/index.1a516607.js +2 -0
  36. package/dist/index.1a516607.js.map +1 -0
  37. package/dist/manifest.json +187 -187
  38. package/dist/types.json +291 -291
  39. package/package.json +3 -3
  40. package/dist/chunks/3900.47f48f41.js +0 -2
  41. package/dist/chunks/3900.47f48f41.js.map +0 -1
  42. package/dist/chunks/code-wrapper.be0d1487.js +0 -3
  43. package/dist/chunks/code-wrapper.be0d1487.js.map +0 -1
  44. package/dist/chunks/eo-alert.625d5099.js +0 -3
  45. package/dist/chunks/eo-alert.625d5099.js.map +0 -1
  46. package/dist/chunks/eo-card-item.da90013a.js.map +0 -1
  47. package/dist/chunks/eo-carousel-text.8188b7b7.js +0 -2
  48. package/dist/chunks/eo-carousel-text.8188b7b7.js.map +0 -1
  49. package/dist/chunks/eo-code-block.f5ffef62.js +0 -2
  50. package/dist/chunks/eo-code-block.f5ffef62.js.map +0 -1
  51. package/dist/chunks/eo-code-display.c457657a.js +0 -2
  52. package/dist/chunks/eo-code-display.c457657a.js.map +0 -1
  53. package/dist/chunks/eo-current-time.c203517c.js +0 -2
  54. package/dist/chunks/eo-current-time.c203517c.js.map +0 -1
  55. package/dist/chunks/eo-descriptions.84bd1dfe.js +0 -3
  56. package/dist/chunks/eo-descriptions.84bd1dfe.js.map +0 -1
  57. package/dist/chunks/eo-divider.7273176b.js +0 -3
  58. package/dist/chunks/eo-divider.7273176b.js.map +0 -1
  59. package/dist/chunks/eo-humanize-time.42af69a7.js +0 -2
  60. package/dist/chunks/eo-humanize-time.42af69a7.js.map +0 -1
  61. package/dist/chunks/eo-info-card-item.554cba4f.js +0 -3
  62. package/dist/chunks/eo-info-card-item.554cba4f.js.map +0 -1
  63. package/dist/chunks/eo-pagination.8f5dcfce.js +0 -3
  64. package/dist/chunks/eo-pagination.8f5dcfce.js.map +0 -1
  65. package/dist/chunks/eo-statistics-card.3ef146cb.js +0 -2
  66. package/dist/chunks/eo-statistics-card.3ef146cb.js.map +0 -1
  67. package/dist/index.0205acd1.js +0 -2
  68. package/dist/index.0205acd1.js.map +0 -1
  69. /package/dist/chunks/{code-wrapper.be0d1487.js.LICENSE.txt → code-wrapper.77e0170b.js.LICENSE.txt} +0 -0
  70. /package/dist/chunks/{eo-alert.625d5099.js.LICENSE.txt → eo-alert.c14c8f19.js.LICENSE.txt} +0 -0
  71. /package/dist/chunks/{eo-card-item.da90013a.js.LICENSE.txt → eo-card-item.36ab13b5.js.LICENSE.txt} +0 -0
  72. /package/dist/chunks/{eo-descriptions.84bd1dfe.js.LICENSE.txt → eo-descriptions.97f8cc6d.js.LICENSE.txt} +0 -0
  73. /package/dist/chunks/{eo-divider.7273176b.js.LICENSE.txt → eo-divider.7ce5e32d.js.LICENSE.txt} +0 -0
  74. /package/dist/chunks/{eo-info-card-item.554cba4f.js.LICENSE.txt → eo-info-card-item.72a67cb7.js.LICENSE.txt} +0 -0
  75. /package/dist/chunks/{eo-loading-step.604d6e34.js.LICENSE.txt → eo-loading-step.f811674a.js.LICENSE.txt} +0 -0
  76. /package/dist/chunks/{eo-pagination.8f5dcfce.js.LICENSE.txt → eo-pagination.341f9fcc.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -1,4 +1,240 @@
1
1
  {
2
+ "eo-descriptions": {
3
+ "properties": [
4
+ {
5
+ "name": "descriptionTitle",
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "string"
9
+ }
10
+ },
11
+ {
12
+ "name": "list",
13
+ "annotation": {
14
+ "type": "array",
15
+ "elementType": {
16
+ "type": "reference",
17
+ "typeName": {
18
+ "type": "identifier",
19
+ "name": "DescriptionItem"
20
+ }
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "name": "showCard",
26
+ "annotation": {
27
+ "type": "keyword",
28
+ "value": "boolean"
29
+ }
30
+ },
31
+ {
32
+ "name": "column",
33
+ "annotation": {
34
+ "type": "keyword",
35
+ "value": "number"
36
+ }
37
+ },
38
+ {
39
+ "name": "templateColumns",
40
+ "annotation": {
41
+ "type": "keyword",
42
+ "value": "string"
43
+ }
44
+ },
45
+ {
46
+ "name": "layout",
47
+ "annotation": {
48
+ "type": "reference",
49
+ "typeName": {
50
+ "type": "identifier",
51
+ "name": "Layout"
52
+ }
53
+ }
54
+ },
55
+ {
56
+ "name": "bordered",
57
+ "annotation": {
58
+ "type": "keyword",
59
+ "value": "boolean"
60
+ }
61
+ },
62
+ {
63
+ "name": "hideGroups",
64
+ "annotation": {
65
+ "type": "union",
66
+ "types": [
67
+ {
68
+ "type": "keyword",
69
+ "value": "string"
70
+ },
71
+ {
72
+ "type": "array",
73
+ "elementType": {
74
+ "type": "keyword",
75
+ "value": "string"
76
+ }
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "name": "dataSource",
83
+ "annotation": {
84
+ "type": "reference",
85
+ "typeName": {
86
+ "type": "identifier",
87
+ "name": "Record"
88
+ },
89
+ "typeParameters": {
90
+ "type": "typeParameterInstantiation",
91
+ "params": [
92
+ {
93
+ "type": "keyword",
94
+ "value": "string"
95
+ },
96
+ {
97
+ "type": "keyword",
98
+ "value": "unknown"
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "name": "themeVariant",
106
+ "annotation": {
107
+ "type": "union",
108
+ "types": [
109
+ {
110
+ "type": "jsLiteral",
111
+ "value": "default"
112
+ },
113
+ {
114
+ "type": "jsLiteral",
115
+ "value": "elevo"
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ],
121
+ "events": [],
122
+ "methods": [],
123
+ "types": [
124
+ {
125
+ "type": "interface",
126
+ "name": "DescriptionItem",
127
+ "body": [
128
+ {
129
+ "type": "propertySignature",
130
+ "key": {
131
+ "type": "identifier",
132
+ "name": "label"
133
+ },
134
+ "annotation": {
135
+ "type": "keyword",
136
+ "value": "string"
137
+ },
138
+ "computed": false
139
+ },
140
+ {
141
+ "type": "propertySignature",
142
+ "key": {
143
+ "type": "identifier",
144
+ "name": "field"
145
+ },
146
+ "annotation": {
147
+ "type": "keyword",
148
+ "value": "string"
149
+ },
150
+ "optional": true,
151
+ "computed": false
152
+ },
153
+ {
154
+ "type": "propertySignature",
155
+ "key": {
156
+ "type": "identifier",
157
+ "name": "group"
158
+ },
159
+ "annotation": {
160
+ "type": "keyword",
161
+ "value": "string"
162
+ },
163
+ "optional": true,
164
+ "computed": false
165
+ },
166
+ {
167
+ "type": "propertySignature",
168
+ "key": {
169
+ "type": "identifier",
170
+ "name": "text"
171
+ },
172
+ "annotation": {
173
+ "type": "union",
174
+ "types": [
175
+ {
176
+ "type": "keyword",
177
+ "value": "string"
178
+ },
179
+ {
180
+ "type": "keyword",
181
+ "value": "number"
182
+ }
183
+ ]
184
+ },
185
+ "optional": true,
186
+ "computed": false
187
+ },
188
+ {
189
+ "type": "propertySignature",
190
+ "key": {
191
+ "type": "identifier",
192
+ "name": "useBrick"
193
+ },
194
+ "annotation": {
195
+ "type": "reference",
196
+ "typeName": {
197
+ "type": "identifier",
198
+ "name": "UseBrickConf"
199
+ }
200
+ },
201
+ "optional": true,
202
+ "computed": false
203
+ },
204
+ {
205
+ "type": "propertySignature",
206
+ "key": {
207
+ "type": "identifier",
208
+ "name": "gridColumn"
209
+ },
210
+ "annotation": {
211
+ "type": "keyword",
212
+ "value": "string"
213
+ },
214
+ "optional": true,
215
+ "computed": false
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "type": "typeAlias",
221
+ "name": "Layout",
222
+ "annotation": {
223
+ "type": "union",
224
+ "types": [
225
+ {
226
+ "type": "jsLiteral",
227
+ "value": "horizontal"
228
+ },
229
+ {
230
+ "type": "jsLiteral",
231
+ "value": "vertical"
232
+ }
233
+ ]
234
+ }
235
+ }
236
+ ]
237
+ },
2
238
  "eo-card-item": {
3
239
  "properties": [
4
240
  {
@@ -1575,122 +1811,58 @@
1575
1811
  "events": [],
1576
1812
  "methods": []
1577
1813
  },
1578
- "eo-descriptions": {
1814
+ "eo-alert": {
1579
1815
  "properties": [
1580
1816
  {
1581
- "name": "descriptionTitle",
1817
+ "name": "type",
1818
+ "annotation": {
1819
+ "type": "reference",
1820
+ "typeName": {
1821
+ "type": "identifier",
1822
+ "name": "AlertType"
1823
+ }
1824
+ }
1825
+ },
1826
+ {
1827
+ "name": "hasTitle",
1582
1828
  "annotation": {
1583
1829
  "type": "keyword",
1584
- "value": "string"
1830
+ "value": "boolean"
1585
1831
  }
1586
1832
  },
1587
1833
  {
1588
- "name": "list",
1589
- "annotation": {
1590
- "type": "array",
1591
- "elementType": {
1592
- "type": "reference",
1593
- "typeName": {
1594
- "type": "identifier",
1595
- "name": "DescriptionItem"
1596
- }
1597
- }
1598
- }
1599
- },
1600
- {
1601
- "name": "showCard",
1834
+ "name": "showIcon",
1602
1835
  "annotation": {
1603
1836
  "type": "keyword",
1604
1837
  "value": "boolean"
1605
1838
  }
1606
1839
  },
1607
1840
  {
1608
- "name": "column",
1841
+ "name": "closable",
1609
1842
  "annotation": {
1610
1843
  "type": "keyword",
1611
- "value": "number"
1844
+ "value": "boolean"
1612
1845
  }
1613
1846
  },
1614
1847
  {
1615
- "name": "templateColumns",
1848
+ "name": "localStorageKey",
1616
1849
  "annotation": {
1617
1850
  "type": "keyword",
1618
1851
  "value": "string"
1619
1852
  }
1620
1853
  },
1621
1854
  {
1622
- "name": "layout",
1623
- "annotation": {
1624
- "type": "reference",
1625
- "typeName": {
1626
- "type": "identifier",
1627
- "name": "Layout"
1628
- }
1629
- }
1630
- },
1631
- {
1632
- "name": "bordered",
1855
+ "name": "disableUrlNamespace",
1633
1856
  "annotation": {
1634
1857
  "type": "keyword",
1635
1858
  "value": "boolean"
1636
1859
  }
1637
1860
  },
1638
1861
  {
1639
- "name": "hideGroups",
1640
- "annotation": {
1641
- "type": "union",
1642
- "types": [
1643
- {
1644
- "type": "keyword",
1645
- "value": "string"
1646
- },
1647
- {
1648
- "type": "array",
1649
- "elementType": {
1650
- "type": "keyword",
1651
- "value": "string"
1652
- }
1653
- }
1654
- ]
1655
- }
1656
- },
1657
- {
1658
- "name": "dataSource",
1659
- "annotation": {
1660
- "type": "reference",
1661
- "typeName": {
1662
- "type": "identifier",
1663
- "name": "Record"
1664
- },
1665
- "typeParameters": {
1666
- "type": "typeParameterInstantiation",
1667
- "params": [
1668
- {
1669
- "type": "keyword",
1670
- "value": "string"
1671
- },
1672
- {
1673
- "type": "keyword",
1674
- "value": "unknown"
1675
- }
1676
- ]
1677
- }
1678
- }
1679
- },
1680
- {
1681
- "name": "themeVariant",
1862
+ "name": "textContent",
1682
1863
  "annotation": {
1683
- "type": "union",
1684
- "types": [
1685
- {
1686
- "type": "jsLiteral",
1687
- "value": "default"
1688
- },
1689
- {
1690
- "type": "jsLiteral",
1691
- "value": "elevo"
1692
- }
1693
- ]
1864
+ "type": "keyword",
1865
+ "value": "string"
1694
1866
  }
1695
1867
  }
1696
1868
  ],
@@ -1698,116 +1870,54 @@
1698
1870
  "methods": [],
1699
1871
  "types": [
1700
1872
  {
1701
- "type": "interface",
1702
- "name": "DescriptionItem",
1703
- "body": [
1704
- {
1705
- "type": "propertySignature",
1706
- "key": {
1707
- "type": "identifier",
1708
- "name": "label"
1709
- },
1710
- "annotation": {
1711
- "type": "keyword",
1712
- "value": "string"
1713
- },
1714
- "computed": false
1715
- },
1716
- {
1717
- "type": "propertySignature",
1718
- "key": {
1719
- "type": "identifier",
1720
- "name": "field"
1721
- },
1722
- "annotation": {
1723
- "type": "keyword",
1724
- "value": "string"
1725
- },
1726
- "optional": true,
1727
- "computed": false
1728
- },
1873
+ "type": "enum",
1874
+ "name": "AlertType",
1875
+ "members": [
1729
1876
  {
1730
- "type": "propertySignature",
1731
- "key": {
1732
- "type": "identifier",
1733
- "name": "group"
1734
- },
1735
- "annotation": {
1736
- "type": "keyword",
1737
- "value": "string"
1877
+ "type": "enumMember",
1878
+ "id": {
1879
+ "type": "jsLiteral",
1880
+ "value": "SUCCESS"
1738
1881
  },
1739
- "optional": true,
1740
- "computed": false
1882
+ "initializer": {
1883
+ "type": "jsLiteral",
1884
+ "value": "success"
1885
+ }
1741
1886
  },
1742
1887
  {
1743
- "type": "propertySignature",
1744
- "key": {
1745
- "type": "identifier",
1746
- "name": "text"
1747
- },
1748
- "annotation": {
1749
- "type": "union",
1750
- "types": [
1751
- {
1752
- "type": "keyword",
1753
- "value": "string"
1754
- },
1755
- {
1756
- "type": "keyword",
1757
- "value": "number"
1758
- }
1759
- ]
1888
+ "type": "enumMember",
1889
+ "id": {
1890
+ "type": "jsLiteral",
1891
+ "value": "INFO"
1760
1892
  },
1761
- "optional": true,
1762
- "computed": false
1893
+ "initializer": {
1894
+ "type": "jsLiteral",
1895
+ "value": "info"
1896
+ }
1763
1897
  },
1764
1898
  {
1765
- "type": "propertySignature",
1766
- "key": {
1767
- "type": "identifier",
1768
- "name": "useBrick"
1769
- },
1770
- "annotation": {
1771
- "type": "reference",
1772
- "typeName": {
1773
- "type": "identifier",
1774
- "name": "UseBrickConf"
1775
- }
1899
+ "type": "enumMember",
1900
+ "id": {
1901
+ "type": "jsLiteral",
1902
+ "value": "WARNING"
1776
1903
  },
1777
- "optional": true,
1778
- "computed": false
1904
+ "initializer": {
1905
+ "type": "jsLiteral",
1906
+ "value": "warning"
1907
+ }
1779
1908
  },
1780
1909
  {
1781
- "type": "propertySignature",
1782
- "key": {
1783
- "type": "identifier",
1784
- "name": "gridColumn"
1785
- },
1786
- "annotation": {
1787
- "type": "keyword",
1788
- "value": "string"
1789
- },
1790
- "optional": true,
1791
- "computed": false
1792
- }
1793
- ]
1794
- },
1795
- {
1796
- "type": "typeAlias",
1797
- "name": "Layout",
1798
- "annotation": {
1799
- "type": "union",
1800
- "types": [
1801
- {
1910
+ "type": "enumMember",
1911
+ "id": {
1802
1912
  "type": "jsLiteral",
1803
- "value": "horizontal"
1913
+ "value": "ERROR"
1804
1914
  },
1805
- {
1915
+ "initializer": {
1806
1916
  "type": "jsLiteral",
1807
- "value": "vertical"
1917
+ "value": "error"
1808
1918
  }
1809
- ]
1810
- }
1919
+ }
1920
+ ]
1811
1921
  }
1812
1922
  ]
1813
1923
  },
@@ -2194,115 +2304,5 @@
2194
2304
  ]
2195
2305
  }
2196
2306
  ]
2197
- },
2198
- "eo-alert": {
2199
- "properties": [
2200
- {
2201
- "name": "type",
2202
- "annotation": {
2203
- "type": "reference",
2204
- "typeName": {
2205
- "type": "identifier",
2206
- "name": "AlertType"
2207
- }
2208
- }
2209
- },
2210
- {
2211
- "name": "hasTitle",
2212
- "annotation": {
2213
- "type": "keyword",
2214
- "value": "boolean"
2215
- }
2216
- },
2217
- {
2218
- "name": "showIcon",
2219
- "annotation": {
2220
- "type": "keyword",
2221
- "value": "boolean"
2222
- }
2223
- },
2224
- {
2225
- "name": "closable",
2226
- "annotation": {
2227
- "type": "keyword",
2228
- "value": "boolean"
2229
- }
2230
- },
2231
- {
2232
- "name": "localStorageKey",
2233
- "annotation": {
2234
- "type": "keyword",
2235
- "value": "string"
2236
- }
2237
- },
2238
- {
2239
- "name": "disableUrlNamespace",
2240
- "annotation": {
2241
- "type": "keyword",
2242
- "value": "boolean"
2243
- }
2244
- },
2245
- {
2246
- "name": "textContent",
2247
- "annotation": {
2248
- "type": "keyword",
2249
- "value": "string"
2250
- }
2251
- }
2252
- ],
2253
- "events": [],
2254
- "methods": [],
2255
- "types": [
2256
- {
2257
- "type": "enum",
2258
- "name": "AlertType",
2259
- "members": [
2260
- {
2261
- "type": "enumMember",
2262
- "id": {
2263
- "type": "jsLiteral",
2264
- "value": "SUCCESS"
2265
- },
2266
- "initializer": {
2267
- "type": "jsLiteral",
2268
- "value": "success"
2269
- }
2270
- },
2271
- {
2272
- "type": "enumMember",
2273
- "id": {
2274
- "type": "jsLiteral",
2275
- "value": "INFO"
2276
- },
2277
- "initializer": {
2278
- "type": "jsLiteral",
2279
- "value": "info"
2280
- }
2281
- },
2282
- {
2283
- "type": "enumMember",
2284
- "id": {
2285
- "type": "jsLiteral",
2286
- "value": "WARNING"
2287
- },
2288
- "initializer": {
2289
- "type": "jsLiteral",
2290
- "value": "warning"
2291
- }
2292
- },
2293
- {
2294
- "type": "enumMember",
2295
- "id": {
2296
- "type": "jsLiteral",
2297
- "value": "ERROR"
2298
- },
2299
- "initializer": {
2300
- "type": "jsLiteral",
2301
- "value": "error"
2302
- }
2303
- }
2304
- ]
2305
- }
2306
- ]
2307
2307
  }
2308
2308
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "1.21.1",
3
+ "version": "1.21.3",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/presentational",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "postpublish": "mv package.json.bak package.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.23.14",
38
+ "@next-core/build-next-bricks": "^1.24.0",
39
39
  "@next-core/test-next": "^2.0.1",
40
40
  "babel-plugin-prismjs": "^2.1.0"
41
41
  },
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/containers": "*",
45
45
  "@next-bricks/icons": "*"
46
46
  },
47
- "gitHead": "b0dd6e19d1f1160f38519648cbfe08c9c3b9f5fc"
47
+ "gitHead": "336c6c2a05081e58823ac5283ea5171ed79f120a"
48
48
  }