@next-core/brick-kit 2.117.3 → 2.117.4
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 +12 -0
- package/dist/index.bundle.js +8 -2
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +8 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/Kernel.d.ts.map +1 -1
- package/dist/types/core/LocationContext.d.ts.map +1 -1
- package/dist/types/core/Router.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.117.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.117.3...@next-core/brick-kit@2.117.4) (2022-04-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* bg bricks should have no slot ([0c93d41](https://github.com/easyops-cn/next-core/commit/0c93d417da911b5b7d012d81f73bdeeadbf4f9d2))
|
|
12
|
+
* no menu for template preview ([6f5ed88](https://github.com/easyops-cn/next-core/commit/6f5ed88002f61f105a6e2ab87481ffab2bbb0616))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.117.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.117.2...@next-core/brick-kit@2.117.3) (2022-04-08)
|
|
7
19
|
|
|
8
20
|
|
package/dist/index.bundle.js
CHANGED
|
@@ -8006,7 +8006,9 @@
|
|
|
8006
8006
|
path: previewPath,
|
|
8007
8007
|
bricks: [_objectSpread__default["default"]({
|
|
8008
8008
|
brick: templateId
|
|
8009
|
-
}, lodash.pick(settings, "properties"))]
|
|
8009
|
+
}, lodash.pick(settings, "properties"))],
|
|
8010
|
+
menu: false,
|
|
8011
|
+
exact: true
|
|
8010
8012
|
};
|
|
8011
8013
|
|
|
8012
8014
|
if (previewRouteIndex === -1) {
|
|
@@ -9230,6 +9232,8 @@
|
|
|
9230
9232
|
}
|
|
9231
9233
|
|
|
9232
9234
|
if (expandedBrickConf.bg) {
|
|
9235
|
+
// A bg brick has no slotId.
|
|
9236
|
+
brick.slotId = undefined;
|
|
9233
9237
|
appendBrick(brick, _this6.kernel.mountPoints.bg);
|
|
9234
9238
|
} else {
|
|
9235
9239
|
if (expandedBrickConf.portal) {
|
|
@@ -10167,7 +10171,9 @@
|
|
|
10167
10171
|
path: "${APP.homepage}/_dev_only_/template-preview/:templateId",
|
|
10168
10172
|
bricks: [{
|
|
10169
10173
|
brick: "span"
|
|
10170
|
-
}]
|
|
10174
|
+
}],
|
|
10175
|
+
menu: false,
|
|
10176
|
+
exact: true
|
|
10171
10177
|
}), undefined, mountRoutesResult);
|
|
10172
10178
|
} catch (error) {
|
|
10173
10179
|
// eslint-disable-next-line no-console
|