@next-bricks/presentational 1.10.17 → 1.11.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.
Files changed (56) hide show
  1. package/dist/bricks.json +26 -26
  2. package/dist/chunks/{3171.d6432625.js → 3171.6d0fcafd.js} +2 -2
  3. package/dist/chunks/{5552.cd9ac874.js.map → 3171.6d0fcafd.js.map} +1 -1
  4. package/dist/chunks/{3933.b27b51fd.js → 3933.82c381a8.js} +2 -2
  5. package/dist/chunks/{6314.fb4c3e20.js.map → 3933.82c381a8.js.map} +1 -1
  6. package/dist/chunks/4196.bf100e1b.js +2 -0
  7. package/dist/chunks/4196.bf100e1b.js.map +1 -0
  8. package/dist/chunks/4235.3df9f2fd.js +3 -0
  9. package/dist/chunks/4235.3df9f2fd.js.map +1 -0
  10. package/dist/chunks/{4837.5a3562e4.js → 4837.616c684a.js} +2 -2
  11. package/dist/chunks/{4837.5a3562e4.js.map → 4837.616c684a.js.map} +1 -1
  12. package/dist/chunks/{5552.cd9ac874.js → 5552.d5706488.js} +2 -2
  13. package/dist/chunks/{3171.d6432625.js.map → 5552.d5706488.js.map} +1 -1
  14. package/dist/chunks/{6314.fb4c3e20.js → 6314.2884a9fd.js} +2 -2
  15. package/dist/chunks/{3933.b27b51fd.js.map → 6314.2884a9fd.js.map} +1 -1
  16. package/dist/chunks/{7218.63adeb71.js → 7218.7a8a565b.js} +2 -2
  17. package/dist/chunks/{7218.63adeb71.js.map → 7218.7a8a565b.js.map} +1 -1
  18. package/dist/chunks/{8097.5da7efb4.js → 8097.062dc9e0.js} +2 -2
  19. package/dist/chunks/{8097.5da7efb4.js.map → 8097.062dc9e0.js.map} +1 -1
  20. package/dist/chunks/{eo-card-item.9f96d42b.js → eo-card-item.9e679452.js} +3 -3
  21. package/dist/chunks/{eo-card-item.9f96d42b.js.map → eo-card-item.9e679452.js.map} +1 -1
  22. package/dist/chunks/eo-code-display.299f7dbf.js +2 -0
  23. package/dist/chunks/{eo-code-display.16357fb6.js.map → eo-code-display.299f7dbf.js.map} +1 -1
  24. package/dist/chunks/{eo-descriptions.6aa8d810.js → eo-descriptions.ddaee986.js} +3 -3
  25. package/dist/chunks/{eo-descriptions.6aa8d810.js.map → eo-descriptions.ddaee986.js.map} +1 -1
  26. package/dist/chunks/{eo-humanize-time.50ae98d8.js → eo-humanize-time.b85dbc1e.js} +2 -2
  27. package/dist/chunks/{eo-humanize-time.50ae98d8.js.map → eo-humanize-time.b85dbc1e.js.map} +1 -1
  28. package/dist/chunks/{eo-info-card-item.7afb19a2.js → eo-info-card-item.558836f2.js} +3 -3
  29. package/dist/chunks/{eo-info-card-item.7afb19a2.js.map → eo-info-card-item.558836f2.js.map} +1 -1
  30. package/dist/chunks/{eo-loading-step.f9266b23.js → eo-loading-step.3d87a02b.js} +3 -3
  31. package/dist/chunks/{eo-loading-step.f9266b23.js.map → eo-loading-step.3d87a02b.js.map} +1 -1
  32. package/dist/chunks/eo-pagination.44f8b140.js +3 -0
  33. package/dist/chunks/eo-pagination.44f8b140.js.map +1 -0
  34. package/dist/chunks/{main.a20f3374.js → main.81380484.js} +2 -2
  35. package/dist/chunks/{main.a20f3374.js.map → main.81380484.js.map} +1 -1
  36. package/dist/examples.json +9 -9
  37. package/dist/{index.51496618.js → index.ad023df5.js} +2 -2
  38. package/dist/{index.51496618.js.map → index.ad023df5.js.map} +1 -1
  39. package/dist/manifest.json +179 -165
  40. package/dist/types.json +436 -322
  41. package/dist-types/pagination/index.d.ts +21 -5
  42. package/docs/eo-pagination.md +17 -1
  43. package/package.json +3 -3
  44. package/dist/chunks/4196.77f0b58b.js +0 -2
  45. package/dist/chunks/4196.77f0b58b.js.map +0 -1
  46. package/dist/chunks/5009.37909ae4.js +0 -3
  47. package/dist/chunks/5009.37909ae4.js.map +0 -1
  48. package/dist/chunks/eo-code-display.16357fb6.js +0 -2
  49. package/dist/chunks/eo-pagination.e4db30c7.js +0 -3
  50. package/dist/chunks/eo-pagination.e4db30c7.js.map +0 -1
  51. /package/dist/chunks/{5009.37909ae4.js.LICENSE.txt → 4235.3df9f2fd.js.LICENSE.txt} +0 -0
  52. /package/dist/chunks/{eo-card-item.9f96d42b.js.LICENSE.txt → eo-card-item.9e679452.js.LICENSE.txt} +0 -0
  53. /package/dist/chunks/{eo-descriptions.6aa8d810.js.LICENSE.txt → eo-descriptions.ddaee986.js.LICENSE.txt} +0 -0
  54. /package/dist/chunks/{eo-info-card-item.7afb19a2.js.LICENSE.txt → eo-info-card-item.558836f2.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{eo-loading-step.f9266b23.js.LICENSE.txt → eo-loading-step.3d87a02b.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-pagination.e4db30c7.js.LICENSE.txt → eo-pagination.44f8b140.js.LICENSE.txt} +0 -0
@@ -3,6 +3,121 @@
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
+ "events": [],
61
+ "slots": [],
62
+ "methods": [],
63
+ "parts": [],
64
+ "description": "通用描述列表构件",
65
+ "category": "text"
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
+ "events": [],
106
+ "slots": [
107
+ {
108
+ "name": null,
109
+ "description": "内容区"
110
+ },
111
+ {
112
+ "name": "title",
113
+ "description": "标题"
114
+ }
115
+ ],
116
+ "methods": [],
117
+ "parts": [],
118
+ "description": "告警提示",
119
+ "category": "display-component"
120
+ },
6
121
  {
7
122
  "name": "eo-code-display",
8
123
  "alias": [
@@ -60,6 +175,70 @@
60
175
  "description": "代码展示",
61
176
  "category": "display-component"
62
177
  },
178
+ {
179
+ "name": "eo-pagination",
180
+ "properties": [
181
+ {
182
+ "name": "type",
183
+ "description": "",
184
+ "default": "\"page\"",
185
+ "type": "\"page\" | \"token\""
186
+ },
187
+ {
188
+ "name": "total",
189
+ "description": "数据总数",
190
+ "default": "0",
191
+ "type": "number"
192
+ },
193
+ {
194
+ "name": "page",
195
+ "description": "当前页数",
196
+ "default": "1",
197
+ "type": "number"
198
+ },
199
+ {
200
+ "name": "pageSize",
201
+ "description": "每页条数",
202
+ "default": "20",
203
+ "type": "number"
204
+ },
205
+ {
206
+ "name": "pageSizeOptions",
207
+ "description": "指定每页可以显示多少条",
208
+ "default": "[10, 20, 50, 100]",
209
+ "attribute": false,
210
+ "type": "number[]"
211
+ },
212
+ {
213
+ "name": "showSizeChanger",
214
+ "description": "是否展示`pageSize`分页器",
215
+ "default": "true",
216
+ "type": "boolean"
217
+ },
218
+ {
219
+ "name": "nextToken",
220
+ "type": "string"
221
+ },
222
+ {
223
+ "name": "previousToken",
224
+ "type": "string"
225
+ }
226
+ ],
227
+ "events": [
228
+ {
229
+ "name": "change",
230
+ "description": "页码及每页条数改变事件",
231
+ "detail": {
232
+ "type": "ChangeDetail"
233
+ }
234
+ }
235
+ ],
236
+ "slots": [],
237
+ "methods": [],
238
+ "parts": [],
239
+ "description": "分页",
240
+ "category": "navigation"
241
+ },
63
242
  {
64
243
  "name": "eo-card-item",
65
244
  "properties": [
@@ -556,171 +735,6 @@
556
735
  "methods": [],
557
736
  "parts": [],
558
737
  "description": "构件 `eo-carousel-text`"
559
- },
560
- {
561
- "name": "eo-pagination",
562
- "properties": [
563
- {
564
- "name": "total",
565
- "description": "数据总数",
566
- "default": "0",
567
- "type": "number"
568
- },
569
- {
570
- "name": "page",
571
- "description": "当前页数",
572
- "default": "1",
573
- "type": "number"
574
- },
575
- {
576
- "name": "pageSize",
577
- "description": "每页条数",
578
- "default": "20",
579
- "type": "number"
580
- },
581
- {
582
- "name": "pageSizeOptions",
583
- "description": "指定每页可以显示多少条",
584
- "default": "[10, 20, 50, 100]",
585
- "attribute": false,
586
- "type": "number[]"
587
- },
588
- {
589
- "name": "showSizeChanger",
590
- "description": "是否展示`pageSize`分页器",
591
- "default": "true",
592
- "type": "boolean"
593
- }
594
- ],
595
- "events": [
596
- {
597
- "name": "change",
598
- "description": "页码及每页条数改变事件",
599
- "detail": {
600
- "type": "{ page: number; pageSize: number }"
601
- }
602
- }
603
- ],
604
- "slots": [],
605
- "methods": [],
606
- "parts": [],
607
- "description": "分页",
608
- "category": "navigation"
609
- },
610
- {
611
- "name": "eo-descriptions",
612
- "alias": [
613
- "presentational.general-descriptions"
614
- ],
615
- "properties": [
616
- {
617
- "name": "descriptionTitle",
618
- "description": "描述标题",
619
- "type": "string"
620
- },
621
- {
622
- "name": "list",
623
- "description": "描述列表",
624
- "attribute": false,
625
- "type": "DescriptionItem[]"
626
- },
627
- {
628
- "name": "showCard",
629
- "description": "是否展示卡片背景",
630
- "default": "true",
631
- "type": "boolean"
632
- },
633
- {
634
- "name": "column",
635
- "description": "列数",
636
- "attribute": true,
637
- "type": "number"
638
- },
639
- {
640
- "name": "layout",
641
- "description": "布局模式",
642
- "default": "\"horizontal\"",
643
- "type": "Layout"
644
- },
645
- {
646
- "name": "bordered",
647
- "description": "是否展示边框",
648
- "default": "false",
649
- "type": "boolean"
650
- },
651
- {
652
- "name": "hideGroups",
653
- "description": "隐藏的描述列表项",
654
- "attribute": false,
655
- "type": "string | string[]"
656
- },
657
- {
658
- "name": "dataSource",
659
- "description": "数据源",
660
- "attribute": false,
661
- "type": "Record<string, unknown>"
662
- }
663
- ],
664
- "events": [],
665
- "slots": [],
666
- "methods": [],
667
- "parts": [],
668
- "description": "通用描述列表构件",
669
- "category": "text"
670
- },
671
- {
672
- "name": "eo-alert",
673
- "alias": [
674
- "presentational.general-alert"
675
- ],
676
- "properties": [
677
- {
678
- "name": "type",
679
- "description": "警告类型",
680
- "attribute": false,
681
- "type": "AlertType"
682
- },
683
- {
684
- "name": "hasTitle",
685
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
686
- "type": "boolean"
687
- },
688
- {
689
- "name": "showIcon",
690
- "description": "是否显示提示图标",
691
- "type": "boolean"
692
- },
693
- {
694
- "name": "closable",
695
- "description": "是否显示关闭按钮",
696
- "type": "boolean"
697
- },
698
- {
699
- "name": "localStorageKey",
700
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
701
- "type": "string"
702
- },
703
- {
704
- "name": "disableUrlNamespace",
705
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
706
- "type": "boolean"
707
- }
708
- ],
709
- "events": [],
710
- "slots": [
711
- {
712
- "name": null,
713
- "description": "内容区"
714
- },
715
- {
716
- "name": "title",
717
- "description": "标题"
718
- }
719
- ],
720
- "methods": [],
721
- "parts": [],
722
- "description": "告警提示",
723
- "category": "display-component"
724
738
  }
725
739
  ],
726
740
  "providers": []