@next-bricks/presentational 1.13.1 → 1.13.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.
@@ -64,65 +64,6 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
- {
68
- "name": "eo-alert",
69
- "alias": [
70
- "presentational.general-alert"
71
- ],
72
- "properties": [
73
- {
74
- "name": "type",
75
- "description": "警告类型",
76
- "attribute": false,
77
- "type": "AlertType"
78
- },
79
- {
80
- "name": "hasTitle",
81
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
82
- "type": "boolean"
83
- },
84
- {
85
- "name": "showIcon",
86
- "description": "是否显示提示图标",
87
- "type": "boolean"
88
- },
89
- {
90
- "name": "closable",
91
- "description": "是否显示关闭按钮",
92
- "type": "boolean"
93
- },
94
- {
95
- "name": "localStorageKey",
96
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
97
- "type": "string"
98
- },
99
- {
100
- "name": "disableUrlNamespace",
101
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
102
- "type": "boolean"
103
- },
104
- {
105
- "name": "textContent",
106
- "type": "string",
107
- "description": "文本内容"
108
- }
109
- ],
110
- "events": [],
111
- "slots": [
112
- {
113
- "name": null,
114
- "description": "内容区"
115
- },
116
- {
117
- "name": "title",
118
- "description": "标题"
119
- }
120
- ],
121
- "methods": [],
122
- "parts": [],
123
- "description": "告警提示",
124
- "category": "display-component"
125
- },
126
67
  {
127
68
  "name": "eo-code-display",
128
69
  "alias": [
@@ -244,6 +185,65 @@
244
185
  "description": "分页",
245
186
  "category": "navigation"
246
187
  },
188
+ {
189
+ "name": "eo-alert",
190
+ "alias": [
191
+ "presentational.general-alert"
192
+ ],
193
+ "properties": [
194
+ {
195
+ "name": "type",
196
+ "description": "警告类型",
197
+ "attribute": false,
198
+ "type": "AlertType"
199
+ },
200
+ {
201
+ "name": "hasTitle",
202
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
203
+ "type": "boolean"
204
+ },
205
+ {
206
+ "name": "showIcon",
207
+ "description": "是否显示提示图标",
208
+ "type": "boolean"
209
+ },
210
+ {
211
+ "name": "closable",
212
+ "description": "是否显示关闭按钮",
213
+ "type": "boolean"
214
+ },
215
+ {
216
+ "name": "localStorageKey",
217
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
218
+ "type": "string"
219
+ },
220
+ {
221
+ "name": "disableUrlNamespace",
222
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
223
+ "type": "boolean"
224
+ },
225
+ {
226
+ "name": "textContent",
227
+ "type": "string",
228
+ "description": "文本内容"
229
+ }
230
+ ],
231
+ "events": [],
232
+ "slots": [
233
+ {
234
+ "name": null,
235
+ "description": "内容区"
236
+ },
237
+ {
238
+ "name": "title",
239
+ "description": "标题"
240
+ }
241
+ ],
242
+ "methods": [],
243
+ "parts": [],
244
+ "description": "告警提示",
245
+ "category": "display-component"
246
+ },
247
247
  {
248
248
  "name": "eo-card-item",
249
249
  "properties": [
@@ -615,6 +615,68 @@
615
615
  "parts": [],
616
616
  "description": "统计卡片"
617
617
  },
618
+ {
619
+ "name": "eo-current-time",
620
+ "properties": [
621
+ {
622
+ "name": "format",
623
+ "description": "时间格式",
624
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
625
+ "type": "string"
626
+ },
627
+ {
628
+ "name": "icon",
629
+ "description": "前置图标",
630
+ "attribute": false,
631
+ "type": "GeneralIconProps"
632
+ }
633
+ ],
634
+ "events": [],
635
+ "slots": [],
636
+ "methods": [],
637
+ "parts": [],
638
+ "description": "构件 `eo-current-time`"
639
+ },
640
+ {
641
+ "name": "eo-carousel-text",
642
+ "properties": [
643
+ {
644
+ "name": "text",
645
+ "description": "展示内容",
646
+ "default": "\"\"",
647
+ "type": "string"
648
+ },
649
+ {
650
+ "name": "containerWidth",
651
+ "description": "容器宽度",
652
+ "default": "\"100%\"",
653
+ "type": "CSSProperties[\"width\"]"
654
+ },
655
+ {
656
+ "name": "fontSize",
657
+ "description": "字体大小",
658
+ "default": "\"var(--normal-font-size)\"",
659
+ "type": "CSSProperties[\"fontSize\"]"
660
+ },
661
+ {
662
+ "name": "fontColor",
663
+ "description": "字体颜色",
664
+ "default": "\"var(--text-color-default)\"",
665
+ "type": "CSSProperties[\"color\"]"
666
+ },
667
+ {
668
+ "name": "speed",
669
+ "description": "移动速度,单位 px/s",
670
+ "default": "100",
671
+ "type": "number"
672
+ }
673
+ ],
674
+ "events": [],
675
+ "slots": [],
676
+ "methods": [],
677
+ "parts": [],
678
+ "description": "构件 `eo-carousel-text`"
679
+ },
618
680
  {
619
681
  "name": "eo-loading-step",
620
682
  "properties": [
@@ -678,68 +740,6 @@
678
740
  ],
679
741
  "parts": [],
680
742
  "description": "加载步骤框"
681
- },
682
- {
683
- "name": "eo-current-time",
684
- "properties": [
685
- {
686
- "name": "format",
687
- "description": "时间格式",
688
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
689
- "type": "string"
690
- },
691
- {
692
- "name": "icon",
693
- "description": "前置图标",
694
- "attribute": false,
695
- "type": "GeneralIconProps"
696
- }
697
- ],
698
- "events": [],
699
- "slots": [],
700
- "methods": [],
701
- "parts": [],
702
- "description": "构件 `eo-current-time`"
703
- },
704
- {
705
- "name": "eo-carousel-text",
706
- "properties": [
707
- {
708
- "name": "text",
709
- "description": "展示内容",
710
- "default": "\"\"",
711
- "type": "string"
712
- },
713
- {
714
- "name": "containerWidth",
715
- "description": "容器宽度",
716
- "default": "\"100%\"",
717
- "type": "CSSProperties[\"width\"]"
718
- },
719
- {
720
- "name": "fontSize",
721
- "description": "字体大小",
722
- "default": "\"var(--normal-font-size)\"",
723
- "type": "CSSProperties[\"fontSize\"]"
724
- },
725
- {
726
- "name": "fontColor",
727
- "description": "字体颜色",
728
- "default": "\"var(--text-color-default)\"",
729
- "type": "CSSProperties[\"color\"]"
730
- },
731
- {
732
- "name": "speed",
733
- "description": "移动速度,单位 px/s",
734
- "default": "100",
735
- "type": "number"
736
- }
737
- ],
738
- "events": [],
739
- "slots": [],
740
- "methods": [],
741
- "parts": [],
742
- "description": "构件 `eo-carousel-text`"
743
743
  }
744
744
  ],
745
745
  "providers": []
package/dist/types.json CHANGED
@@ -1354,6 +1354,100 @@
1354
1354
  }
1355
1355
  ]
1356
1356
  },
1357
+ "eo-current-time": {
1358
+ "properties": [
1359
+ {
1360
+ "name": "format",
1361
+ "annotation": {
1362
+ "type": "keyword",
1363
+ "value": "string"
1364
+ }
1365
+ },
1366
+ {
1367
+ "name": "icon",
1368
+ "annotation": {
1369
+ "type": "reference",
1370
+ "typeName": {
1371
+ "type": "identifier",
1372
+ "name": "GeneralIconProps"
1373
+ }
1374
+ }
1375
+ }
1376
+ ],
1377
+ "events": [],
1378
+ "methods": []
1379
+ },
1380
+ "eo-carousel-text": {
1381
+ "properties": [
1382
+ {
1383
+ "name": "text",
1384
+ "annotation": {
1385
+ "type": "keyword",
1386
+ "value": "string"
1387
+ }
1388
+ },
1389
+ {
1390
+ "name": "containerWidth",
1391
+ "annotation": {
1392
+ "type": "indexedAccess",
1393
+ "objectType": {
1394
+ "type": "reference",
1395
+ "typeName": {
1396
+ "type": "identifier",
1397
+ "name": "CSSProperties"
1398
+ }
1399
+ },
1400
+ "indexType": {
1401
+ "type": "jsLiteral",
1402
+ "value": "width"
1403
+ }
1404
+ }
1405
+ },
1406
+ {
1407
+ "name": "fontSize",
1408
+ "annotation": {
1409
+ "type": "indexedAccess",
1410
+ "objectType": {
1411
+ "type": "reference",
1412
+ "typeName": {
1413
+ "type": "identifier",
1414
+ "name": "CSSProperties"
1415
+ }
1416
+ },
1417
+ "indexType": {
1418
+ "type": "jsLiteral",
1419
+ "value": "fontSize"
1420
+ }
1421
+ }
1422
+ },
1423
+ {
1424
+ "name": "fontColor",
1425
+ "annotation": {
1426
+ "type": "indexedAccess",
1427
+ "objectType": {
1428
+ "type": "reference",
1429
+ "typeName": {
1430
+ "type": "identifier",
1431
+ "name": "CSSProperties"
1432
+ }
1433
+ },
1434
+ "indexType": {
1435
+ "type": "jsLiteral",
1436
+ "value": "color"
1437
+ }
1438
+ }
1439
+ },
1440
+ {
1441
+ "name": "speed",
1442
+ "annotation": {
1443
+ "type": "keyword",
1444
+ "value": "number"
1445
+ }
1446
+ }
1447
+ ],
1448
+ "events": [],
1449
+ "methods": []
1450
+ },
1357
1451
  "eo-loading-step": {
1358
1452
  "properties": [
1359
1453
  {
@@ -1463,94 +1557,62 @@
1463
1557
  }
1464
1558
  ]
1465
1559
  },
1466
- "eo-current-time": {
1560
+ "eo-code-display": {
1467
1561
  "properties": [
1468
1562
  {
1469
- "name": "format",
1563
+ "name": "value",
1470
1564
  "annotation": {
1471
1565
  "type": "keyword",
1472
1566
  "value": "string"
1473
1567
  }
1474
1568
  },
1475
1569
  {
1476
- "name": "icon",
1570
+ "name": "language",
1477
1571
  "annotation": {
1478
- "type": "reference",
1479
- "typeName": {
1480
- "type": "identifier",
1481
- "name": "GeneralIconProps"
1482
- }
1572
+ "type": "keyword",
1573
+ "value": "string"
1483
1574
  }
1484
- }
1485
- ],
1486
- "events": [],
1487
- "methods": []
1488
- },
1489
- "eo-carousel-text": {
1490
- "properties": [
1575
+ },
1491
1576
  {
1492
- "name": "text",
1577
+ "name": "hideLineNumber",
1493
1578
  "annotation": {
1494
1579
  "type": "keyword",
1495
- "value": "string"
1580
+ "value": "boolean"
1496
1581
  }
1497
1582
  },
1498
1583
  {
1499
- "name": "containerWidth",
1584
+ "name": "maxLines",
1500
1585
  "annotation": {
1501
- "type": "indexedAccess",
1502
- "objectType": {
1503
- "type": "reference",
1504
- "typeName": {
1505
- "type": "identifier",
1506
- "name": "CSSProperties"
1507
- }
1508
- },
1509
- "indexType": {
1510
- "type": "jsLiteral",
1511
- "value": "width"
1512
- }
1586
+ "type": "keyword",
1587
+ "value": "number"
1513
1588
  }
1514
1589
  },
1515
1590
  {
1516
- "name": "fontSize",
1591
+ "name": "minLines",
1517
1592
  "annotation": {
1518
- "type": "indexedAccess",
1519
- "objectType": {
1520
- "type": "reference",
1521
- "typeName": {
1522
- "type": "identifier",
1523
- "name": "CSSProperties"
1524
- }
1525
- },
1526
- "indexType": {
1527
- "type": "jsLiteral",
1528
- "value": "fontSize"
1529
- }
1593
+ "type": "keyword",
1594
+ "value": "number"
1530
1595
  }
1531
1596
  },
1532
1597
  {
1533
- "name": "fontColor",
1598
+ "name": "showCopyButton",
1534
1599
  "annotation": {
1535
- "type": "indexedAccess",
1536
- "objectType": {
1537
- "type": "reference",
1538
- "typeName": {
1539
- "type": "identifier",
1540
- "name": "CSSProperties"
1541
- }
1542
- },
1543
- "indexType": {
1544
- "type": "jsLiteral",
1545
- "value": "color"
1546
- }
1600
+ "type": "keyword",
1601
+ "value": "boolean"
1547
1602
  }
1548
1603
  },
1549
1604
  {
1550
- "name": "speed",
1605
+ "name": "showExportButton",
1551
1606
  "annotation": {
1552
1607
  "type": "keyword",
1553
- "value": "number"
1608
+ "value": "boolean"
1609
+ }
1610
+ },
1611
+ {
1612
+ "name": "exportFileName",
1613
+ "annotation": {
1614
+ "type": "keyword",
1615
+ "value": "string"
1554
1616
  }
1555
1617
  }
1556
1618
  ],
@@ -1667,68 +1729,6 @@
1667
1729
  }
1668
1730
  ]
1669
1731
  },
1670
- "eo-code-display": {
1671
- "properties": [
1672
- {
1673
- "name": "value",
1674
- "annotation": {
1675
- "type": "keyword",
1676
- "value": "string"
1677
- }
1678
- },
1679
- {
1680
- "name": "language",
1681
- "annotation": {
1682
- "type": "keyword",
1683
- "value": "string"
1684
- }
1685
- },
1686
- {
1687
- "name": "hideLineNumber",
1688
- "annotation": {
1689
- "type": "keyword",
1690
- "value": "boolean"
1691
- }
1692
- },
1693
- {
1694
- "name": "maxLines",
1695
- "annotation": {
1696
- "type": "keyword",
1697
- "value": "number"
1698
- }
1699
- },
1700
- {
1701
- "name": "minLines",
1702
- "annotation": {
1703
- "type": "keyword",
1704
- "value": "number"
1705
- }
1706
- },
1707
- {
1708
- "name": "showCopyButton",
1709
- "annotation": {
1710
- "type": "keyword",
1711
- "value": "boolean"
1712
- }
1713
- },
1714
- {
1715
- "name": "showExportButton",
1716
- "annotation": {
1717
- "type": "keyword",
1718
- "value": "boolean"
1719
- }
1720
- },
1721
- {
1722
- "name": "exportFileName",
1723
- "annotation": {
1724
- "type": "keyword",
1725
- "value": "string"
1726
- }
1727
- }
1728
- ],
1729
- "events": [],
1730
- "methods": []
1731
- },
1732
1732
  "eo-pagination": {
1733
1733
  "properties": [
1734
1734
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
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": "77728717e861ef1853d7e00165ff55c850f3c6eb"
47
+ "gitHead": "b68229213faeb80e9fe6401335acdd709ebdeb76"
48
48
  }