@next-bricks/presentational 1.13.7 → 1.14.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.
Files changed (58) hide show
  1. package/dist/bricks.json +25 -25
  2. package/dist/chunks/1889.39e890ab.js +2 -0
  3. package/dist/chunks/1889.39e890ab.js.map +1 -0
  4. package/dist/chunks/{5552.b5b305ad.js → 3171.2429f5cc.js} +2 -2
  5. package/dist/chunks/{5552.b5b305ad.js.map → 3171.2429f5cc.js.map} +1 -1
  6. package/dist/chunks/{4765.7caab1b7.js → 4765.058ad269.js} +2 -2
  7. package/dist/chunks/{4765.7caab1b7.js.map → 4765.058ad269.js.map} +1 -1
  8. package/dist/chunks/{3171.7eec4d0e.js → 5552.4424d6d7.js} +2 -2
  9. package/dist/chunks/{3171.7eec4d0e.js.map → 5552.4424d6d7.js.map} +1 -1
  10. package/dist/chunks/7082.0543bf39.js +2 -0
  11. package/dist/chunks/7082.0543bf39.js.map +1 -0
  12. package/dist/chunks/{7146.ab0a875a.js → 7146.b211731b.js} +2 -2
  13. package/dist/chunks/{7146.ab0a875a.js.map → 7146.b211731b.js.map} +1 -1
  14. package/dist/chunks/{8097.104151cc.js → 8097.218a31d1.js} +2 -2
  15. package/dist/chunks/{8097.104151cc.js.map → 8097.218a31d1.js.map} +1 -1
  16. package/dist/chunks/9140.a08e4e42.js +3 -0
  17. package/dist/chunks/9140.a08e4e42.js.map +1 -0
  18. package/dist/chunks/eo-card-item.c8ae419d.js +3 -0
  19. package/dist/chunks/{eo-card-item.07eca103.js.map → eo-card-item.c8ae419d.js.map} +1 -1
  20. package/dist/chunks/{eo-code-display.a2f437a1.js → eo-code-display.e889e65f.js} +2 -2
  21. package/dist/chunks/{eo-code-display.a2f437a1.js.map → eo-code-display.e889e65f.js.map} +1 -1
  22. package/dist/chunks/eo-descriptions.935a0e78.js +3 -0
  23. package/dist/chunks/eo-descriptions.935a0e78.js.map +1 -0
  24. package/dist/chunks/{eo-humanize-time.e72be368.js → eo-humanize-time.0c9b0b77.js} +2 -2
  25. package/dist/chunks/{eo-humanize-time.e72be368.js.map → eo-humanize-time.0c9b0b77.js.map} +1 -1
  26. package/dist/chunks/{eo-info-card-item.67c26e5b.js → eo-info-card-item.cb203fd3.js} +3 -3
  27. package/dist/chunks/{eo-info-card-item.67c26e5b.js.map → eo-info-card-item.cb203fd3.js.map} +1 -1
  28. package/dist/chunks/{eo-loading-step.c669c966.js → eo-loading-step.53e39964.js} +3 -3
  29. package/dist/chunks/{eo-loading-step.c669c966.js.map → eo-loading-step.53e39964.js.map} +1 -1
  30. package/dist/chunks/{eo-pagination.beb1a80d.js → eo-pagination.712e2e65.js} +3 -3
  31. package/dist/chunks/{eo-pagination.beb1a80d.js.map → eo-pagination.712e2e65.js.map} +1 -1
  32. package/dist/chunks/main.5a473cc6.js +2 -0
  33. package/dist/chunks/main.5a473cc6.js.map +1 -0
  34. package/dist/examples.json +12 -12
  35. package/dist/index.98193f50.js +2 -0
  36. package/dist/index.98193f50.js.map +1 -0
  37. package/dist/manifest.json +197 -197
  38. package/dist/types.json +504 -504
  39. package/package.json +2 -2
  40. package/dist/chunks/1889.8145ef11.js +0 -2
  41. package/dist/chunks/1889.8145ef11.js.map +0 -1
  42. package/dist/chunks/7082.a9acf3cf.js +0 -2
  43. package/dist/chunks/7082.a9acf3cf.js.map +0 -1
  44. package/dist/chunks/9140.52496c3b.js +0 -3
  45. package/dist/chunks/9140.52496c3b.js.map +0 -1
  46. package/dist/chunks/eo-card-item.07eca103.js +0 -3
  47. package/dist/chunks/eo-descriptions.f0e348c5.js +0 -3
  48. package/dist/chunks/eo-descriptions.f0e348c5.js.map +0 -1
  49. package/dist/chunks/main.4fc66c9b.js +0 -2
  50. package/dist/chunks/main.4fc66c9b.js.map +0 -1
  51. package/dist/index.bb8f8737.js +0 -2
  52. package/dist/index.bb8f8737.js.map +0 -1
  53. /package/dist/chunks/{9140.52496c3b.js.LICENSE.txt → 9140.a08e4e42.js.LICENSE.txt} +0 -0
  54. /package/dist/chunks/{eo-card-item.07eca103.js.LICENSE.txt → eo-card-item.c8ae419d.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{eo-descriptions.f0e348c5.js.LICENSE.txt → eo-descriptions.935a0e78.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-info-card-item.67c26e5b.js.LICENSE.txt → eo-info-card-item.cb203fd3.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-loading-step.c669c966.js.LICENSE.txt → eo-loading-step.53e39964.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-pagination.beb1a80d.js.LICENSE.txt → eo-pagination.712e2e65.js.LICENSE.txt} +0 -0
@@ -3,131 +3,6 @@
3
3
  "package": "@next-bricks/presentational",
4
4
  "name": "presentational",
5
5
  "bricks": [
6
- {
7
- "name": "eo-descriptions",
8
- "alias": [
9
- "presentational.general-descriptions"
10
- ],
11
- "properties": [
12
- {
13
- "name": "descriptionTitle",
14
- "description": "描述标题",
15
- "type": "string"
16
- },
17
- {
18
- "name": "list",
19
- "description": "描述列表",
20
- "attribute": false,
21
- "type": "DescriptionItem[]"
22
- },
23
- {
24
- "name": "showCard",
25
- "description": "是否展示卡片背景",
26
- "default": "true",
27
- "type": "boolean"
28
- },
29
- {
30
- "name": "column",
31
- "description": "列数",
32
- "attribute": true,
33
- "type": "number"
34
- },
35
- {
36
- "name": "layout",
37
- "description": "布局模式",
38
- "default": "\"horizontal\"",
39
- "type": "Layout"
40
- },
41
- {
42
- "name": "bordered",
43
- "description": "是否展示边框",
44
- "default": "false",
45
- "type": "boolean"
46
- },
47
- {
48
- "name": "hideGroups",
49
- "description": "隐藏的描述列表项",
50
- "attribute": false,
51
- "type": "string | string[]"
52
- },
53
- {
54
- "name": "dataSource",
55
- "description": "数据源",
56
- "attribute": false,
57
- "type": "Record<string, unknown>"
58
- },
59
- {
60
- "name": "themeVariant",
61
- "description": "主题变体",
62
- "type": "\"default\" | \"elevo\""
63
- }
64
- ],
65
- "events": [],
66
- "slots": [],
67
- "methods": [],
68
- "parts": [],
69
- "description": "通用描述列表构件",
70
- "category": "text"
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
- },
131
6
  {
132
7
  "name": "eo-code-display",
133
8
  "alias": [
@@ -249,6 +124,65 @@
249
124
  "description": "分页",
250
125
  "category": "navigation"
251
126
  },
127
+ {
128
+ "name": "eo-alert",
129
+ "alias": [
130
+ "presentational.general-alert"
131
+ ],
132
+ "properties": [
133
+ {
134
+ "name": "type",
135
+ "description": "警告类型",
136
+ "attribute": false,
137
+ "type": "AlertType"
138
+ },
139
+ {
140
+ "name": "hasTitle",
141
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
142
+ "type": "boolean"
143
+ },
144
+ {
145
+ "name": "showIcon",
146
+ "description": "是否显示提示图标",
147
+ "type": "boolean"
148
+ },
149
+ {
150
+ "name": "closable",
151
+ "description": "是否显示关闭按钮",
152
+ "type": "boolean"
153
+ },
154
+ {
155
+ "name": "localStorageKey",
156
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
157
+ "type": "string"
158
+ },
159
+ {
160
+ "name": "disableUrlNamespace",
161
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
162
+ "type": "boolean"
163
+ },
164
+ {
165
+ "name": "textContent",
166
+ "type": "string",
167
+ "description": "文本内容"
168
+ }
169
+ ],
170
+ "events": [],
171
+ "slots": [
172
+ {
173
+ "name": null,
174
+ "description": "内容区"
175
+ },
176
+ {
177
+ "name": "title",
178
+ "description": "标题"
179
+ }
180
+ ],
181
+ "methods": [],
182
+ "parts": [],
183
+ "description": "告警提示",
184
+ "category": "display-component"
185
+ },
252
186
  {
253
187
  "name": "eo-card-item",
254
188
  "properties": [
@@ -386,48 +320,6 @@
386
320
  "description": "信息类卡片 —— 通用卡片",
387
321
  "category": "card-info"
388
322
  },
389
- {
390
- "name": "eo-divider",
391
- "properties": [
392
- {
393
- "name": "orientation",
394
- "description": "标题位置,在horizontal类型的分割线中使用",
395
- "default": "center",
396
- "attribute": false,
397
- "type": "OrientationType"
398
- },
399
- {
400
- "name": "dashed",
401
- "description": "是否虚线",
402
- "default": "false",
403
- "type": "boolean"
404
- },
405
- {
406
- "name": "type",
407
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
408
- "default": "\"horizontal\"",
409
- "type": "dividerType"
410
- },
411
- {
412
- "name": "proportion",
413
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
414
- "attribute": false,
415
- "type": "[number, number]"
416
- },
417
- {
418
- "name": "dividerStyle",
419
- "description": "分割线自定义样式",
420
- "attribute": false,
421
- "type": "CSSProperties"
422
- }
423
- ],
424
- "events": [],
425
- "slots": [],
426
- "methods": [],
427
- "parts": [],
428
- "description": "分割线",
429
- "category": "container-display"
430
- },
431
323
  {
432
324
  "name": "eo-info-card-item",
433
325
  "properties": [
@@ -626,6 +518,68 @@
626
518
  "parts": [],
627
519
  "description": "统计卡片"
628
520
  },
521
+ {
522
+ "name": "eo-current-time",
523
+ "properties": [
524
+ {
525
+ "name": "format",
526
+ "description": "时间格式",
527
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
528
+ "type": "string"
529
+ },
530
+ {
531
+ "name": "icon",
532
+ "description": "前置图标",
533
+ "attribute": false,
534
+ "type": "GeneralIconProps"
535
+ }
536
+ ],
537
+ "events": [],
538
+ "slots": [],
539
+ "methods": [],
540
+ "parts": [],
541
+ "description": "构件 `eo-current-time`"
542
+ },
543
+ {
544
+ "name": "eo-carousel-text",
545
+ "properties": [
546
+ {
547
+ "name": "text",
548
+ "description": "展示内容",
549
+ "default": "\"\"",
550
+ "type": "string"
551
+ },
552
+ {
553
+ "name": "containerWidth",
554
+ "description": "容器宽度",
555
+ "default": "\"100%\"",
556
+ "type": "CSSProperties[\"width\"]"
557
+ },
558
+ {
559
+ "name": "fontSize",
560
+ "description": "字体大小",
561
+ "default": "\"var(--normal-font-size)\"",
562
+ "type": "CSSProperties[\"fontSize\"]"
563
+ },
564
+ {
565
+ "name": "fontColor",
566
+ "description": "字体颜色",
567
+ "default": "\"var(--text-color-default)\"",
568
+ "type": "CSSProperties[\"color\"]"
569
+ },
570
+ {
571
+ "name": "speed",
572
+ "description": "移动速度,单位 px/s",
573
+ "default": "100",
574
+ "type": "number"
575
+ }
576
+ ],
577
+ "events": [],
578
+ "slots": [],
579
+ "methods": [],
580
+ "parts": [],
581
+ "description": "构件 `eo-carousel-text`"
582
+ },
629
583
  {
630
584
  "name": "eo-loading-step",
631
585
  "properties": [
@@ -691,66 +645,112 @@
691
645
  "description": "加载步骤框"
692
646
  },
693
647
  {
694
- "name": "eo-current-time",
648
+ "name": "eo-descriptions",
649
+ "alias": [
650
+ "presentational.general-descriptions"
651
+ ],
695
652
  "properties": [
696
653
  {
697
- "name": "format",
698
- "description": "时间格式",
699
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
654
+ "name": "descriptionTitle",
655
+ "description": "描述标题",
700
656
  "type": "string"
701
657
  },
702
658
  {
703
- "name": "icon",
704
- "description": "前置图标",
659
+ "name": "list",
660
+ "description": "描述列表",
705
661
  "attribute": false,
706
- "type": "GeneralIconProps"
662
+ "type": "DescriptionItem[]"
663
+ },
664
+ {
665
+ "name": "showCard",
666
+ "description": "是否展示卡片背景",
667
+ "default": "true",
668
+ "type": "boolean"
669
+ },
670
+ {
671
+ "name": "column",
672
+ "description": "列数",
673
+ "attribute": true,
674
+ "type": "number"
675
+ },
676
+ {
677
+ "name": "layout",
678
+ "description": "布局模式",
679
+ "default": "\"horizontal\"",
680
+ "type": "Layout"
681
+ },
682
+ {
683
+ "name": "bordered",
684
+ "description": "是否展示边框",
685
+ "default": "false",
686
+ "type": "boolean"
687
+ },
688
+ {
689
+ "name": "hideGroups",
690
+ "description": "隐藏的描述列表项",
691
+ "attribute": false,
692
+ "type": "string | string[]"
693
+ },
694
+ {
695
+ "name": "dataSource",
696
+ "description": "数据源",
697
+ "attribute": false,
698
+ "type": "Record<string, unknown>"
699
+ },
700
+ {
701
+ "name": "themeVariant",
702
+ "description": "主题变体",
703
+ "type": "\"default\" | \"elevo\""
707
704
  }
708
705
  ],
709
706
  "events": [],
710
707
  "slots": [],
711
708
  "methods": [],
712
709
  "parts": [],
713
- "description": "构件 `eo-current-time`"
710
+ "description": "通用描述列表构件",
711
+ "category": "text"
714
712
  },
715
713
  {
716
- "name": "eo-carousel-text",
714
+ "name": "eo-divider",
717
715
  "properties": [
718
716
  {
719
- "name": "text",
720
- "description": "展示内容",
721
- "default": "\"\"",
722
- "type": "string"
717
+ "name": "orientation",
718
+ "description": "标题位置,在horizontal类型的分割线中使用",
719
+ "default": "center",
720
+ "attribute": false,
721
+ "type": "OrientationType"
723
722
  },
724
723
  {
725
- "name": "containerWidth",
726
- "description": "容器宽度",
727
- "default": "\"100%\"",
728
- "type": "CSSProperties[\"width\"]"
724
+ "name": "dashed",
725
+ "description": "是否虚线",
726
+ "default": "false",
727
+ "type": "boolean"
729
728
  },
730
729
  {
731
- "name": "fontSize",
732
- "description": "字体大小",
733
- "default": "\"var(--normal-font-size)\"",
734
- "type": "CSSProperties[\"fontSize\"]"
730
+ "name": "type",
731
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
732
+ "default": "\"horizontal\"",
733
+ "type": "dividerType"
735
734
  },
736
735
  {
737
- "name": "fontColor",
738
- "description": "字体颜色",
739
- "default": "\"var(--text-color-default)\"",
740
- "type": "CSSProperties[\"color\"]"
736
+ "name": "proportion",
737
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
738
+ "attribute": false,
739
+ "type": "[number, number]"
741
740
  },
742
741
  {
743
- "name": "speed",
744
- "description": "移动速度,单位 px/s",
745
- "default": "100",
746
- "type": "number"
742
+ "name": "dividerStyle",
743
+ "description": "分割线自定义样式",
744
+ "attribute": false,
745
+ "type": "CSSProperties"
747
746
  }
748
747
  ],
749
748
  "events": [],
750
749
  "slots": [],
751
750
  "methods": [],
752
751
  "parts": [],
753
- "description": "构件 `eo-carousel-text`"
752
+ "description": "分割线",
753
+ "category": "container-display"
754
754
  }
755
755
  ],
756
756
  "providers": []