@next-bricks/presentational 1.17.1 → 1.18.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/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": {
@@ -228,109 +235,6 @@
228
235
  }
229
236
  ]
230
237
  },
231
- "eo-divider": {
232
- "properties": [
233
- {
234
- "name": "orientation",
235
- "annotation": {
236
- "type": "reference",
237
- "typeName": {
238
- "type": "identifier",
239
- "name": "OrientationType"
240
- }
241
- }
242
- },
243
- {
244
- "name": "dashed",
245
- "annotation": {
246
- "type": "keyword",
247
- "value": "boolean"
248
- }
249
- },
250
- {
251
- "name": "type",
252
- "annotation": {
253
- "type": "reference",
254
- "typeName": {
255
- "type": "identifier",
256
- "name": "dividerType"
257
- }
258
- }
259
- },
260
- {
261
- "name": "proportion",
262
- "annotation": {
263
- "type": "tuple",
264
- "elementTypes": [
265
- {
266
- "type": "keyword",
267
- "value": "number"
268
- },
269
- {
270
- "type": "keyword",
271
- "value": "number"
272
- }
273
- ]
274
- }
275
- },
276
- {
277
- "name": "dividerStyle",
278
- "annotation": {
279
- "type": "reference",
280
- "typeName": {
281
- "type": "identifier",
282
- "name": "CSSProperties"
283
- }
284
- }
285
- }
286
- ],
287
- "events": [],
288
- "methods": [],
289
- "types": [
290
- {
291
- "type": "typeAlias",
292
- "name": "OrientationType",
293
- "annotation": {
294
- "type": "union",
295
- "types": [
296
- {
297
- "type": "jsLiteral",
298
- "value": "left"
299
- },
300
- {
301
- "type": "jsLiteral",
302
- "value": "center"
303
- },
304
- {
305
- "type": "jsLiteral",
306
- "value": "right"
307
- }
308
- ]
309
- }
310
- },
311
- {
312
- "type": "typeAlias",
313
- "name": "dividerType",
314
- "annotation": {
315
- "type": "union",
316
- "types": [
317
- {
318
- "type": "jsLiteral",
319
- "value": "horizontal"
320
- },
321
- {
322
- "type": "jsLiteral",
323
- "value": "vertical"
324
- },
325
- {
326
- "type": "jsLiteral",
327
- "value": "radiation"
328
- }
329
- ]
330
- }
331
- }
332
- ]
333
- },
334
238
  "eo-card-item": {
335
239
  "properties": [
336
240
  {
@@ -887,6 +791,109 @@
887
791
  }
888
792
  ]
889
793
  },
794
+ "eo-divider": {
795
+ "properties": [
796
+ {
797
+ "name": "orientation",
798
+ "annotation": {
799
+ "type": "reference",
800
+ "typeName": {
801
+ "type": "identifier",
802
+ "name": "OrientationType"
803
+ }
804
+ }
805
+ },
806
+ {
807
+ "name": "dashed",
808
+ "annotation": {
809
+ "type": "keyword",
810
+ "value": "boolean"
811
+ }
812
+ },
813
+ {
814
+ "name": "type",
815
+ "annotation": {
816
+ "type": "reference",
817
+ "typeName": {
818
+ "type": "identifier",
819
+ "name": "dividerType"
820
+ }
821
+ }
822
+ },
823
+ {
824
+ "name": "proportion",
825
+ "annotation": {
826
+ "type": "tuple",
827
+ "elementTypes": [
828
+ {
829
+ "type": "keyword",
830
+ "value": "number"
831
+ },
832
+ {
833
+ "type": "keyword",
834
+ "value": "number"
835
+ }
836
+ ]
837
+ }
838
+ },
839
+ {
840
+ "name": "dividerStyle",
841
+ "annotation": {
842
+ "type": "reference",
843
+ "typeName": {
844
+ "type": "identifier",
845
+ "name": "CSSProperties"
846
+ }
847
+ }
848
+ }
849
+ ],
850
+ "events": [],
851
+ "methods": [],
852
+ "types": [
853
+ {
854
+ "type": "typeAlias",
855
+ "name": "OrientationType",
856
+ "annotation": {
857
+ "type": "union",
858
+ "types": [
859
+ {
860
+ "type": "jsLiteral",
861
+ "value": "left"
862
+ },
863
+ {
864
+ "type": "jsLiteral",
865
+ "value": "center"
866
+ },
867
+ {
868
+ "type": "jsLiteral",
869
+ "value": "right"
870
+ }
871
+ ]
872
+ }
873
+ },
874
+ {
875
+ "type": "typeAlias",
876
+ "name": "dividerType",
877
+ "annotation": {
878
+ "type": "union",
879
+ "types": [
880
+ {
881
+ "type": "jsLiteral",
882
+ "value": "horizontal"
883
+ },
884
+ {
885
+ "type": "jsLiteral",
886
+ "value": "vertical"
887
+ },
888
+ {
889
+ "type": "jsLiteral",
890
+ "value": "radiation"
891
+ }
892
+ ]
893
+ }
894
+ }
895
+ ]
896
+ },
890
897
  "eo-info-card-item": {
891
898
  "properties": [
892
899
  {
@@ -1443,50 +1450,144 @@
1443
1450
  }
1444
1451
  ]
1445
1452
  },
1446
- "eo-loading-step": {
1453
+ "eo-current-time": {
1447
1454
  "properties": [
1448
1455
  {
1449
- "name": "visible",
1456
+ "name": "format",
1450
1457
  "annotation": {
1451
1458
  "type": "keyword",
1452
- "value": "boolean"
1459
+ "value": "string"
1453
1460
  }
1454
1461
  },
1455
1462
  {
1456
- "name": "width",
1463
+ "name": "icon",
1457
1464
  "annotation": {
1458
- "type": "keyword",
1459
- "value": "string"
1465
+ "type": "reference",
1466
+ "typeName": {
1467
+ "type": "identifier",
1468
+ "name": "GeneralIconProps"
1469
+ }
1460
1470
  }
1461
- },
1471
+ }
1472
+ ],
1473
+ "events": [],
1474
+ "methods": []
1475
+ },
1476
+ "eo-carousel-text": {
1477
+ "properties": [
1462
1478
  {
1463
- "name": "stepTitle",
1479
+ "name": "text",
1464
1480
  "annotation": {
1465
1481
  "type": "keyword",
1466
1482
  "value": "string"
1467
1483
  }
1468
1484
  },
1469
1485
  {
1470
- "name": "stepList",
1486
+ "name": "containerWidth",
1471
1487
  "annotation": {
1472
- "type": "array",
1473
- "elementType": {
1488
+ "type": "indexedAccess",
1489
+ "objectType": {
1474
1490
  "type": "reference",
1475
1491
  "typeName": {
1476
1492
  "type": "identifier",
1477
- "name": "StepItem"
1493
+ "name": "CSSProperties"
1478
1494
  }
1495
+ },
1496
+ "indexType": {
1497
+ "type": "jsLiteral",
1498
+ "value": "width"
1479
1499
  }
1480
1500
  }
1481
1501
  },
1482
1502
  {
1483
- "name": "curStep",
1503
+ "name": "fontSize",
1484
1504
  "annotation": {
1485
- "type": "keyword",
1486
- "value": "string"
1487
- }
1488
- }
1489
- ],
1505
+ "type": "indexedAccess",
1506
+ "objectType": {
1507
+ "type": "reference",
1508
+ "typeName": {
1509
+ "type": "identifier",
1510
+ "name": "CSSProperties"
1511
+ }
1512
+ },
1513
+ "indexType": {
1514
+ "type": "jsLiteral",
1515
+ "value": "fontSize"
1516
+ }
1517
+ }
1518
+ },
1519
+ {
1520
+ "name": "fontColor",
1521
+ "annotation": {
1522
+ "type": "indexedAccess",
1523
+ "objectType": {
1524
+ "type": "reference",
1525
+ "typeName": {
1526
+ "type": "identifier",
1527
+ "name": "CSSProperties"
1528
+ }
1529
+ },
1530
+ "indexType": {
1531
+ "type": "jsLiteral",
1532
+ "value": "color"
1533
+ }
1534
+ }
1535
+ },
1536
+ {
1537
+ "name": "speed",
1538
+ "annotation": {
1539
+ "type": "keyword",
1540
+ "value": "number"
1541
+ }
1542
+ }
1543
+ ],
1544
+ "events": [],
1545
+ "methods": []
1546
+ },
1547
+ "eo-loading-step": {
1548
+ "properties": [
1549
+ {
1550
+ "name": "visible",
1551
+ "annotation": {
1552
+ "type": "keyword",
1553
+ "value": "boolean"
1554
+ }
1555
+ },
1556
+ {
1557
+ "name": "width",
1558
+ "annotation": {
1559
+ "type": "keyword",
1560
+ "value": "string"
1561
+ }
1562
+ },
1563
+ {
1564
+ "name": "stepTitle",
1565
+ "annotation": {
1566
+ "type": "keyword",
1567
+ "value": "string"
1568
+ }
1569
+ },
1570
+ {
1571
+ "name": "stepList",
1572
+ "annotation": {
1573
+ "type": "array",
1574
+ "elementType": {
1575
+ "type": "reference",
1576
+ "typeName": {
1577
+ "type": "identifier",
1578
+ "name": "StepItem"
1579
+ }
1580
+ }
1581
+ }
1582
+ },
1583
+ {
1584
+ "name": "curStep",
1585
+ "annotation": {
1586
+ "type": "keyword",
1587
+ "value": "string"
1588
+ }
1589
+ }
1590
+ ],
1490
1591
  "events": [
1491
1592
  {
1492
1593
  "name": "open",
@@ -1552,100 +1653,6 @@
1552
1653
  }
1553
1654
  ]
1554
1655
  },
1555
- "eo-current-time": {
1556
- "properties": [
1557
- {
1558
- "name": "format",
1559
- "annotation": {
1560
- "type": "keyword",
1561
- "value": "string"
1562
- }
1563
- },
1564
- {
1565
- "name": "icon",
1566
- "annotation": {
1567
- "type": "reference",
1568
- "typeName": {
1569
- "type": "identifier",
1570
- "name": "GeneralIconProps"
1571
- }
1572
- }
1573
- }
1574
- ],
1575
- "events": [],
1576
- "methods": []
1577
- },
1578
- "eo-carousel-text": {
1579
- "properties": [
1580
- {
1581
- "name": "text",
1582
- "annotation": {
1583
- "type": "keyword",
1584
- "value": "string"
1585
- }
1586
- },
1587
- {
1588
- "name": "containerWidth",
1589
- "annotation": {
1590
- "type": "indexedAccess",
1591
- "objectType": {
1592
- "type": "reference",
1593
- "typeName": {
1594
- "type": "identifier",
1595
- "name": "CSSProperties"
1596
- }
1597
- },
1598
- "indexType": {
1599
- "type": "jsLiteral",
1600
- "value": "width"
1601
- }
1602
- }
1603
- },
1604
- {
1605
- "name": "fontSize",
1606
- "annotation": {
1607
- "type": "indexedAccess",
1608
- "objectType": {
1609
- "type": "reference",
1610
- "typeName": {
1611
- "type": "identifier",
1612
- "name": "CSSProperties"
1613
- }
1614
- },
1615
- "indexType": {
1616
- "type": "jsLiteral",
1617
- "value": "fontSize"
1618
- }
1619
- }
1620
- },
1621
- {
1622
- "name": "fontColor",
1623
- "annotation": {
1624
- "type": "indexedAccess",
1625
- "objectType": {
1626
- "type": "reference",
1627
- "typeName": {
1628
- "type": "identifier",
1629
- "name": "CSSProperties"
1630
- }
1631
- },
1632
- "indexType": {
1633
- "type": "jsLiteral",
1634
- "value": "color"
1635
- }
1636
- }
1637
- },
1638
- {
1639
- "name": "speed",
1640
- "annotation": {
1641
- "type": "keyword",
1642
- "value": "number"
1643
- }
1644
- }
1645
- ],
1646
- "events": [],
1647
- "methods": []
1648
- },
1649
1656
  "eo-alert": {
1650
1657
  "properties": [
1651
1658
  {
@@ -1756,6 +1763,68 @@
1756
1763
  }
1757
1764
  ]
1758
1765
  },
1766
+ "eo-code-display": {
1767
+ "properties": [
1768
+ {
1769
+ "name": "value",
1770
+ "annotation": {
1771
+ "type": "keyword",
1772
+ "value": "string"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "language",
1777
+ "annotation": {
1778
+ "type": "keyword",
1779
+ "value": "string"
1780
+ }
1781
+ },
1782
+ {
1783
+ "name": "hideLineNumber",
1784
+ "annotation": {
1785
+ "type": "keyword",
1786
+ "value": "boolean"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "maxLines",
1791
+ "annotation": {
1792
+ "type": "keyword",
1793
+ "value": "number"
1794
+ }
1795
+ },
1796
+ {
1797
+ "name": "minLines",
1798
+ "annotation": {
1799
+ "type": "keyword",
1800
+ "value": "number"
1801
+ }
1802
+ },
1803
+ {
1804
+ "name": "showCopyButton",
1805
+ "annotation": {
1806
+ "type": "keyword",
1807
+ "value": "boolean"
1808
+ }
1809
+ },
1810
+ {
1811
+ "name": "showExportButton",
1812
+ "annotation": {
1813
+ "type": "keyword",
1814
+ "value": "boolean"
1815
+ }
1816
+ },
1817
+ {
1818
+ "name": "exportFileName",
1819
+ "annotation": {
1820
+ "type": "keyword",
1821
+ "value": "string"
1822
+ }
1823
+ }
1824
+ ],
1825
+ "events": [],
1826
+ "methods": []
1827
+ },
1759
1828
  "eo-pagination": {
1760
1829
  "properties": [
1761
1830
  {
@@ -1949,68 +2018,6 @@
1949
2018
  }
1950
2019
  ]
1951
2020
  },
1952
- "eo-code-display": {
1953
- "properties": [
1954
- {
1955
- "name": "value",
1956
- "annotation": {
1957
- "type": "keyword",
1958
- "value": "string"
1959
- }
1960
- },
1961
- {
1962
- "name": "language",
1963
- "annotation": {
1964
- "type": "keyword",
1965
- "value": "string"
1966
- }
1967
- },
1968
- {
1969
- "name": "hideLineNumber",
1970
- "annotation": {
1971
- "type": "keyword",
1972
- "value": "boolean"
1973
- }
1974
- },
1975
- {
1976
- "name": "maxLines",
1977
- "annotation": {
1978
- "type": "keyword",
1979
- "value": "number"
1980
- }
1981
- },
1982
- {
1983
- "name": "minLines",
1984
- "annotation": {
1985
- "type": "keyword",
1986
- "value": "number"
1987
- }
1988
- },
1989
- {
1990
- "name": "showCopyButton",
1991
- "annotation": {
1992
- "type": "keyword",
1993
- "value": "boolean"
1994
- }
1995
- },
1996
- {
1997
- "name": "showExportButton",
1998
- "annotation": {
1999
- "type": "keyword",
2000
- "value": "boolean"
2001
- }
2002
- },
2003
- {
2004
- "name": "exportFileName",
2005
- "annotation": {
2006
- "type": "keyword",
2007
- "value": "string"
2008
- }
2009
- }
2010
- ],
2011
- "events": [],
2012
- "methods": []
2013
- },
2014
2021
  "eo-humanize-time": {
2015
2022
  "properties": [
2016
2023
  {
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "1.17.1",
3
+ "version": "1.18.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": "2332fda0d51aafd84d08144f3659fc01cff28412"
47
+ "gitHead": "4164cd26b58b926f078b39259bf72861ad7e341d"
48
48
  }