@next-bricks/presentational 1.11.6 → 1.12.1
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 +16 -16
- package/dist/chunks/4185.c2453882.js +3 -0
- package/dist/chunks/4185.c2453882.js.map +1 -0
- package/dist/chunks/4196.2c0cc687.js +2 -0
- package/dist/chunks/4196.2c0cc687.js.map +1 -0
- package/dist/chunks/{4837.89f5cf5c.js → 4837.46f0f733.js} +2 -2
- package/dist/chunks/{4837.89f5cf5c.js.map → 4837.46f0f733.js.map} +1 -1
- package/dist/chunks/{7218.cbdbf4dc.js → 7218.e9f08213.js} +2 -2
- package/dist/chunks/{7218.cbdbf4dc.js.map → 7218.e9f08213.js.map} +1 -1
- package/dist/chunks/9126.3d4f1a85.js +2 -0
- package/dist/chunks/9126.3d4f1a85.js.map +1 -0
- package/dist/chunks/eo-card-item.41025a28.js +3 -0
- package/dist/chunks/{eo-card-item.ba559329.js.map → eo-card-item.41025a28.js.map} +1 -1
- package/dist/chunks/eo-carousel-text.5ff91835.js +2 -0
- package/dist/chunks/eo-carousel-text.5ff91835.js.map +1 -0
- package/dist/chunks/eo-descriptions.db3abdc1.js +3 -0
- package/dist/chunks/{eo-descriptions.28b294f5.js.map → eo-descriptions.db3abdc1.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.0d079211.js +3 -0
- package/dist/chunks/{eo-info-card-item.4e18db94.js.map → eo-info-card-item.0d079211.js.map} +1 -1
- package/dist/chunks/eo-loading-step.078a2852.js +3 -0
- package/dist/chunks/{eo-loading-step.bd38e150.js.map → eo-loading-step.078a2852.js.map} +1 -1
- package/dist/chunks/main.68264fbb.js +2 -0
- package/dist/chunks/main.68264fbb.js.map +1 -0
- package/dist/examples.json +7 -7
- package/dist/index.afbf01cd.js +2 -0
- package/dist/index.afbf01cd.js.map +1 -0
- package/dist/manifest.json +119 -119
- package/dist/types.json +156 -156
- package/dist-types/carousel-text/index.d.ts +7 -7
- package/docs/eo-carousel-text.md +1 -5
- package/package.json +2 -2
- package/dist/chunks/1491.23bdb29b.js +0 -3
- package/dist/chunks/1491.23bdb29b.js.map +0 -1
- package/dist/chunks/4196.a5b82e04.js +0 -2
- package/dist/chunks/4196.a5b82e04.js.map +0 -1
- package/dist/chunks/eo-card-item.ba559329.js +0 -3
- package/dist/chunks/eo-carousel-text.6f9bd39b.js +0 -2
- package/dist/chunks/eo-carousel-text.6f9bd39b.js.map +0 -1
- package/dist/chunks/eo-descriptions.28b294f5.js +0 -3
- package/dist/chunks/eo-info-card-item.4e18db94.js +0 -3
- package/dist/chunks/eo-loading-step.bd38e150.js +0 -3
- package/dist/chunks/main.987365d5.js +0 -2
- package/dist/chunks/main.987365d5.js.map +0 -1
- package/dist/index.82067ce9.js +0 -2
- package/dist/index.82067ce9.js.map +0 -1
- /package/dist/chunks/{1491.23bdb29b.js.LICENSE.txt → 4185.c2453882.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.ba559329.js.LICENSE.txt → eo-card-item.41025a28.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.28b294f5.js.LICENSE.txt → eo-descriptions.db3abdc1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.4e18db94.js.LICENSE.txt → eo-info-card-item.0d079211.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.bd38e150.js.LICENSE.txt → eo-loading-step.078a2852.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -123,63 +123,6 @@
|
|
|
123
123
|
"description": "告警提示",
|
|
124
124
|
"category": "display-component"
|
|
125
125
|
},
|
|
126
|
-
{
|
|
127
|
-
"name": "eo-code-display",
|
|
128
|
-
"alias": [
|
|
129
|
-
"presentational.code-display"
|
|
130
|
-
],
|
|
131
|
-
"properties": [
|
|
132
|
-
{
|
|
133
|
-
"name": "value",
|
|
134
|
-
"description": "代码内容",
|
|
135
|
-
"default": "\"\"",
|
|
136
|
-
"type": "string"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "language",
|
|
140
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "hideLineNumber",
|
|
145
|
-
"description": "是否隐藏行号",
|
|
146
|
-
"type": "boolean"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "maxLines",
|
|
150
|
-
"description": "最大行数",
|
|
151
|
-
"type": "number"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "minLines",
|
|
155
|
-
"description": "最小行数",
|
|
156
|
-
"type": "number"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "showCopyButton",
|
|
160
|
-
"description": "是否显示复制按钮",
|
|
161
|
-
"default": "true",
|
|
162
|
-
"type": "boolean"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "showExportButton",
|
|
166
|
-
"description": "是否显示导出按钮",
|
|
167
|
-
"type": "boolean"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "exportFileName",
|
|
171
|
-
"description": "导出的文件名",
|
|
172
|
-
"default": "download.txt",
|
|
173
|
-
"type": "string"
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"events": [],
|
|
177
|
-
"slots": [],
|
|
178
|
-
"methods": [],
|
|
179
|
-
"parts": [],
|
|
180
|
-
"description": "代码展示",
|
|
181
|
-
"category": "display-component"
|
|
182
|
-
},
|
|
183
126
|
{
|
|
184
127
|
"name": "eo-pagination",
|
|
185
128
|
"properties": [
|
|
@@ -417,6 +360,63 @@
|
|
|
417
360
|
"description": "分割线",
|
|
418
361
|
"category": "container-display"
|
|
419
362
|
},
|
|
363
|
+
{
|
|
364
|
+
"name": "eo-code-display",
|
|
365
|
+
"alias": [
|
|
366
|
+
"presentational.code-display"
|
|
367
|
+
],
|
|
368
|
+
"properties": [
|
|
369
|
+
{
|
|
370
|
+
"name": "value",
|
|
371
|
+
"description": "代码内容",
|
|
372
|
+
"default": "\"\"",
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "language",
|
|
377
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
378
|
+
"type": "string"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "hideLineNumber",
|
|
382
|
+
"description": "是否隐藏行号",
|
|
383
|
+
"type": "boolean"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "maxLines",
|
|
387
|
+
"description": "最大行数",
|
|
388
|
+
"type": "number"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "minLines",
|
|
392
|
+
"description": "最小行数",
|
|
393
|
+
"type": "number"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "showCopyButton",
|
|
397
|
+
"description": "是否显示复制按钮",
|
|
398
|
+
"default": "true",
|
|
399
|
+
"type": "boolean"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "showExportButton",
|
|
403
|
+
"description": "是否显示导出按钮",
|
|
404
|
+
"type": "boolean"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "exportFileName",
|
|
408
|
+
"description": "导出的文件名",
|
|
409
|
+
"default": "download.txt",
|
|
410
|
+
"type": "string"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"events": [],
|
|
414
|
+
"slots": [],
|
|
415
|
+
"methods": [],
|
|
416
|
+
"parts": [],
|
|
417
|
+
"description": "代码展示",
|
|
418
|
+
"category": "display-component"
|
|
419
|
+
},
|
|
420
420
|
{
|
|
421
421
|
"name": "eo-info-card-item",
|
|
422
422
|
"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": "\"14px\"",
|
|
723
|
-
"type": "CSSProperties[\"fontSize\"]"
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"name": "fontColor",
|
|
727
|
-
"description": "字体颜色",
|
|
728
|
-
"default": "\"black\"",
|
|
729
|
-
"type": "CSSProperties[\"color\"]"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"name": "animationDuration",
|
|
733
|
-
"description": "动画周期所需时间,单位ms",
|
|
734
|
-
"default": "3000",
|
|
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,100 +1557,6 @@
|
|
|
1463
1557
|
}
|
|
1464
1558
|
]
|
|
1465
1559
|
},
|
|
1466
|
-
"eo-current-time": {
|
|
1467
|
-
"properties": [
|
|
1468
|
-
{
|
|
1469
|
-
"name": "format",
|
|
1470
|
-
"annotation": {
|
|
1471
|
-
"type": "keyword",
|
|
1472
|
-
"value": "string"
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
"name": "icon",
|
|
1477
|
-
"annotation": {
|
|
1478
|
-
"type": "reference",
|
|
1479
|
-
"typeName": {
|
|
1480
|
-
"type": "identifier",
|
|
1481
|
-
"name": "GeneralIconProps"
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
],
|
|
1486
|
-
"events": [],
|
|
1487
|
-
"methods": []
|
|
1488
|
-
},
|
|
1489
|
-
"eo-carousel-text": {
|
|
1490
|
-
"properties": [
|
|
1491
|
-
{
|
|
1492
|
-
"name": "text",
|
|
1493
|
-
"annotation": {
|
|
1494
|
-
"type": "keyword",
|
|
1495
|
-
"value": "string"
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"name": "containerWidth",
|
|
1500
|
-
"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
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "fontSize",
|
|
1517
|
-
"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
|
-
}
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"name": "fontColor",
|
|
1534
|
-
"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
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
"name": "animationDuration",
|
|
1551
|
-
"annotation": {
|
|
1552
|
-
"type": "keyword",
|
|
1553
|
-
"value": "number"
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
],
|
|
1557
|
-
"events": [],
|
|
1558
|
-
"methods": []
|
|
1559
|
-
},
|
|
1560
1560
|
"eo-alert": {
|
|
1561
1561
|
"properties": [
|
|
1562
1562
|
{
|
|
@@ -1667,68 +1667,6 @@
|
|
|
1667
1667
|
}
|
|
1668
1668
|
]
|
|
1669
1669
|
},
|
|
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
1670
|
"eo-pagination": {
|
|
1733
1671
|
"properties": [
|
|
1734
1672
|
{
|
|
@@ -1922,6 +1860,68 @@
|
|
|
1922
1860
|
}
|
|
1923
1861
|
]
|
|
1924
1862
|
},
|
|
1863
|
+
"eo-code-display": {
|
|
1864
|
+
"properties": [
|
|
1865
|
+
{
|
|
1866
|
+
"name": "value",
|
|
1867
|
+
"annotation": {
|
|
1868
|
+
"type": "keyword",
|
|
1869
|
+
"value": "string"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"name": "language",
|
|
1874
|
+
"annotation": {
|
|
1875
|
+
"type": "keyword",
|
|
1876
|
+
"value": "string"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "hideLineNumber",
|
|
1881
|
+
"annotation": {
|
|
1882
|
+
"type": "keyword",
|
|
1883
|
+
"value": "boolean"
|
|
1884
|
+
}
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "maxLines",
|
|
1888
|
+
"annotation": {
|
|
1889
|
+
"type": "keyword",
|
|
1890
|
+
"value": "number"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"name": "minLines",
|
|
1895
|
+
"annotation": {
|
|
1896
|
+
"type": "keyword",
|
|
1897
|
+
"value": "number"
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"name": "showCopyButton",
|
|
1902
|
+
"annotation": {
|
|
1903
|
+
"type": "keyword",
|
|
1904
|
+
"value": "boolean"
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "showExportButton",
|
|
1909
|
+
"annotation": {
|
|
1910
|
+
"type": "keyword",
|
|
1911
|
+
"value": "boolean"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "exportFileName",
|
|
1916
|
+
"annotation": {
|
|
1917
|
+
"type": "keyword",
|
|
1918
|
+
"value": "string"
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
],
|
|
1922
|
+
"events": [],
|
|
1923
|
+
"methods": []
|
|
1924
|
+
},
|
|
1925
1925
|
"eo-humanize-time": {
|
|
1926
1926
|
"properties": [
|
|
1927
1927
|
{
|
|
@@ -16,26 +16,26 @@ export declare class EoCarouselText extends ReactNextElement {
|
|
|
16
16
|
accessor containerWidth: CSSProperties["width"];
|
|
17
17
|
/**
|
|
18
18
|
* 字体大小
|
|
19
|
-
* @default "
|
|
19
|
+
* @default "var(--normal-font-size)"
|
|
20
20
|
*/
|
|
21
21
|
accessor fontSize: CSSProperties["fontSize"];
|
|
22
22
|
/**
|
|
23
23
|
* 字体颜色
|
|
24
|
-
* @default "
|
|
24
|
+
* @default "var(--text-color-default)"
|
|
25
25
|
*/
|
|
26
26
|
accessor fontColor: CSSProperties["color"];
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @default
|
|
28
|
+
* 移动速度,单位 px/s
|
|
29
|
+
* @default 100
|
|
30
30
|
*/
|
|
31
|
-
accessor
|
|
31
|
+
accessor speed: number;
|
|
32
32
|
render(): React.JSX.Element;
|
|
33
33
|
}
|
|
34
34
|
export interface EoCarouselTextProps {
|
|
35
35
|
text: string;
|
|
36
|
-
|
|
36
|
+
speed?: number;
|
|
37
37
|
fontColor: CSSProperties["color"];
|
|
38
38
|
fontSize: CSSProperties["fontSize"];
|
|
39
39
|
containerWidth: CSSProperties["width"];
|
|
40
40
|
}
|
|
41
|
-
export declare function EoCarouselTextComponent(
|
|
41
|
+
export declare function EoCarouselTextComponent({ text, fontColor, fontSize, containerWidth, speed: _speed, }: EoCarouselTextProps): React.JSX.Element;
|
package/docs/eo-carousel-text.md
CHANGED
|
@@ -7,9 +7,5 @@
|
|
|
7
7
|
```yaml preview
|
|
8
8
|
brick: eo-carousel-text
|
|
9
9
|
properties:
|
|
10
|
-
text:
|
|
11
|
-
animationDuration: 3000
|
|
12
|
-
fontColor: var(--antd-text-color)
|
|
13
|
-
fontSize: 20px
|
|
14
|
-
containerWidth: 100%
|
|
10
|
+
text: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
|
15
11
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-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": "ebb8ee2660f7d9417c2a96d40a216a576d772842"
|
|
48
48
|
}
|