@vention/machine-logic-ui-sdk 0.26.0 → 0.26.1
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/index.esm.js +918 -515
- package/package.json +3 -2
- package/src/lib/components/virtual-keyboard/virtual-keyboard.d.ts +3 -1
- package/index.esm.css +0 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vention/machine-logic-ui-sdk",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/VentionCo/machine-cloud.git"
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"react-simple-keyboard": "3.8.15",
|
|
15
|
-
"mqtt": "5.10.1"
|
|
15
|
+
"mqtt": "5.10.1",
|
|
16
|
+
"tss-react": "4.9.13"
|
|
16
17
|
},
|
|
17
18
|
"peerDependencies": {
|
|
18
19
|
"react": "17.0.2"
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "react-simple-keyboard/build/css/index.css";
|
|
3
|
-
import "./virtual-keyboard.css";
|
|
4
3
|
export declare const VirtualKeyboard: () => JSX.Element | null;
|
|
4
|
+
export declare const useStyles: import("tss-react/tss").Tss.UseStyles<{
|
|
5
|
+
theme: import("@mui/material").Theme;
|
|
6
|
+
}, Record<never, unknown>, "virtualKeyboard", import("tss-react/mui").MuiThemeStyleOverridesPluginParams>;
|
package/index.esm.css
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
#virtual_keyboard {
|
|
2
|
-
height: 45vh;
|
|
3
|
-
position: sticky;
|
|
4
|
-
bottom: 0;
|
|
5
|
-
flex-shrink: 0;
|
|
6
|
-
font-size: 26px;
|
|
7
|
-
z-index: 999999; /* The ultimate "above everything" */
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* Make the keyboard take up all the height provided by its parent (#virtual_keyboard) */
|
|
11
|
-
.react-simple-keyboard {
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.hg-rows {
|
|
16
|
-
height: 100%;
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.hg-row {
|
|
22
|
-
flex-grow: 1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#virtual_keyboard .hg-theme-default .hg-button {
|
|
26
|
-
height: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Make sure the "@" button which can appear when to change to the "shift" layout takes up all the space */
|
|
30
|
-
#virtual_keyboard .hg-theme-default .hg-button[data-skbtn="@"] {
|
|
31
|
-
max-width: initial;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Keep the "@" and ".com" buttons small when next to the space bar */
|
|
35
|
-
#virtual_keyboard .hg-theme-default .hg-button[data-skbtn=".com"].hg-button[data-skbtnuid="default-r4b0"],
|
|
36
|
-
#virtual_keyboard .hg-theme-default .hg-button[data-skbtn=".com"].hg-button[data-skbtnuid="shift-r4b0"],
|
|
37
|
-
#virtual_keyboard .hg-theme-default .hg-button[data-skbtn="@"].hg-button[data-skbtnuid="default-r4b1"],
|
|
38
|
-
#virtual_keyboard .hg-theme-default .hg-button[data-skbtn="@"].hg-button[data-skbtnuid="shift-r4b1"] {
|
|
39
|
-
max-width: 120px;
|
|
40
|
-
}
|