@blocklet/ui-react 2.2.4 → 2.3.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.
@@ -264,7 +264,7 @@ Header.defaultProps = {
264
264
  const StyledUxHeader = (0, _styledComponents.default)(_Header.ResponsiveHeader).withConfig({
265
265
  displayName: "Header__StyledUxHeader",
266
266
  componentId: "sc-kcf4st-0"
267
- })(["", " font-family:Lato,Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';.header-logo{min-width:44px;}", "{.header-logo{min-width:32px;}}.header-nav{.navmenu-sub .navmenu-item{min-width:80px;}}.header-nav.navmenu--horizontal{.navmenu-item{padding:16px 4px;}}"], _ref3 => {
267
+ })(["", " font-family:Lato,Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';.header-logo{min-width:44px;}", "{.header-logo{min-width:32px;}}.header-nav{.navmenu-sub .navmenu-item{min-width:80px;}}.header-nav.navmenu--horizontal{.navmenu-root > .navmenu-sub,.navmenu-root > .navmenu-item{padding:16px 4px;}}"], _ref3 => {
268
268
  let {
269
269
  $bgcolor
270
270
  } = _ref3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "2.2.4",
3
+ "version": "2.3.0",
4
4
  "description": "Some useful front-end web components that can be used in Blocklets.",
5
5
  "keywords": [
6
6
  "react",
@@ -30,8 +30,8 @@
30
30
  "url": "https://github.com/ArcBlock/ux/issues"
31
31
  },
32
32
  "dependencies": {
33
- "@arcblock/did-connect": "^2.2.4",
34
- "@arcblock/ux": "^2.2.4",
33
+ "@arcblock/did-connect": "^2.3.0",
34
+ "@arcblock/ux": "^2.3.0",
35
35
  "@iconify/iconify": "^2.2.1",
36
36
  "@mui/material": "^5.9.3",
37
37
  "core-js": "^3.24.1",
@@ -53,5 +53,5 @@
53
53
  "eslint-plugin-react-hooks": "^4.6.0",
54
54
  "jest": "^24.9.0"
55
55
  },
56
- "gitHead": "6658d7679f6a8e679e1fddae1af19ae8a2e64963"
56
+ "gitHead": "1d17ca422c95117bbf74c199b21692e478aa5003"
57
57
  }
@@ -201,7 +201,8 @@ const StyledUxHeader = styled(ResponsiveHeader)`
201
201
  }
202
202
  }
203
203
  .header-nav.navmenu--horizontal {
204
- .navmenu-item {
204
+ .navmenu-root > .navmenu-sub,
205
+ .navmenu-root > .navmenu-item {
205
206
  padding: 16px 4px;
206
207
  }
207
208
  }