@pisell/materials 1.8.51 → 1.8.52
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/keyboard/index.js +2 -2
- package/lib/components/keyboard/index.js +2 -2
- package/package.json +3 -3
|
@@ -17,7 +17,8 @@ const list = [
|
|
|
17
17
|
"9",
|
|
18
18
|
"0",
|
|
19
19
|
"+",
|
|
20
|
-
"ok"
|
|
20
|
+
"ok",
|
|
21
|
+
"delete"
|
|
21
22
|
];
|
|
22
23
|
const defaultArr = [
|
|
23
24
|
{
|
|
@@ -98,7 +99,6 @@ const Keyboard = (props) => {
|
|
|
98
99
|
const contentRef = useRef(null);
|
|
99
100
|
const size = useSize(contentRef);
|
|
100
101
|
useEventListener("keydown", (ev) => {
|
|
101
|
-
console.log("ev", ev);
|
|
102
102
|
if (!keydown) return;
|
|
103
103
|
let key = ev.key;
|
|
104
104
|
if (key === "Enter") key = "ok";
|
|
@@ -20,7 +20,8 @@ const list = [
|
|
|
20
20
|
"9",
|
|
21
21
|
"0",
|
|
22
22
|
"+",
|
|
23
|
-
"ok"
|
|
23
|
+
"ok",
|
|
24
|
+
"delete"
|
|
24
25
|
];
|
|
25
26
|
const defaultArr = [
|
|
26
27
|
{
|
|
@@ -101,7 +102,6 @@ const Keyboard = (props) => {
|
|
|
101
102
|
const contentRef = (0, react.useRef)(null);
|
|
102
103
|
const size = (0, ahooks.useSize)(contentRef);
|
|
103
104
|
(0, ahooks.useEventListener)("keydown", (ev) => {
|
|
104
|
-
console.log("ev", ev);
|
|
105
105
|
if (!keydown) return;
|
|
106
106
|
let key = ev.key;
|
|
107
107
|
if (key === "Enter") key = "ok";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.52",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"antd-mobile": "^5.38.1",
|
|
100
100
|
"vod-js-sdk-v6": "^1.4.11",
|
|
101
101
|
"@pisell/date-picker": "3.0.8",
|
|
102
|
-
"@pisell/
|
|
103
|
-
"@pisell/
|
|
102
|
+
"@pisell/utils": "3.0.2",
|
|
103
|
+
"@pisell/icon": "0.0.11"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": "^18.0.0",
|