@blocklet/launcher-layout 2.11.42 → 2.11.44

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -13
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -6,6 +6,7 @@ import { CircularProgress, Hidden, StyledEngineProvider, ThemeProvider, Typograp
6
6
  import isObject from 'lodash/isObject';
7
7
  import PropTypes from 'prop-types';
8
8
  import { Suspense, isValidElement } from 'react';
9
+ import { HeaderAddons } from '@arcblock/ux/lib/Header';
9
10
  import { useStepContext } from './context/step';
10
11
  import AppHeader from './header';
11
12
  import { getTranslations } from './locale';
@@ -123,7 +124,7 @@ function Layout({
123
124
  }), navLogo && !isMobile && /*#__PURE__*/_jsx("div", {
124
125
  className: "left",
125
126
  children: navLogo
126
- }), headerEndAddons && /*#__PURE__*/_jsx("div", {
127
+ }), headerEndAddons && /*#__PURE__*/_jsx(HeaderAddons, {
127
128
  className: "right",
128
129
  children: headerEndAddons
129
130
  })]
@@ -231,18 +232,6 @@ const Header = styled.header`
231
232
  display: flex;
232
233
  align-items: center;
233
234
  }
234
-
235
- .right {
236
- display: flex;
237
- align-items: center;
238
- ${props => props.theme.breakpoints.down('md')} {
239
- button,
240
- a {
241
- padding-left: 8px;
242
- padding-right: 8px;
243
- }
244
- }
245
- }
246
235
  `;
247
236
  const Root = styled.div`
248
237
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-layout",
3
- "version": "2.11.42",
3
+ "version": "2.11.44",
4
4
  "description": "Common ux components of launcher",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,14 +37,14 @@
37
37
  "url": "https://github.com/ArcBlock/ux/issues"
38
38
  },
39
39
  "peerDependencies": {
40
- "@arcblock/did-connect": "^2.11.30",
41
- "@arcblock/ux": "^2.11.30",
40
+ "@arcblock/did-connect": "^2.11.42",
41
+ "@arcblock/ux": "^2.11.42",
42
42
  "@mui/icons-material": "^5.15.15",
43
43
  "@mui/material": "^5.15.15",
44
44
  "react": "^18.2.0"
45
45
  },
46
46
  "dependencies": {
47
- "@arcblock/icons": "^2.11.42",
47
+ "@arcblock/icons": "^2.11.44",
48
48
  "@blocklet/meta": "^1.16.38",
49
49
  "@emotion/react": "^11.13.0",
50
50
  "@emotion/styled": "^11.13.0",
@@ -65,5 +65,5 @@
65
65
  "babel-plugin-inline-react-svg": "^2.0.2",
66
66
  "glob": "^10.4.5"
67
67
  },
68
- "gitHead": "db05fbba511a4822d5c386fd31e7d079cbc5009f"
68
+ "gitHead": "ac208031ad00b2175432f4af61978bfcf2b48d88"
69
69
  }