js-dos 7.4.3 → 7.4.4
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/dist/js-dos.css +75 -16
- package/dist/js-dos.js +2 -2
- package/dist/js-dos.js.map +1 -1
- package/dist/types/src/components/action-hide.d.ts +3 -1
- package/dist/types/src/components/action-save-or-exit.d.ts +3 -1
- package/dist/types/src/components/cpu-control.d.ts +2 -0
- package/dist/types/src/components/horizontal-slider.d.ts +13 -0
- package/dist/types/src/components/scale-control.d.ts +3 -0
- package/dist/types/src/components/sensitivity-control.d.ts +3 -0
- package/dist/types/src/components/sync-control.d.ts +2 -0
- package/dist/types/src/components/vertical-slider.d.ts +12 -0
- package/dist/types/src/components/volume-control.d.ts +3 -0
- package/dist/wdosbox.js +1 -1
- package/dist/wdosbox.js.symbols +3016 -3067
- package/dist/wdosbox.shared.js +1 -1
- package/dist/wdosbox.shared.js.symbols +3144 -3198
- package/dist/wdosbox.shared.wasm +0 -0
- package/dist/wdosbox.wasm +0 -0
- package/examples/digger/index.html +14 -0
- package/package.json +16 -16
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { Props } from "../player-app";
|
|
2
|
-
export declare function ActionHide(props: Props
|
|
2
|
+
export declare function ActionHide(props: Props & {
|
|
3
|
+
class: string;
|
|
4
|
+
}): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { Props } from "../player-app";
|
|
2
|
-
export declare function ActionSaveOrExit(props: Props
|
|
2
|
+
export declare function ActionSaveOrExit(props: Props & {
|
|
3
|
+
class: string;
|
|
4
|
+
}): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSX } from "preact";
|
|
2
|
+
export interface HorizontalSliderProps {
|
|
3
|
+
class?: string;
|
|
4
|
+
minValue: number;
|
|
5
|
+
maxValue: number;
|
|
6
|
+
maxLabel?: string;
|
|
7
|
+
initialValue: number;
|
|
8
|
+
onChange: (value: number) => void;
|
|
9
|
+
icon: JSX.Element;
|
|
10
|
+
registerListner: (fn: (value: number) => void) => void;
|
|
11
|
+
removeListener: (fn: (value: number) => void) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function HorizontalSlider(props: HorizontalSliderProps): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Props } from "../player-app";
|
|
2
|
+
export declare function ActionBarScaleControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
3
|
+
export declare function SideBarScaleControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Props } from "../player-app";
|
|
2
|
+
export declare function ActionBarSensitivityControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
3
|
+
export declare function SideBarSensitivityControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { JSX } from "preact";
|
|
2
|
+
export interface VerticalSliderProps {
|
|
3
|
+
class?: string;
|
|
4
|
+
minValue: number;
|
|
5
|
+
maxValue: number;
|
|
6
|
+
initialValue: number;
|
|
7
|
+
onChange: (value: number) => void;
|
|
8
|
+
icon: JSX.Element;
|
|
9
|
+
registerListner: (fn: (value: number) => void) => void;
|
|
10
|
+
removeListener: (fn: (value: number) => void) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function VerticalSlider(props: VerticalSliderProps): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Props } from "../player-app";
|
|
2
|
+
export declare function ActionBarVolumeControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
3
|
+
export declare function SideBarVolumeControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|