@next-core/brick-kit 2.105.1 → 2.106.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.
- package/CHANGELOG.md +11 -0
- package/dist/index.bundle.js +16 -1
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +16 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/BrickAsComponent.d.ts.map +1 -1
- package/dist/types/core/BrickNode.d.ts +1 -0
- package/dist/types/core/BrickNode.d.ts.map +1 -1
- package/dist/types/core/LocationContext.d.ts.map +1 -1
- package/package.json +6 -6
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
|
+
# [2.106.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.105.1...@next-core/brick-kit@2.106.0) (2022-02-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* record brick instance id in storyboard for development ([9d1193e](https://github.com/easyops-cn/next-core/commit/9d1193e11cf5cd35d10d36afe4f07a52a7f7841a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.105.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.105.0...@next-core/brick-kit@2.105.1) (2022-02-17)
|
|
7
18
|
|
|
8
19
|
|
package/dist/index.bundle.js
CHANGED
|
@@ -6320,6 +6320,10 @@
|
|
|
6320
6320
|
node.setAttribute("slot", brick.slotId);
|
|
6321
6321
|
}
|
|
6322
6322
|
|
|
6323
|
+
if (brick.iid) {
|
|
6324
|
+
node.dataset.iid = brick.iid;
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6323
6327
|
setRealProperties(node, brick.properties);
|
|
6324
6328
|
bindListeners(node, brick.events, brick.context);
|
|
6325
6329
|
|
|
@@ -8909,7 +8913,8 @@
|
|
|
8909
8913
|
children: [],
|
|
8910
8914
|
slotId,
|
|
8911
8915
|
refForProxy: brickConf[symbolForRefForProxy],
|
|
8912
|
-
tplContextId
|
|
8916
|
+
tplContextId,
|
|
8917
|
+
iid: brickConf.iid
|
|
8913
8918
|
});
|
|
8914
8919
|
|
|
8915
8920
|
if (brickConf[symbolForComputedPropsFromProxy]) {
|
|
@@ -11334,6 +11339,11 @@
|
|
|
11334
11339
|
var {
|
|
11335
11340
|
[symbolForTplContextId]: tplContextId
|
|
11336
11341
|
} = useBrick;
|
|
11342
|
+
|
|
11343
|
+
if (useBrick.iid) {
|
|
11344
|
+
element.dataset.iid = useBrick.iid;
|
|
11345
|
+
}
|
|
11346
|
+
|
|
11337
11347
|
setRealProperties(element, brick.properties);
|
|
11338
11348
|
unbindListeners(element);
|
|
11339
11349
|
|
|
@@ -11532,6 +11542,11 @@
|
|
|
11532
11542
|
var {
|
|
11533
11543
|
[symbolForTplContextId]: tplContextId
|
|
11534
11544
|
} = useBrick;
|
|
11545
|
+
|
|
11546
|
+
if (useBrick.iid) {
|
|
11547
|
+
element.dataset.iid = useBrick.iid;
|
|
11548
|
+
}
|
|
11549
|
+
|
|
11535
11550
|
setRealProperties(element, brick.properties);
|
|
11536
11551
|
unbindListeners(element);
|
|
11537
11552
|
|