@blocklet/launcher-layout 1.7.51 → 1.7.54

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
@@ -11,8 +11,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
12
12
  var _styledComponents = _interopRequireDefault(require("styled-components"));
13
13
 
14
- var _Img = _interopRequireDefault(require("@arcblock/ux/lib/Img"));
15
-
16
14
  var _useMediaQuery = _interopRequireDefault(require("@mui/material/useMediaQuery"));
17
15
 
18
16
  var _Skeleton = _interopRequireDefault(require("@mui/material/Skeleton"));
@@ -42,6 +40,7 @@ function AppHeader(_ref) {
42
40
  variant: "rectangular",
43
41
  width: 100,
44
42
  height: 16,
43
+ alt: "".concat(title, " icon"),
45
44
  style: {
46
45
  marginTop: 4
47
46
  }
@@ -52,10 +51,11 @@ function AppHeader(_ref) {
52
51
  });
53
52
 
54
53
  if (logoUrl) {
55
- blockletIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Img.default, {
54
+ blockletIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
56
55
  width: blockletSize,
56
+ height: blockletSize,
57
57
  src: logoUrl,
58
- size: "contain",
58
+ alt: "blocklet icon",
59
59
  style: {
60
60
  verticalAlign: 'text-bottom'
61
61
  }
package/lib/index.js CHANGED
@@ -94,8 +94,10 @@ function Layout(_ref) {
94
94
  className: "circular",
95
95
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {
96
96
  variant: "determinate",
97
+ role: "progressbar",
97
98
  value: 100,
98
99
  size: 10,
100
+ "aria-label": "decorative progress bar",
99
101
  thickness: 10,
100
102
  style: {
101
103
  color: '#dddddd'
@@ -103,8 +105,10 @@ function Layout(_ref) {
103
105
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {
104
106
  variant: "determinate",
105
107
  value: (activeStep + 1) / totalStepsCount * 100,
108
+ role: "progressbar",
106
109
  size: 10,
107
- thickness: 10
110
+ thickness: 10,
111
+ "aria-label": "main progress bar"
108
112
  })]
109
113
  })]
110
114
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-layout",
3
- "version": "1.7.51",
3
+ "version": "1.7.54",
4
4
  "description": "Common ux components of launcher",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,10 +37,10 @@
37
37
  "react": ">=18.1.0"
38
38
  },
39
39
  "dependencies": {
40
- "@arcblock/did-connect": "^2.1.53",
41
- "@arcblock/icons": "^2.1.53",
42
- "@arcblock/ux": "^2.1.53",
43
- "@blocklet/meta": "^1.8.0",
40
+ "@arcblock/did-connect": "^2.1.55",
41
+ "@arcblock/icons": "^2.1.55",
42
+ "@arcblock/ux": "^2.1.55",
43
+ "@blocklet/meta": "^1.8.1",
44
44
  "@emotion/react": "^11.9.0",
45
45
  "@emotion/styled": "^11.8.1",
46
46
  "@mui/icons-material": "^5.6.2",
@@ -62,5 +62,5 @@
62
62
  "babel-plugin-inline-react-svg": "^2.0.1",
63
63
  "babel-plugin-styled-components": "^1.10.7"
64
64
  },
65
- "gitHead": "cbb48d663ee67bdcb072fff36564ebb954f1bbd0"
65
+ "gitHead": "49f7491b1fc4f839d52cfa8193b0ecd44e0bfd66"
66
66
  }