@blocklet/launcher-layout 1.7.77 → 1.7.78

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.
@@ -17,6 +17,8 @@ var _Button = _interopRequireDefault(require("@arcblock/ux/lib/Button"));
17
17
 
18
18
  var _Dialog = _interopRequireDefault(require("@arcblock/ux/lib/Dialog"));
19
19
 
20
+ var _submit = _interopRequireDefault(require("@blocklet/launcher-ux/lib/hot-key/submit"));
21
+
20
22
  var _jsxRuntime = require("react/jsx-runtime");
21
23
 
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -35,23 +37,27 @@ function ServerEula(_ref) {
35
37
  const handleOpen = () => setOpen(x => !x);
36
38
 
37
39
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
38
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(Div, {
39
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
40
- className: "eula-trigger",
41
- onClick: handleOpen,
42
- children: texts.listenName
43
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
40
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Div, {
41
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_submit.default, {
44
42
  disabled: nextDisabled,
45
- color: "primary",
46
- variant: "contained",
47
- className: "next-button",
48
- onClick: onContinue,
49
- children: launching ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
50
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Spinner.default, {
51
- size: 14
52
- }), texts.launchingText]
53
- }) : texts.buttonNext
54
- })]
43
+ onConfirm: onContinue,
44
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
45
+ className: "eula-trigger",
46
+ onClick: handleOpen,
47
+ children: texts.listenName
48
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
49
+ disabled: nextDisabled,
50
+ color: "primary",
51
+ variant: "contained",
52
+ className: "next-button",
53
+ onClick: onContinue,
54
+ children: launching ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
55
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Spinner.default, {
56
+ size: 14
57
+ }), texts.launchingText]
58
+ }) : texts.buttonNext
59
+ })]
60
+ })
55
61
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.default, {
56
62
  open: open,
57
63
  title: texts.listenName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-layout",
3
- "version": "1.7.77",
3
+ "version": "1.7.78",
4
4
  "description": "Common ux components of launcher",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,7 +40,7 @@
40
40
  "@arcblock/did-connect": "^2.1.71",
41
41
  "@arcblock/icons": "^2.1.71",
42
42
  "@arcblock/ux": "^2.1.71",
43
- "@blocklet/launcher-ux": "1.7.77",
43
+ "@blocklet/launcher-ux": "1.7.78",
44
44
  "@blocklet/meta": "^1.8.4",
45
45
  "@emotion/react": "^11.9.0",
46
46
  "@emotion/styled": "^11.8.1",
@@ -63,5 +63,5 @@
63
63
  "babel-plugin-inline-react-svg": "^2.0.1",
64
64
  "babel-plugin-styled-components": "^1.10.7"
65
65
  },
66
- "gitHead": "ee72e94fd3a327359e6cf62c3d12ec52fdf3d4bf"
66
+ "gitHead": "6ebb89ee4d166e18a343edfd2594cddc77828ce8"
67
67
  }