@blocklet/launcher-layout 2.1.88 → 2.1.90

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/lib/header.js CHANGED
@@ -150,8 +150,14 @@ function AppTitle(_ref4) {
150
150
  } = _ref4;
151
151
  const name = (0, _launcherUtil.getBlockletDisplayName)(blockletMeta);
152
152
  if (loading) {
153
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(AppIconSkeleton, {
154
- blockletSize: blockletSize
153
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.default, {
154
+ variant: "rectangular",
155
+ width: 100,
156
+ height: 16,
157
+ alt: "icon",
158
+ style: {
159
+ marginTop: 4
160
+ }
155
161
  });
156
162
  }
157
163
  if ((0, _isEmpty.default)(blockletMeta)) {
package/lib/index.js CHANGED
@@ -52,7 +52,7 @@ const theme = (0, _Theme.create)({
52
52
  });
53
53
  function Layout(_ref) {
54
54
  let {
55
- blockletMeta,
55
+ blockletMeta: tmpBlockletMeta,
56
56
  loading,
57
57
  children,
58
58
  logoUrl,
@@ -74,6 +74,7 @@ function Layout(_ref) {
74
74
  activeStep,
75
75
  totalStepsCount
76
76
  } = (0, _step.useStepContext)();
77
+ const blockletMeta = tmpBlockletMeta || {};
77
78
  const Container = isMobile ? MobileContent : PcContent;
78
79
  const translations = (0, _locale.getTranslations)(locale);
79
80
  if (navLogo && ! /*#__PURE__*/(0, _react2.isValidElement)(navLogo) && (0, _isObject.default)(navLogo)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-layout",
3
- "version": "2.1.88",
3
+ "version": "2.1.90",
4
4
  "description": "Common ux components of launcher",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,8 +39,8 @@
39
39
  "@arcblock/did-connect": "^2.6.7",
40
40
  "@arcblock/icons": "^2.6.7",
41
41
  "@arcblock/ux": "^2.6.7",
42
- "@blocklet/launcher-util": "2.1.88",
43
- "@blocklet/launcher-ux": "2.1.88",
42
+ "@blocklet/launcher-util": "2.1.90",
43
+ "@blocklet/launcher-ux": "2.1.90",
44
44
  "@blocklet/meta": "^1.16.13",
45
45
  "@emotion/react": "^11.11.1",
46
46
  "@emotion/styled": "^11.11.0",
@@ -60,5 +60,5 @@
60
60
  "@storybook/react": "^6.5.16",
61
61
  "babel-plugin-inline-react-svg": "^2.0.2"
62
62
  },
63
- "gitHead": "cfd7e3997efa326d8e9e5c48422f6c530e4a5ef4"
63
+ "gitHead": "7838a63c9cf10ccc1575a04bec0a38ad1f541b16"
64
64
  }