@next-bricks/presentational-bricks 1.264.0 → 1.264.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.264.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.264.0...@next-bricks/presentational-bricks@1.264.1) (2022-08-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix menu css and dom ([19ca0db](https://github.com/easyops-cn/next-basics/commit/19ca0db44ccb3d128a0dc2b8c4c157440a7679ee))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.264.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.263.0...@next-bricks/presentational-bricks@1.264.0) (2022-08-31)
7
18
 
8
19
 
@@ -1,214 +1,211 @@
1
1
  contracts:
2
2
  - type: brick
3
- brick: presentational-bricks.brick-timeline
4
- version: 1.264.0
3
+ brick: presentational-bricks.general-iframe
4
+ version: 1.264.1
5
5
  - type: brick
6
6
  brick: presentational-bricks.brick-descriptions
7
- version: 1.264.0
7
+ version: 1.264.1
8
8
  - type: brick
9
9
  brick: presentational-bricks.brick-tag
10
- version: 1.264.0
10
+ version: 1.264.1
11
11
  - type: brick
12
- brick: presentational-bricks.general-iframe
13
- version: 1.264.0
12
+ brick: presentational-bricks.brick-timeline
13
+ version: 1.264.1
14
14
  - type: brick
15
15
  brick: presentational-bricks.brick-tree
16
- version: 1.264.0
16
+ version: 1.264.1
17
17
  - type: brick
18
- brick: presentational-bricks.brick-general-search
19
- version: 1.264.0
18
+ brick: presentational-bricks.brick-list
19
+ version: 1.264.1
20
20
  - type: brick
21
21
  brick: presentational-bricks.brick-button
22
- version: 1.264.0
22
+ version: 1.264.1
23
23
  - type: brick
24
- brick: presentational-bricks.brick-list
25
- version: 1.264.0
24
+ brick: presentational-bricks.brick-general-search
25
+ version: 1.264.1
26
+ - type: brick
27
+ brick: presentational-bricks.brick-delete-confirm
28
+ version: 1.264.1
26
29
  - type: brick
27
30
  brick: presentational-bricks.brick-table
28
- version: 1.264.0
31
+ version: 1.264.1
29
32
  - type: brick
30
33
  brick: presentational-bricks.brick-link
31
- version: 1.264.0
32
- - type: brick
33
- brick: presentational-bricks.brick-humanize-time
34
- version: 1.264.0
34
+ version: 1.264.1
35
35
  - type: brick
36
36
  brick: presentational-bricks.general-pagination
37
- version: 1.264.0
37
+ version: 1.264.1
38
38
  - type: brick
39
- brick: presentational-bricks.brick-delete-confirm
40
- version: 1.264.0
41
- - type: brick
42
- brick: presentational-bricks.template-breadcrumb
43
- version: 1.264.0
39
+ brick: presentational-bricks.brick-humanize-time
40
+ version: 1.264.1
44
41
  - type: brick
45
42
  brick: presentational-bricks.brick-input
46
- version: 1.264.0
43
+ version: 1.264.1
47
44
  - type: brick
48
- brick: presentational-bricks.brick-utils
49
- version: 1.264.0
45
+ brick: presentational-bricks.template-breadcrumb
46
+ version: 1.264.1
50
47
  - type: brick
51
- brick: presentational-bricks.brick-value-mapping
52
- version: 1.264.0
48
+ brick: presentational-bricks.brick-utils
49
+ version: 1.264.1
53
50
  - type: brick
54
51
  brick: presentational-bricks.brick-cluster-type
55
- version: 1.264.0
56
- - type: brick
57
- brick: presentational-bricks.brick-alert-value
58
- version: 1.264.0
52
+ version: 1.264.1
59
53
  - type: brick
60
54
  brick: presentational-bricks.brick-alert-level
61
- version: 1.264.0
55
+ version: 1.264.1
56
+ - type: brick
57
+ brick: presentational-bricks.brick-value-mapping
58
+ version: 1.264.1
62
59
  - type: brick
63
60
  brick: presentational-bricks.brick-display-structs
64
- version: 1.264.0
61
+ version: 1.264.1
65
62
  - type: brick
66
- brick: presentational-bricks.brick-user
67
- version: 1.264.0
63
+ brick: presentational-bricks.brick-alert-value
64
+ version: 1.264.1
65
+ - type: brick
66
+ brick: presentational-bricks.brick-conditional-display
67
+ version: 1.264.1
68
68
  - type: brick
69
69
  brick: presentational-bricks.brick-collection-instance-execution
70
- version: 1.264.0
70
+ version: 1.264.1
71
71
  - type: brick
72
- brick: presentational-bricks.brick-alert-number
73
- version: 1.264.0
72
+ brick: presentational-bricks.brick-user
73
+ version: 1.264.1
74
74
  - type: brick
75
- brick: presentational-bricks.brick-conditional-display
76
- version: 1.264.0
75
+ brick: presentational-bricks.brick-alert-number
76
+ version: 1.264.1
77
77
  - type: brick
78
78
  brick: presentational-bricks.cost-time
79
- version: 1.264.0
79
+ version: 1.264.1
80
80
  - type: brick
81
81
  brick: presentational-bricks.brick-alert-status
82
- version: 1.264.0
82
+ version: 1.264.1
83
83
  - type: brick
84
84
  brick: presentational-bricks.datetime-selector
85
- version: 1.264.0
86
- - type: brick
87
- brick: presentational-bricks.brick-alert
88
- version: 1.264.0
85
+ version: 1.264.1
89
86
  - type: brick
90
87
  brick: presentational-bricks.brick-result
91
- version: 1.264.0
88
+ version: 1.264.1
89
+ - type: brick
90
+ brick: presentational-bricks.brick-alert
91
+ version: 1.264.1
92
92
  - type: brick
93
93
  brick: presentational-bricks.dropdown-select
94
- version: 1.264.0
94
+ version: 1.264.1
95
95
  - type: brick
96
96
  brick: presentational-bricks.button-wrapper
97
- version: 1.264.0
98
- - type: brick
99
- brick: presentational-bricks.brick-quick-entries
100
- version: 1.264.0
101
- - type: brick
102
- brick: presentational-bricks.general-list
103
- version: 1.264.0
97
+ version: 1.264.1
104
98
  - type: brick
105
99
  brick: presentational-bricks.collapsible-card-item
106
- version: 1.264.0
100
+ version: 1.264.1
107
101
  - type: brick
108
- brick: presentational-bricks.brick-placeholder
109
- version: 1.264.0
102
+ brick: presentational-bricks.brick-quick-entries
103
+ version: 1.264.1
110
104
  - type: brick
111
105
  brick: presentational-bricks.single-field-edit
112
- version: 1.264.0
106
+ version: 1.264.1
107
+ - type: brick
108
+ brick: presentational-bricks.general-list
109
+ version: 1.264.1
113
110
  - type: brick
114
111
  brick: presentational-bricks.general-carousel
115
- version: 1.264.0
112
+ version: 1.264.1
116
113
  - type: brick
117
- brick: presentational-bricks.agent-status
118
- version: 1.264.0
114
+ brick: presentational-bricks.brick-placeholder
115
+ version: 1.264.1
119
116
  - type: brick
120
- brick: presentational-bricks.dynamic-content
121
- version: 1.264.0
117
+ brick: presentational-bricks.agent-status
118
+ version: 1.264.1
122
119
  - type: brick
123
120
  brick: presentational-bricks.entry-card-item
124
- version: 1.264.0
121
+ version: 1.264.1
125
122
  - type: brick
126
- brick: presentational-bricks.log-display
127
- version: 1.264.0
123
+ brick: presentational-bricks.dynamic-content
124
+ version: 1.264.1
128
125
  - type: brick
129
126
  brick: presentational-bricks.general-video
130
- version: 1.264.0
127
+ version: 1.264.1
131
128
  - type: brick
132
- brick: presentational-bricks.brick-divider
133
- version: 1.264.0
134
- - type: brick
135
- brick: presentational-bricks.general-label
136
- version: 1.264.0
129
+ brick: presentational-bricks.log-display
130
+ version: 1.264.1
137
131
  - type: brick
138
132
  brick: presentational-bricks.general-tooltip
139
- version: 1.264.0
133
+ version: 1.264.1
140
134
  - type: brick
141
135
  brick: presentational-bricks.general-transfer
142
- version: 1.264.0
136
+ version: 1.264.1
143
137
  - type: brick
144
- brick: presentational-bricks.basic-progress
145
- version: 1.264.0
138
+ brick: presentational-bricks.brick-divider
139
+ version: 1.264.1
146
140
  - type: brick
147
- brick: presentational-bricks.copyable-text
148
- version: 1.264.0
141
+ brick: presentational-bricks.general-label
142
+ version: 1.264.1
143
+ - type: brick
144
+ brick: presentational-bricks.basic-progress
145
+ version: 1.264.1
149
146
  - type: brick
150
147
  brick: presentational-bricks.calendar
151
- version: 1.264.0
148
+ version: 1.264.1
152
149
  - type: brick
153
150
  brick: presentational-bricks.general-badge
154
- version: 1.264.0
151
+ version: 1.264.1
155
152
  - type: brick
156
153
  brick: presentational-bricks.avatar-upload
157
- version: 1.264.0
154
+ version: 1.264.1
155
+ - type: brick
156
+ brick: presentational-bricks.copyable-text
157
+ version: 1.264.1
158
158
  - type: brick
159
159
  brick: presentational-bricks.brick-illustration
160
- version: 1.264.0
160
+ version: 1.264.1
161
161
  - type: brick
162
- brick: presentational-bricks.general-image
163
- version: 1.264.0
162
+ brick: presentational-bricks.brick-rate
163
+ version: 1.264.1
164
164
  - type: brick
165
165
  brick: presentational-bricks.dynamic-grid-container
166
- version: 1.264.0
166
+ version: 1.264.1
167
167
  - type: brick
168
168
  brick: presentational-bricks.info-display-card-list
169
- version: 1.264.0
169
+ version: 1.264.1
170
170
  - type: brick
171
- brick: presentational-bricks.brick-rate
172
- version: 1.264.0
171
+ brick: presentational-bricks.general-image
172
+ version: 1.264.1
173
173
  - type: brick
174
- brick: presentational-bricks.general-slider
175
- version: 1.264.0
174
+ brick: presentational-bricks.dropdown-button
175
+ version: 1.264.1
176
176
  - type: brick
177
177
  brick: presentational-bricks.rank-table
178
- version: 1.264.0
178
+ version: 1.264.1
179
179
  - type: brick
180
180
  brick: presentational-bricks.basic-icon
181
- version: 1.264.0
182
- - type: brick
183
- brick: presentational-bricks.dropdown-button
184
- version: 1.264.0
181
+ version: 1.264.1
185
182
  - type: brick
186
- brick: presentational-bricks.text-collapse
187
- version: 1.264.0
183
+ brick: presentational-bricks.general-slider
184
+ version: 1.264.1
188
185
  - type: brick
189
186
  brick: presentational-bricks.table-transfer
190
- version: 1.264.0
187
+ version: 1.264.1
191
188
  - type: brick
192
- brick: presentational-bricks.code-editor
193
- version: 1.264.0
189
+ brick: presentational-bricks.text-collapse
190
+ version: 1.264.1
194
191
  - type: brick
195
192
  brick: presentational-bricks.crontab-display
196
- version: 1.264.0
193
+ version: 1.264.1
194
+ - type: brick
195
+ brick: presentational-bricks.code-editor
196
+ version: 1.264.1
197
197
  - type: brick
198
198
  brick: presentational-bricks.brick-code-display
199
- version: 1.264.0
199
+ version: 1.264.1
200
200
  - type: brick
201
201
  brick: presentational-bricks.card-item
202
- version: 1.264.0
202
+ version: 1.264.1
203
203
  - type: brick
204
204
  brick: presentational-bricks.brick-collapse-card
205
- version: 1.264.0
206
- - type: brick
207
- brick: presentational-bricks.statistic-card
208
- version: 1.264.0
205
+ version: 1.264.1
209
206
  - type: brick
210
207
  brick: presentational-bricks.brick-form
211
- version: 1.264.0
208
+ version: 1.264.1
212
209
  deps:
213
210
  - type: contract
214
211
  contract: easyops.api.cmdb.instance.PostSearch
@@ -218,13 +215,16 @@ contracts:
218
215
  version: '*'
219
216
  - type: brick
220
217
  brick: presentational-bricks.markdown-display
221
- version: 1.264.0
218
+ version: 1.264.1
219
+ - type: brick
220
+ brick: presentational-bricks.statistic-card
221
+ version: 1.264.1
222
222
  - type: brick
223
223
  brick: presentational-bricks.modal-confirm
224
- version: 1.264.0
224
+ version: 1.264.1
225
225
  - type: brick
226
226
  brick: presentational-bricks.markdown-editor
227
- version: 1.264.0
227
+ version: 1.264.1
228
228
  deps:
229
229
  - type: contract
230
230
  contract: easyops.api.object_store.object_store.PutObject
package/dist/bricks.json CHANGED
@@ -1,76 +1,76 @@
1
1
  {
2
2
  "bricks": [
3
- "presentational-bricks.brick-timeline",
3
+ "presentational-bricks.general-iframe",
4
4
  "presentational-bricks.brick-descriptions",
5
5
  "presentational-bricks.brick-tag",
6
- "presentational-bricks.general-iframe",
6
+ "presentational-bricks.brick-timeline",
7
7
  "presentational-bricks.brick-tree",
8
- "presentational-bricks.brick-general-search",
9
- "presentational-bricks.brick-button",
10
8
  "presentational-bricks.brick-list",
9
+ "presentational-bricks.brick-button",
10
+ "presentational-bricks.brick-general-search",
11
+ "presentational-bricks.brick-delete-confirm",
11
12
  "presentational-bricks.brick-table",
12
13
  "presentational-bricks.brick-link",
13
- "presentational-bricks.brick-humanize-time",
14
14
  "presentational-bricks.general-pagination",
15
- "presentational-bricks.brick-delete-confirm",
16
- "presentational-bricks.template-breadcrumb",
15
+ "presentational-bricks.brick-humanize-time",
17
16
  "presentational-bricks.brick-input",
17
+ "presentational-bricks.template-breadcrumb",
18
18
  "presentational-bricks.brick-utils",
19
- "presentational-bricks.brick-value-mapping",
20
19
  "presentational-bricks.brick-cluster-type",
21
- "presentational-bricks.brick-alert-value",
22
20
  "presentational-bricks.brick-alert-level",
21
+ "presentational-bricks.brick-value-mapping",
23
22
  "presentational-bricks.brick-display-structs",
24
- "presentational-bricks.brick-user",
23
+ "presentational-bricks.brick-alert-value",
24
+ "presentational-bricks.brick-conditional-display",
25
25
  "presentational-bricks.brick-collection-instance-execution",
26
+ "presentational-bricks.brick-user",
26
27
  "presentational-bricks.brick-alert-number",
27
- "presentational-bricks.brick-conditional-display",
28
28
  "presentational-bricks.cost-time",
29
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
- "presentational-bricks.brick-quick-entries",
36
- "presentational-bricks.general-list",
37
35
  "presentational-bricks.collapsible-card-item",
38
- "presentational-bricks.brick-placeholder",
36
+ "presentational-bricks.brick-quick-entries",
39
37
  "presentational-bricks.single-field-edit",
38
+ "presentational-bricks.general-list",
40
39
  "presentational-bricks.general-carousel",
40
+ "presentational-bricks.brick-placeholder",
41
41
  "presentational-bricks.agent-status",
42
- "presentational-bricks.dynamic-content",
43
42
  "presentational-bricks.entry-card-item",
44
- "presentational-bricks.log-display",
43
+ "presentational-bricks.dynamic-content",
45
44
  "presentational-bricks.general-video",
46
- "presentational-bricks.brick-divider",
47
- "presentational-bricks.general-label",
45
+ "presentational-bricks.log-display",
48
46
  "presentational-bricks.general-tooltip",
49
47
  "presentational-bricks.general-transfer",
48
+ "presentational-bricks.brick-divider",
49
+ "presentational-bricks.general-label",
50
50
  "presentational-bricks.basic-progress",
51
- "presentational-bricks.copyable-text",
52
51
  "presentational-bricks.calendar",
53
52
  "presentational-bricks.general-badge",
54
53
  "presentational-bricks.avatar-upload",
54
+ "presentational-bricks.copyable-text",
55
55
  "presentational-bricks.brick-illustration",
56
- "presentational-bricks.general-image",
56
+ "presentational-bricks.brick-rate",
57
57
  "presentational-bricks.dynamic-grid-container",
58
58
  "presentational-bricks.info-display-card-list",
59
- "presentational-bricks.brick-rate",
60
- "presentational-bricks.general-slider",
59
+ "presentational-bricks.general-image",
60
+ "presentational-bricks.dropdown-button",
61
61
  "presentational-bricks.rank-table",
62
62
  "presentational-bricks.basic-icon",
63
- "presentational-bricks.dropdown-button",
64
- "presentational-bricks.text-collapse",
63
+ "presentational-bricks.general-slider",
65
64
  "presentational-bricks.table-transfer",
66
- "presentational-bricks.code-editor",
65
+ "presentational-bricks.text-collapse",
67
66
  "presentational-bricks.crontab-display",
67
+ "presentational-bricks.code-editor",
68
68
  "presentational-bricks.brick-code-display",
69
69
  "presentational-bricks.card-item",
70
70
  "presentational-bricks.brick-collapse-card",
71
- "presentational-bricks.statistic-card",
72
71
  "presentational-bricks.brick-form",
73
72
  "presentational-bricks.markdown-display",
73
+ "presentational-bricks.statistic-card",
74
74
  "presentational-bricks.modal-confirm",
75
75
  "presentational-bricks.markdown-editor"
76
76
  ],
@@ -84,13 +84,13 @@
84
84
  ],
85
85
  "filePath": "bricks/presentational-bricks/dist/index.6eb15a69.js",
86
86
  "editors": [
87
+ "presentational-bricks.brick-link--editor",
87
88
  "presentational-bricks.brick-table--editor",
88
- "presentational-bricks.statistic-card--editor",
89
89
  "presentational-bricks.brick-quick-entries--editor",
90
- "presentational-bricks.brick-link--editor",
91
- "presentational-bricks.brick-descriptions--editor",
92
- "presentational-bricks.brick-alert--editor",
90
+ "presentational-bricks.statistic-card--editor",
93
91
  "presentational-bricks.brick-result--editor",
92
+ "presentational-bricks.brick-alert--editor",
93
+ "presentational-bricks.brick-descriptions--editor",
94
94
  "presentational-bricks.brick-tree--editor"
95
95
  ],
96
96
  "editorsJsFilePath": "bricks/presentational-bricks/dist/editors/editors.0025c20e.js"
package/dist/stories.json CHANGED
@@ -5667,23 +5667,54 @@
5667
5667
  "title": "操作",
5668
5668
  "key": "operate",
5669
5669
  "dataIndex": "operate",
5670
- "useBrick": {
5671
- "brick": "presentational-bricks.brick-link",
5672
- "properties": {
5673
- "dataSource": "<% DATA.rowData %>",
5674
- "notToJumpWhenEmpty": true,
5675
- "icon": {
5676
- "lib": "fa",
5677
- "icon": "tools",
5678
- "prefix": "fas"
5670
+ "useBrick": [
5671
+ {
5672
+ "brick": "presentational-bricks.brick-link",
5673
+ "properties": {
5674
+ "dataSource": "<% DATA.rowData %>",
5675
+ "notToJumpWhenEmpty": true,
5676
+ "label": "查看"
5677
+ },
5678
+ "events": {
5679
+ "link.click": {
5680
+ "action": "console.log"
5681
+ }
5679
5682
  }
5680
5683
  },
5681
- "events": {
5682
- "link.click": {
5683
- "action": "console.log"
5684
+ {
5685
+ "brick": "presentational-bricks.brick-link",
5686
+ "properties": {
5687
+ "dataSource": "<% DATA.rowData %>",
5688
+ "notToJumpWhenEmpty": true,
5689
+ "label": "订阅警报",
5690
+ "style": {
5691
+ "marginLeft": "8px"
5692
+ }
5693
+ },
5694
+ "events": {
5695
+ "link.click": {
5696
+ "action": "console.log"
5697
+ }
5698
+ }
5699
+ },
5700
+ {
5701
+ "brick": "presentational-bricks.brick-link",
5702
+ "properties": {
5703
+ "dataSource": "<% DATA.rowData %>",
5704
+ "notToJumpWhenEmpty": true,
5705
+ "label": "删除",
5706
+ "labelColor": "red",
5707
+ "style": {
5708
+ "marginLeft": "8px"
5709
+ }
5710
+ },
5711
+ "events": {
5712
+ "link.click": {
5713
+ "action": "console.log"
5714
+ }
5684
5715
  }
5685
5716
  }
5686
- }
5717
+ ]
5687
5718
  }
5688
5719
  ],
5689
5720
  "defaultExpandAllRows": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.264.0",
3
+ "version": "1.264.1",
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": "539b3dc44a560c7a6f37b75a109126461410abcc"
58
+ "gitHead": "50c26845fbf333e445055c4d1a25f7e9291048e0"
59
59
  }