@next-bricks/presentational 1.17.0 → 1.17.2

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 (62) hide show
  1. package/dist/bricks.json +19 -19
  2. package/dist/chunks/{3171.2429f5cc.js → 3171.ec7ebf74.js} +2 -2
  3. package/dist/chunks/{5552.4424d6d7.js.map → 3171.ec7ebf74.js.map} +1 -1
  4. package/dist/chunks/{4306.44709dce.js → 4306.0c3d1cb1.js} +2 -2
  5. package/dist/chunks/4306.0c3d1cb1.js.map +1 -0
  6. package/dist/chunks/{4765.058ad269.js → 4765.eb562592.js} +2 -2
  7. package/dist/chunks/4765.eb562592.js.map +1 -0
  8. package/dist/chunks/{5552.4424d6d7.js → 5552.4b9552ba.js} +2 -2
  9. package/dist/chunks/{3171.2429f5cc.js.map → 5552.4b9552ba.js.map} +1 -1
  10. package/dist/chunks/7082.8561128a.js +2 -0
  11. package/dist/chunks/7082.8561128a.js.map +1 -0
  12. package/dist/chunks/{7146.b211731b.js → 7146.29dad417.js} +2 -2
  13. package/dist/chunks/7146.29dad417.js.map +1 -0
  14. package/dist/chunks/{8097.218a31d1.js → 8097.f5a73244.js} +2 -2
  15. package/dist/chunks/{8097.218a31d1.js.map → 8097.f5a73244.js.map} +1 -1
  16. package/dist/chunks/871.9f1c7ab2.js +2 -0
  17. package/dist/chunks/871.9f1c7ab2.js.map +1 -0
  18. package/dist/chunks/9140.13b890b2.js +3 -0
  19. package/dist/chunks/9140.13b890b2.js.map +1 -0
  20. package/dist/chunks/eo-card-item.c2470618.js +3 -0
  21. package/dist/chunks/{eo-card-item.b83e2601.js.map → eo-card-item.c2470618.js.map} +1 -1
  22. package/dist/chunks/{eo-code-display.e889e65f.js → eo-code-display.a3897397.js} +2 -2
  23. package/dist/chunks/{eo-code-display.e889e65f.js.map → eo-code-display.a3897397.js.map} +1 -1
  24. package/dist/chunks/{eo-descriptions.1abe32d8.js → eo-descriptions.146ffb09.js} +3 -3
  25. package/dist/chunks/eo-descriptions.146ffb09.js.map +1 -0
  26. package/dist/chunks/{eo-humanize-time.0c9b0b77.js → eo-humanize-time.6d09bec0.js} +2 -2
  27. package/dist/chunks/{eo-humanize-time.0c9b0b77.js.map → eo-humanize-time.6d09bec0.js.map} +1 -1
  28. package/dist/chunks/{eo-info-card-item.cb203fd3.js → eo-info-card-item.844117a4.js} +3 -3
  29. package/dist/chunks/{eo-info-card-item.cb203fd3.js.map → eo-info-card-item.844117a4.js.map} +1 -1
  30. package/dist/chunks/{eo-loading-step.53e39964.js → eo-loading-step.f189dd21.js} +3 -3
  31. package/dist/chunks/{eo-loading-step.53e39964.js.map → eo-loading-step.f189dd21.js.map} +1 -1
  32. package/dist/chunks/{eo-pagination.712e2e65.js → eo-pagination.5f8f5ec7.js} +3 -3
  33. package/dist/chunks/{eo-pagination.712e2e65.js.map → eo-pagination.5f8f5ec7.js.map} +1 -1
  34. package/dist/chunks/main.a3e460d3.js +2 -0
  35. package/dist/chunks/main.a3e460d3.js.map +1 -0
  36. package/dist/examples.json +6 -6
  37. package/dist/index.66045f54.js +2 -0
  38. package/dist/index.66045f54.js.map +1 -0
  39. package/dist/manifest.json +116 -116
  40. package/dist/types.json +131 -131
  41. package/package.json +3 -3
  42. package/dist/chunks/4306.44709dce.js.map +0 -1
  43. package/dist/chunks/4765.058ad269.js.map +0 -1
  44. package/dist/chunks/7082.3fe11c4a.js +0 -2
  45. package/dist/chunks/7082.3fe11c4a.js.map +0 -1
  46. package/dist/chunks/7146.b211731b.js.map +0 -1
  47. package/dist/chunks/871.62bceee5.js +0 -2
  48. package/dist/chunks/871.62bceee5.js.map +0 -1
  49. package/dist/chunks/9140.a08e4e42.js +0 -3
  50. package/dist/chunks/9140.a08e4e42.js.map +0 -1
  51. package/dist/chunks/eo-card-item.b83e2601.js +0 -3
  52. package/dist/chunks/eo-descriptions.1abe32d8.js.map +0 -1
  53. package/dist/chunks/main.06350a7d.js +0 -2
  54. package/dist/chunks/main.06350a7d.js.map +0 -1
  55. package/dist/index.3213eabc.js +0 -2
  56. package/dist/index.3213eabc.js.map +0 -1
  57. /package/dist/chunks/{9140.a08e4e42.js.LICENSE.txt → 9140.13b890b2.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-card-item.b83e2601.js.LICENSE.txt → eo-card-item.c2470618.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-descriptions.1abe32d8.js.LICENSE.txt → eo-descriptions.146ffb09.js.LICENSE.txt} +0 -0
  60. /package/dist/chunks/{eo-info-card-item.cb203fd3.js.LICENSE.txt → eo-info-card-item.844117a4.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-loading-step.53e39964.js.LICENSE.txt → eo-loading-step.f189dd21.js.LICENSE.txt} +0 -0
  62. /package/dist/chunks/{eo-pagination.712e2e65.js.LICENSE.txt → eo-pagination.5f8f5ec7.js.LICENSE.txt} +0 -0
@@ -69,6 +69,65 @@
69
69
  "description": "通用描述列表构件",
70
70
  "category": "text"
71
71
  },
72
+ {
73
+ "name": "eo-alert",
74
+ "alias": [
75
+ "presentational.general-alert"
76
+ ],
77
+ "properties": [
78
+ {
79
+ "name": "type",
80
+ "description": "警告类型",
81
+ "attribute": false,
82
+ "type": "AlertType"
83
+ },
84
+ {
85
+ "name": "hasTitle",
86
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
87
+ "type": "boolean"
88
+ },
89
+ {
90
+ "name": "showIcon",
91
+ "description": "是否显示提示图标",
92
+ "type": "boolean"
93
+ },
94
+ {
95
+ "name": "closable",
96
+ "description": "是否显示关闭按钮",
97
+ "type": "boolean"
98
+ },
99
+ {
100
+ "name": "localStorageKey",
101
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
102
+ "type": "string"
103
+ },
104
+ {
105
+ "name": "disableUrlNamespace",
106
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
107
+ "type": "boolean"
108
+ },
109
+ {
110
+ "name": "textContent",
111
+ "type": "string",
112
+ "description": "文本内容"
113
+ }
114
+ ],
115
+ "events": [],
116
+ "slots": [
117
+ {
118
+ "name": null,
119
+ "description": "内容区"
120
+ },
121
+ {
122
+ "name": "title",
123
+ "description": "标题"
124
+ }
125
+ ],
126
+ "methods": [],
127
+ "parts": [],
128
+ "description": "告警提示",
129
+ "category": "display-component"
130
+ },
72
131
  {
73
132
  "name": "eo-pagination",
74
133
  "properties": [
@@ -297,65 +356,6 @@
297
356
  "description": "信息类卡片 —— 通用卡片",
298
357
  "category": "card-info"
299
358
  },
300
- {
301
- "name": "eo-alert",
302
- "alias": [
303
- "presentational.general-alert"
304
- ],
305
- "properties": [
306
- {
307
- "name": "type",
308
- "description": "警告类型",
309
- "attribute": false,
310
- "type": "AlertType"
311
- },
312
- {
313
- "name": "hasTitle",
314
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
315
- "type": "boolean"
316
- },
317
- {
318
- "name": "showIcon",
319
- "description": "是否显示提示图标",
320
- "type": "boolean"
321
- },
322
- {
323
- "name": "closable",
324
- "description": "是否显示关闭按钮",
325
- "type": "boolean"
326
- },
327
- {
328
- "name": "localStorageKey",
329
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
330
- "type": "string"
331
- },
332
- {
333
- "name": "disableUrlNamespace",
334
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
335
- "type": "boolean"
336
- },
337
- {
338
- "name": "textContent",
339
- "type": "string",
340
- "description": "文本内容"
341
- }
342
- ],
343
- "events": [],
344
- "slots": [
345
- {
346
- "name": null,
347
- "description": "内容区"
348
- },
349
- {
350
- "name": "title",
351
- "description": "标题"
352
- }
353
- ],
354
- "methods": [],
355
- "parts": [],
356
- "description": "告警提示",
357
- "category": "display-component"
358
- },
359
359
  {
360
360
  "name": "eo-divider",
361
361
  "properties": [
@@ -398,6 +398,63 @@
398
398
  "description": "分割线",
399
399
  "category": "container-display"
400
400
  },
401
+ {
402
+ "name": "eo-code-display",
403
+ "alias": [
404
+ "presentational.code-display"
405
+ ],
406
+ "properties": [
407
+ {
408
+ "name": "value",
409
+ "description": "代码内容",
410
+ "default": "\"\"",
411
+ "type": "string"
412
+ },
413
+ {
414
+ "name": "language",
415
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
416
+ "type": "string"
417
+ },
418
+ {
419
+ "name": "hideLineNumber",
420
+ "description": "是否隐藏行号",
421
+ "type": "boolean"
422
+ },
423
+ {
424
+ "name": "maxLines",
425
+ "description": "最大行数",
426
+ "type": "number"
427
+ },
428
+ {
429
+ "name": "minLines",
430
+ "description": "最小行数",
431
+ "type": "number"
432
+ },
433
+ {
434
+ "name": "showCopyButton",
435
+ "description": "是否显示复制按钮",
436
+ "default": "true",
437
+ "type": "boolean"
438
+ },
439
+ {
440
+ "name": "showExportButton",
441
+ "description": "是否显示导出按钮",
442
+ "type": "boolean"
443
+ },
444
+ {
445
+ "name": "exportFileName",
446
+ "description": "导出的文件名",
447
+ "default": "download.txt",
448
+ "type": "string"
449
+ }
450
+ ],
451
+ "events": [],
452
+ "slots": [],
453
+ "methods": [],
454
+ "parts": [],
455
+ "description": "代码展示",
456
+ "category": "display-component"
457
+ },
401
458
  {
402
459
  "name": "eo-info-card-item",
403
460
  "properties": [
@@ -682,63 +739,6 @@
682
739
  "parts": [],
683
740
  "description": "加载步骤框"
684
741
  },
685
- {
686
- "name": "eo-code-display",
687
- "alias": [
688
- "presentational.code-display"
689
- ],
690
- "properties": [
691
- {
692
- "name": "value",
693
- "description": "代码内容",
694
- "default": "\"\"",
695
- "type": "string"
696
- },
697
- {
698
- "name": "language",
699
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
700
- "type": "string"
701
- },
702
- {
703
- "name": "hideLineNumber",
704
- "description": "是否隐藏行号",
705
- "type": "boolean"
706
- },
707
- {
708
- "name": "maxLines",
709
- "description": "最大行数",
710
- "type": "number"
711
- },
712
- {
713
- "name": "minLines",
714
- "description": "最小行数",
715
- "type": "number"
716
- },
717
- {
718
- "name": "showCopyButton",
719
- "description": "是否显示复制按钮",
720
- "default": "true",
721
- "type": "boolean"
722
- },
723
- {
724
- "name": "showExportButton",
725
- "description": "是否显示导出按钮",
726
- "type": "boolean"
727
- },
728
- {
729
- "name": "exportFileName",
730
- "description": "导出的文件名",
731
- "default": "download.txt",
732
- "type": "string"
733
- }
734
- ],
735
- "events": [],
736
- "slots": [],
737
- "methods": [],
738
- "parts": [],
739
- "description": "代码展示",
740
- "category": "display-component"
741
- },
742
742
  {
743
743
  "name": "eo-carousel-text",
744
744
  "properties": [
package/dist/types.json CHANGED
@@ -1646,6 +1646,116 @@
1646
1646
  "events": [],
1647
1647
  "methods": []
1648
1648
  },
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
+ },
1649
1759
  "eo-pagination": {
1650
1760
  "properties": [
1651
1761
  {
@@ -1839,55 +1949,59 @@
1839
1949
  }
1840
1950
  ]
1841
1951
  },
1842
- "eo-alert": {
1952
+ "eo-code-display": {
1843
1953
  "properties": [
1844
1954
  {
1845
- "name": "type",
1955
+ "name": "value",
1846
1956
  "annotation": {
1847
- "type": "reference",
1848
- "typeName": {
1849
- "type": "identifier",
1850
- "name": "AlertType"
1851
- }
1957
+ "type": "keyword",
1958
+ "value": "string"
1852
1959
  }
1853
1960
  },
1854
1961
  {
1855
- "name": "hasTitle",
1962
+ "name": "language",
1856
1963
  "annotation": {
1857
1964
  "type": "keyword",
1858
- "value": "boolean"
1965
+ "value": "string"
1859
1966
  }
1860
1967
  },
1861
1968
  {
1862
- "name": "showIcon",
1969
+ "name": "hideLineNumber",
1863
1970
  "annotation": {
1864
1971
  "type": "keyword",
1865
1972
  "value": "boolean"
1866
1973
  }
1867
1974
  },
1868
1975
  {
1869
- "name": "closable",
1976
+ "name": "maxLines",
1870
1977
  "annotation": {
1871
1978
  "type": "keyword",
1872
- "value": "boolean"
1979
+ "value": "number"
1873
1980
  }
1874
1981
  },
1875
1982
  {
1876
- "name": "localStorageKey",
1983
+ "name": "minLines",
1877
1984
  "annotation": {
1878
1985
  "type": "keyword",
1879
- "value": "string"
1986
+ "value": "number"
1880
1987
  }
1881
1988
  },
1882
1989
  {
1883
- "name": "disableUrlNamespace",
1990
+ "name": "showCopyButton",
1884
1991
  "annotation": {
1885
1992
  "type": "keyword",
1886
1993
  "value": "boolean"
1887
1994
  }
1888
1995
  },
1889
1996
  {
1890
- "name": "textContent",
1997
+ "name": "showExportButton",
1998
+ "annotation": {
1999
+ "type": "keyword",
2000
+ "value": "boolean"
2001
+ }
2002
+ },
2003
+ {
2004
+ "name": "exportFileName",
1891
2005
  "annotation": {
1892
2006
  "type": "keyword",
1893
2007
  "value": "string"
@@ -1895,59 +2009,7 @@
1895
2009
  }
1896
2010
  ],
1897
2011
  "events": [],
1898
- "methods": [],
1899
- "types": [
1900
- {
1901
- "type": "enum",
1902
- "name": "AlertType",
1903
- "members": [
1904
- {
1905
- "type": "enumMember",
1906
- "id": {
1907
- "type": "jsLiteral",
1908
- "value": "SUCCESS"
1909
- },
1910
- "initializer": {
1911
- "type": "jsLiteral",
1912
- "value": "success"
1913
- }
1914
- },
1915
- {
1916
- "type": "enumMember",
1917
- "id": {
1918
- "type": "jsLiteral",
1919
- "value": "INFO"
1920
- },
1921
- "initializer": {
1922
- "type": "jsLiteral",
1923
- "value": "info"
1924
- }
1925
- },
1926
- {
1927
- "type": "enumMember",
1928
- "id": {
1929
- "type": "jsLiteral",
1930
- "value": "WARNING"
1931
- },
1932
- "initializer": {
1933
- "type": "jsLiteral",
1934
- "value": "warning"
1935
- }
1936
- },
1937
- {
1938
- "type": "enumMember",
1939
- "id": {
1940
- "type": "jsLiteral",
1941
- "value": "ERROR"
1942
- },
1943
- "initializer": {
1944
- "type": "jsLiteral",
1945
- "value": "error"
1946
- }
1947
- }
1948
- ]
1949
- }
1950
- ]
2012
+ "methods": []
1951
2013
  },
1952
2014
  "eo-humanize-time": {
1953
2015
  "properties": [
@@ -2077,67 +2139,5 @@
2077
2139
  ]
2078
2140
  }
2079
2141
  ]
2080
- },
2081
- "eo-code-display": {
2082
- "properties": [
2083
- {
2084
- "name": "value",
2085
- "annotation": {
2086
- "type": "keyword",
2087
- "value": "string"
2088
- }
2089
- },
2090
- {
2091
- "name": "language",
2092
- "annotation": {
2093
- "type": "keyword",
2094
- "value": "string"
2095
- }
2096
- },
2097
- {
2098
- "name": "hideLineNumber",
2099
- "annotation": {
2100
- "type": "keyword",
2101
- "value": "boolean"
2102
- }
2103
- },
2104
- {
2105
- "name": "maxLines",
2106
- "annotation": {
2107
- "type": "keyword",
2108
- "value": "number"
2109
- }
2110
- },
2111
- {
2112
- "name": "minLines",
2113
- "annotation": {
2114
- "type": "keyword",
2115
- "value": "number"
2116
- }
2117
- },
2118
- {
2119
- "name": "showCopyButton",
2120
- "annotation": {
2121
- "type": "keyword",
2122
- "value": "boolean"
2123
- }
2124
- },
2125
- {
2126
- "name": "showExportButton",
2127
- "annotation": {
2128
- "type": "keyword",
2129
- "value": "boolean"
2130
- }
2131
- },
2132
- {
2133
- "name": "exportFileName",
2134
- "annotation": {
2135
- "type": "keyword",
2136
- "value": "string"
2137
- }
2138
- }
2139
- ],
2140
- "events": [],
2141
- "methods": []
2142
2142
  }
2143
2143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
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.13",
38
+ "@next-core/build-next-bricks": "^1.23.14",
39
39
  "@next-core/test-next": "^2.0.0",
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": "c3f75cb3808de18560063f5f8b5b4c357634ee04"
47
+ "gitHead": "14362c5c68c0474db5ba0d39835702b173acf013"
48
48
  }