@next-bricks/presentational-bricks 1.244.2 → 1.244.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.244.3](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.244.2...@next-bricks/presentational-bricks@1.244.3) (2022-05-30)
7
+
8
+ **Note:** Version bump only for package @next-bricks/presentational-bricks
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.244.2](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.244.1...@next-bricks/presentational-bricks@1.244.2) (2022-05-30)
7
15
 
8
16
 
@@ -1,211 +1,208 @@
1
1
  contracts:
2
2
  - type: brick
3
3
  brick: presentational-bricks.general-iframe
4
- version: 1.244.2
5
- - type: brick
6
- brick: presentational-bricks.brick-tree
7
- version: 1.244.2
4
+ version: 1.244.3
8
5
  - type: brick
9
6
  brick: presentational-bricks.brick-tag
10
- version: 1.244.2
7
+ version: 1.244.3
8
+ - type: brick
9
+ brick: presentational-bricks.brick-timeline
10
+ version: 1.244.3
11
11
  - type: brick
12
12
  brick: presentational-bricks.brick-descriptions
13
- version: 1.244.2
13
+ version: 1.244.3
14
14
  - type: brick
15
- brick: presentational-bricks.brick-timeline
16
- version: 1.244.2
15
+ brick: presentational-bricks.brick-tree
16
+ version: 1.244.3
17
17
  - type: brick
18
18
  brick: presentational-bricks.brick-list
19
- version: 1.244.2
19
+ version: 1.244.3
20
20
  - type: brick
21
21
  brick: presentational-bricks.brick-general-search
22
- version: 1.244.2
23
- - type: brick
24
- brick: presentational-bricks.brick-table
25
- version: 1.244.2
22
+ version: 1.244.3
26
23
  - type: brick
27
24
  brick: presentational-bricks.brick-button
28
- version: 1.244.2
25
+ version: 1.244.3
29
26
  - type: brick
30
27
  brick: presentational-bricks.brick-delete-confirm
31
- version: 1.244.2
28
+ version: 1.244.3
29
+ - type: brick
30
+ brick: presentational-bricks.brick-table
31
+ version: 1.244.3
32
32
  - type: brick
33
33
  brick: presentational-bricks.brick-humanize-time
34
- version: 1.244.2
34
+ version: 1.244.3
35
35
  - type: brick
36
36
  brick: presentational-bricks.general-pagination
37
- version: 1.244.2
37
+ version: 1.244.3
38
38
  - type: brick
39
39
  brick: presentational-bricks.brick-link
40
- version: 1.244.2
41
- - type: brick
42
- brick: presentational-bricks.template-breadcrumb
43
- version: 1.244.2
40
+ version: 1.244.3
44
41
  - type: brick
45
42
  brick: presentational-bricks.brick-input
46
- version: 1.244.2
43
+ version: 1.244.3
44
+ - type: brick
45
+ brick: presentational-bricks.template-breadcrumb
46
+ version: 1.244.3
47
47
  - type: brick
48
48
  brick: presentational-bricks.brick-utils
49
- version: 1.244.2
49
+ version: 1.244.3
50
50
  - type: brick
51
51
  brick: presentational-bricks.brick-value-mapping
52
- version: 1.244.2
52
+ version: 1.244.3
53
53
  - type: brick
54
54
  brick: presentational-bricks.brick-cluster-type
55
- version: 1.244.2
56
- - type: brick
57
- brick: presentational-bricks.brick-alert-level
58
- version: 1.244.2
55
+ version: 1.244.3
59
56
  - type: brick
60
57
  brick: presentational-bricks.brick-alert-value
61
- version: 1.244.2
58
+ version: 1.244.3
62
59
  - type: brick
63
- brick: presentational-bricks.brick-display-structs
64
- version: 1.244.2
60
+ brick: presentational-bricks.brick-alert-level
61
+ version: 1.244.3
65
62
  - type: brick
66
- brick: presentational-bricks.brick-collection-instance-execution
67
- version: 1.244.2
63
+ brick: presentational-bricks.brick-display-structs
64
+ version: 1.244.3
68
65
  - type: brick
69
66
  brick: presentational-bricks.brick-conditional-display
70
- version: 1.244.2
67
+ version: 1.244.3
68
+ - type: brick
69
+ brick: presentational-bricks.brick-collection-instance-execution
70
+ version: 1.244.3
71
71
  - type: brick
72
72
  brick: presentational-bricks.brick-alert-number
73
- version: 1.244.2
73
+ version: 1.244.3
74
74
  - type: brick
75
75
  brick: presentational-bricks.brick-user
76
- version: 1.244.2
77
- - type: brick
78
- brick: presentational-bricks.brick-alert-status
79
- version: 1.244.2
76
+ version: 1.244.3
80
77
  - type: brick
81
78
  brick: presentational-bricks.cost-time
82
- version: 1.244.2
79
+ version: 1.244.3
83
80
  - type: brick
84
- brick: presentational-bricks.datetime-selector
85
- version: 1.244.2
81
+ brick: presentational-bricks.brick-alert-status
82
+ version: 1.244.3
86
83
  - type: brick
87
- brick: presentational-bricks.brick-alert
88
- version: 1.244.2
84
+ brick: presentational-bricks.datetime-selector
85
+ version: 1.244.3
89
86
  - type: brick
90
87
  brick: presentational-bricks.brick-result
91
- version: 1.244.2
88
+ version: 1.244.3
89
+ - type: brick
90
+ brick: presentational-bricks.brick-alert
91
+ version: 1.244.3
92
92
  - type: brick
93
93
  brick: presentational-bricks.dropdown-select
94
- version: 1.244.2
94
+ version: 1.244.3
95
95
  - type: brick
96
96
  brick: presentational-bricks.button-wrapper
97
- version: 1.244.2
97
+ version: 1.244.3
98
98
  - type: brick
99
99
  brick: presentational-bricks.general-list
100
- version: 1.244.2
101
- - type: brick
102
- brick: presentational-bricks.brick-quick-entries
103
- version: 1.244.2
100
+ version: 1.244.3
104
101
  - type: brick
105
102
  brick: presentational-bricks.single-field-edit
106
- version: 1.244.2
103
+ version: 1.244.3
104
+ - type: brick
105
+ brick: presentational-bricks.brick-quick-entries
106
+ version: 1.244.3
107
107
  - type: brick
108
108
  brick: presentational-bricks.collapsible-card-item
109
- version: 1.244.2
109
+ version: 1.244.3
110
110
  - type: brick
111
111
  brick: presentational-bricks.brick-placeholder
112
- version: 1.244.2
112
+ version: 1.244.3
113
113
  - type: brick
114
114
  brick: presentational-bricks.general-carousel
115
- version: 1.244.2
116
- - type: brick
117
- brick: presentational-bricks.dynamic-content
118
- version: 1.244.2
115
+ version: 1.244.3
119
116
  - type: brick
120
117
  brick: presentational-bricks.agent-status
121
- version: 1.244.2
118
+ version: 1.244.3
122
119
  - type: brick
123
- brick: presentational-bricks.entry-card-item
124
- version: 1.244.2
120
+ brick: presentational-bricks.dynamic-content
121
+ version: 1.244.3
125
122
  - type: brick
126
- brick: presentational-bricks.general-video
127
- version: 1.244.2
123
+ brick: presentational-bricks.entry-card-item
124
+ version: 1.244.3
128
125
  - type: brick
129
126
  brick: presentational-bricks.log-display
130
- version: 1.244.2
127
+ version: 1.244.3
131
128
  - type: brick
132
129
  brick: presentational-bricks.brick-divider
133
- version: 1.244.2
130
+ version: 1.244.3
131
+ - type: brick
132
+ brick: presentational-bricks.general-video
133
+ version: 1.244.3
134
134
  - type: brick
135
135
  brick: presentational-bricks.general-tooltip
136
- version: 1.244.2
136
+ version: 1.244.3
137
137
  - type: brick
138
138
  brick: presentational-bricks.general-label
139
- version: 1.244.2
139
+ version: 1.244.3
140
140
  - type: brick
141
141
  brick: presentational-bricks.general-transfer
142
- version: 1.244.2
142
+ version: 1.244.3
143
143
  - type: brick
144
144
  brick: presentational-bricks.basic-progress
145
- version: 1.244.2
146
- - type: brick
147
- brick: presentational-bricks.calendar
148
- version: 1.244.2
145
+ version: 1.244.3
149
146
  - type: brick
150
147
  brick: presentational-bricks.copyable-text
151
- version: 1.244.2
148
+ version: 1.244.3
152
149
  - type: brick
153
150
  brick: presentational-bricks.avatar-upload
154
- version: 1.244.2
151
+ version: 1.244.3
152
+ - type: brick
153
+ brick: presentational-bricks.calendar
154
+ version: 1.244.3
155
155
  - type: brick
156
156
  brick: presentational-bricks.general-badge
157
- version: 1.244.2
157
+ version: 1.244.3
158
158
  - type: brick
159
159
  brick: presentational-bricks.brick-illustration
160
- version: 1.244.2
160
+ version: 1.244.3
161
161
  - type: brick
162
162
  brick: presentational-bricks.brick-rate
163
- version: 1.244.2
163
+ version: 1.244.3
164
+ - type: brick
165
+ brick: presentational-bricks.dynamic-grid-container
166
+ version: 1.244.3
164
167
  - type: brick
165
168
  brick: presentational-bricks.general-image
166
- version: 1.244.2
169
+ version: 1.244.3
167
170
  - type: brick
168
171
  brick: presentational-bricks.info-display-card-list
169
- version: 1.244.2
170
- - type: brick
171
- brick: presentational-bricks.dynamic-grid-container
172
- version: 1.244.2
172
+ version: 1.244.3
173
173
  - type: brick
174
174
  brick: presentational-bricks.general-slider
175
- version: 1.244.2
176
- - type: brick
177
- brick: presentational-bricks.rank-table
178
- version: 1.244.2
175
+ version: 1.244.3
179
176
  - type: brick
180
177
  brick: presentational-bricks.dropdown-button
181
- version: 1.244.2
178
+ version: 1.244.3
179
+ - type: brick
180
+ brick: presentational-bricks.rank-table
181
+ version: 1.244.3
182
182
  - type: brick
183
183
  brick: presentational-bricks.basic-icon
184
- version: 1.244.2
184
+ version: 1.244.3
185
185
  - type: brick
186
186
  brick: presentational-bricks.text-collapse
187
- version: 1.244.2
187
+ version: 1.244.3
188
+ - type: brick
189
+ brick: presentational-bricks.crontab-display
190
+ version: 1.244.3
188
191
  - type: brick
189
192
  brick: presentational-bricks.code-editor
190
- version: 1.244.2
193
+ version: 1.244.3
191
194
  - type: brick
192
195
  brick: presentational-bricks.brick-code-display
193
- version: 1.244.2
196
+ version: 1.244.3
194
197
  - type: brick
195
198
  brick: presentational-bricks.card-item
196
- version: 1.244.2
197
- - type: brick
198
- brick: presentational-bricks.crontab-display
199
- version: 1.244.2
199
+ version: 1.244.3
200
200
  - type: brick
201
201
  brick: presentational-bricks.brick-collapse-card
202
- version: 1.244.2
203
- - type: brick
204
- brick: presentational-bricks.modal-confirm
205
- version: 1.244.2
202
+ version: 1.244.3
206
203
  - type: brick
207
204
  brick: presentational-bricks.brick-form
208
- version: 1.244.2
205
+ version: 1.244.3
209
206
  deps:
210
207
  - type: contract
211
208
  contract: easyops.api.cmdb.instance.PostSearch
@@ -213,16 +210,19 @@ contracts:
213
210
  - type: contract
214
211
  contract: easyops.api.object_store.object_store.PutObject
215
212
  version: '*'
213
+ - type: brick
214
+ brick: presentational-bricks.modal-confirm
215
+ version: 1.244.3
216
216
  - type: brick
217
217
  brick: presentational-bricks.markdown-display
218
- version: 1.244.2
218
+ version: 1.244.3
219
+ - type: brick
220
+ brick: presentational-bricks.statistic-card
221
+ version: 1.244.3
219
222
  - type: brick
220
223
  brick: presentational-bricks.markdown-editor
221
- version: 1.244.2
224
+ version: 1.244.3
222
225
  deps:
223
226
  - type: contract
224
227
  contract: easyops.api.object_store.object_store.PutObject
225
228
  version: '*'
226
- - type: brick
227
- brick: presentational-bricks.statistic-card
228
- version: 1.244.2
package/dist/bricks.json CHANGED
@@ -1,77 +1,77 @@
1
1
  {
2
2
  "bricks": [
3
3
  "presentational-bricks.general-iframe",
4
- "presentational-bricks.brick-tree",
5
4
  "presentational-bricks.brick-tag",
6
- "presentational-bricks.brick-descriptions",
7
5
  "presentational-bricks.brick-timeline",
6
+ "presentational-bricks.brick-descriptions",
7
+ "presentational-bricks.brick-tree",
8
8
  "presentational-bricks.brick-list",
9
9
  "presentational-bricks.brick-general-search",
10
- "presentational-bricks.brick-table",
11
10
  "presentational-bricks.brick-button",
12
11
  "presentational-bricks.brick-delete-confirm",
12
+ "presentational-bricks.brick-table",
13
13
  "presentational-bricks.brick-humanize-time",
14
14
  "presentational-bricks.general-pagination",
15
15
  "presentational-bricks.brick-link",
16
- "presentational-bricks.template-breadcrumb",
17
16
  "presentational-bricks.brick-input",
17
+ "presentational-bricks.template-breadcrumb",
18
18
  "presentational-bricks.brick-utils",
19
19
  "presentational-bricks.brick-value-mapping",
20
20
  "presentational-bricks.brick-cluster-type",
21
- "presentational-bricks.brick-alert-level",
22
21
  "presentational-bricks.brick-alert-value",
22
+ "presentational-bricks.brick-alert-level",
23
23
  "presentational-bricks.brick-display-structs",
24
- "presentational-bricks.brick-collection-instance-execution",
25
24
  "presentational-bricks.brick-conditional-display",
25
+ "presentational-bricks.brick-collection-instance-execution",
26
26
  "presentational-bricks.brick-alert-number",
27
27
  "presentational-bricks.brick-user",
28
- "presentational-bricks.brick-alert-status",
29
28
  "presentational-bricks.cost-time",
29
+ "presentational-bricks.brick-alert-status",
30
30
  "presentational-bricks.datetime-selector",
31
- "presentational-bricks.brick-alert",
32
31
  "presentational-bricks.brick-result",
32
+ "presentational-bricks.brick-alert",
33
33
  "presentational-bricks.dropdown-select",
34
34
  "presentational-bricks.button-wrapper",
35
35
  "presentational-bricks.general-list",
36
- "presentational-bricks.brick-quick-entries",
37
36
  "presentational-bricks.single-field-edit",
37
+ "presentational-bricks.brick-quick-entries",
38
38
  "presentational-bricks.collapsible-card-item",
39
39
  "presentational-bricks.brick-placeholder",
40
40
  "presentational-bricks.general-carousel",
41
- "presentational-bricks.dynamic-content",
42
41
  "presentational-bricks.agent-status",
42
+ "presentational-bricks.dynamic-content",
43
43
  "presentational-bricks.entry-card-item",
44
- "presentational-bricks.general-video",
45
44
  "presentational-bricks.log-display",
46
45
  "presentational-bricks.brick-divider",
46
+ "presentational-bricks.general-video",
47
47
  "presentational-bricks.general-tooltip",
48
48
  "presentational-bricks.general-label",
49
49
  "presentational-bricks.general-transfer",
50
50
  "presentational-bricks.basic-progress",
51
- "presentational-bricks.calendar",
52
51
  "presentational-bricks.copyable-text",
53
52
  "presentational-bricks.avatar-upload",
53
+ "presentational-bricks.calendar",
54
54
  "presentational-bricks.general-badge",
55
55
  "presentational-bricks.brick-illustration",
56
56
  "presentational-bricks.brick-rate",
57
+ "presentational-bricks.dynamic-grid-container",
57
58
  "presentational-bricks.general-image",
58
59
  "presentational-bricks.info-display-card-list",
59
- "presentational-bricks.dynamic-grid-container",
60
60
  "presentational-bricks.general-slider",
61
- "presentational-bricks.rank-table",
62
61
  "presentational-bricks.dropdown-button",
62
+ "presentational-bricks.rank-table",
63
63
  "presentational-bricks.basic-icon",
64
64
  "presentational-bricks.text-collapse",
65
+ "presentational-bricks.crontab-display",
65
66
  "presentational-bricks.code-editor",
66
67
  "presentational-bricks.brick-code-display",
67
68
  "presentational-bricks.card-item",
68
- "presentational-bricks.crontab-display",
69
69
  "presentational-bricks.brick-collapse-card",
70
- "presentational-bricks.modal-confirm",
71
70
  "presentational-bricks.brick-form",
71
+ "presentational-bricks.modal-confirm",
72
72
  "presentational-bricks.markdown-display",
73
- "presentational-bricks.markdown-editor",
74
- "presentational-bricks.statistic-card"
73
+ "presentational-bricks.statistic-card",
74
+ "presentational-bricks.markdown-editor"
75
75
  ],
76
76
  "processors": [
77
77
  "presentationalBricks.flattenTreeDataListAndCalcRowSpan"
@@ -83,14 +83,14 @@
83
83
  ],
84
84
  "filePath": "bricks/presentational-bricks/dist/index.fada8309.js",
85
85
  "editors": [
86
- "presentational-bricks.brick-link--editor",
87
- "presentational-bricks.brick-table--editor",
88
86
  "presentational-bricks.brick-quick-entries--editor",
89
87
  "presentational-bricks.statistic-card--editor",
90
- "presentational-bricks.brick-alert--editor",
88
+ "presentational-bricks.brick-table--editor",
89
+ "presentational-bricks.brick-link--editor",
91
90
  "presentational-bricks.brick-result--editor",
92
- "presentational-bricks.brick-descriptions--editor",
93
- "presentational-bricks.brick-tree--editor"
91
+ "presentational-bricks.brick-tree--editor",
92
+ "presentational-bricks.brick-alert--editor",
93
+ "presentational-bricks.brick-descriptions--editor"
94
94
  ],
95
95
  "editorsJsFilePath": "bricks/presentational-bricks/dist/editors/editors.38198ded.js"
96
96
  }
package/dist/stories.json CHANGED
@@ -9516,136 +9516,6 @@
9516
9516
  "icon": "clock"
9517
9517
  },
9518
9518
  "conf": [
9519
- {
9520
- "brick": "presentational-bricks.card-item",
9521
- "description": {
9522
- "title": "卡片布局为 `icon-as-background` 类型,icon 作为背景。",
9523
- "message": "可以配置 `operate`,`topRightOperate` 等操作区的插槽。icon 默认在右下角,可以自行调整 icon 大小-`iconSize`,icon 位置偏移量-`iconOffsetX`/`iconOffsetX`,icon 透明度-`iconOpacity` 等。适用场景:不需要用户凭借右下角图标来区分不同类型卡片,图标常作为装饰来丰富卡片样式存在。"
9524
- },
9525
- "properties": {
9526
- "cardLayoutType": "icon-as-background",
9527
- "dataSource": {
9528
- "descriptionList": [
9529
- "Deployment 工作模式",
9530
- "1 个负载均衡器",
9531
- "啦啦"
9532
- ],
9533
- "id": "1",
9534
- "name": "k8s"
9535
- },
9536
- "fields": {
9537
- "cardTitle": "name",
9538
- "descriptionList": "descriptionList"
9539
- },
9540
- "icon": {
9541
- "category": "app",
9542
- "icon": "k8s",
9543
- "lib": "easyops"
9544
- },
9545
- "iconOffsetX": "-20px",
9546
- "iconOffsetY": "-20px",
9547
- "iconSize": "120px",
9548
- "style": {
9549
- "width": "300px"
9550
- },
9551
- "urlTemplate": "/#{id}"
9552
- },
9553
- "slots": {
9554
- "afterTitle": {
9555
- "bricks": [
9556
- {
9557
- "brick": "presentational-bricks.brick-value-mapping",
9558
- "properties": {
9559
- "mapping": {
9560
- "failed": {
9561
- "color": "red-inverse",
9562
- "text": "失败"
9563
- },
9564
- "success": {
9565
- "color": "green-inverse",
9566
- "text": "正常"
9567
- },
9568
- "warning": {
9569
- "color": "orange-inverse",
9570
- "text": "异常"
9571
- }
9572
- },
9573
- "value": "success"
9574
- }
9575
- }
9576
- ],
9577
- "type": "bricks"
9578
- },
9579
- "operate": {
9580
- "bricks": [
9581
- {
9582
- "brick": "basic-bricks.general-button",
9583
- "events": {
9584
- "general.button.click": {
9585
- "action": "console.log"
9586
- }
9587
- },
9588
- "properties": {
9589
- "buttonName": "主按钮",
9590
- "buttonShape": "round",
9591
- "buttonSize": "small",
9592
- "buttonType": "primary"
9593
- }
9594
- },
9595
- {
9596
- "brick": "basic-bricks.general-button",
9597
- "events": {
9598
- "general.button.click": {
9599
- "action": "console.log"
9600
- }
9601
- },
9602
- "properties": {
9603
- "buttonName": "次按钮",
9604
- "buttonShape": "round",
9605
- "buttonSize": "small",
9606
- "buttonType": "link"
9607
- }
9608
- }
9609
- ],
9610
- "type": "bricks"
9611
- },
9612
- "topRightOperate": {
9613
- "bricks": [
9614
- {
9615
- "brick": "basic-bricks.general-custom-buttons",
9616
- "events": {
9617
- "instance.delete": {
9618
- "action": "console.log"
9619
- },
9620
- "instance.set.default": {
9621
- "action": "console.log"
9622
- }
9623
- },
9624
- "properties": {
9625
- "customButtons": [
9626
- {
9627
- "eventName": "instance.set.default",
9628
- "icon": "setting",
9629
- "isDropdown": true,
9630
- "text": "设为默认"
9631
- },
9632
- {
9633
- "color": "#E02020",
9634
- "eventName": "instance.delete",
9635
- "icon": "delete",
9636
- "isDropdown": true,
9637
- "text": "删除"
9638
- }
9639
- ],
9640
- "isMoreButton": true,
9641
- "moreButtonShape": "no"
9642
- }
9643
- }
9644
- ],
9645
- "type": "bricks"
9646
- }
9647
- }
9648
- },
9649
9519
  {
9650
9520
  "brick": "presentational-bricks.card-item",
9651
9521
  "description": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.244.2",
3
+ "version": "1.244.3",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
6
6
  "license": "GPL-3.0",
@@ -55,5 +55,5 @@
55
55
  "@next-dll/ace": "*",
56
56
  "@next-dll/react-dnd": "*"
57
57
  },
58
- "gitHead": "bee90ec40703a88f86461d7d24dcf94df33fbe9b"
58
+ "gitHead": "65129ddee70cfefc72acb0494b6d11c2dd6ae9d7"
59
59
  }