js-dos 7.1.18 → 7.2.3
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/.github/workflows/yarn-gulp.yml +30 -0
- package/README.md +1 -1
- package/dist/js-dos.css +59 -0
- package/dist/js-dos.js +15 -10
- package/dist/js-dos.js.map +1 -0
- package/dist/types/src/components/controls.d.ts +1 -0
- package/dist/types/src/icons.d.ts +22 -4
- package/dist/types/src/player-app.d.ts +7 -3
- package/dist/types/src/player.d.ts +3 -1
- package/examples/digger/index.html +7 -1
- package/package.json +3 -3
- package/yarn-error.log +391 -26
- package/dist/player.js.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ 7.xx ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ 7.xx ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
node-version: [12.x, 14.x, 16.x]
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v2
|
|
19
|
+
|
|
20
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
+
uses: actions/setup-node@v1
|
|
22
|
+
with:
|
|
23
|
+
node-version: ${{ matrix.node-version }}
|
|
24
|
+
|
|
25
|
+
- name: Build
|
|
26
|
+
run: |
|
|
27
|
+
npm install -g yarn
|
|
28
|
+
yarn
|
|
29
|
+
yarn run eslint . --ext ts --max-warnings 0
|
|
30
|
+
yarn run gulp
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# js-dos 7.xx
|
|
2
|
-
|
|
2
|
+
[](https://github.com/caiiiycuk/js-dos/actions/workflows/yarn-gulp.yml)
|
|
3
3
|
|
|
4
4
|
js-dos is a javascript library that allows you to run DOS programs in browser. js-dos provides nice and easy to use javascript api over dosbox.
|
|
5
5
|
|
package/dist/js-dos.css
CHANGED
|
@@ -788,6 +788,10 @@ video {
|
|
|
788
788
|
* Ensure the default browser behavior of the `hidden` attribute.
|
|
789
789
|
*/
|
|
790
790
|
|
|
791
|
+
[hidden] {
|
|
792
|
+
display: none;
|
|
793
|
+
}
|
|
794
|
+
|
|
791
795
|
*, ::before, ::after {
|
|
792
796
|
--tw-border-opacity: 1;
|
|
793
797
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
@@ -821,6 +825,10 @@ video {
|
|
|
821
825
|
bottom: 0px;
|
|
822
826
|
}
|
|
823
827
|
|
|
828
|
+
.bottom-2 {
|
|
829
|
+
bottom: 0.5rem;
|
|
830
|
+
}
|
|
831
|
+
|
|
824
832
|
.left-0 {
|
|
825
833
|
left: 0px;
|
|
826
834
|
}
|
|
@@ -837,6 +845,11 @@ video {
|
|
|
837
845
|
z-index: 50;
|
|
838
846
|
}
|
|
839
847
|
|
|
848
|
+
.mx-2 {
|
|
849
|
+
margin-left: 0.5rem;
|
|
850
|
+
margin-right: 0.5rem;
|
|
851
|
+
}
|
|
852
|
+
|
|
840
853
|
.my-4 {
|
|
841
854
|
margin-top: 1rem;
|
|
842
855
|
margin-bottom: 1rem;
|
|
@@ -854,6 +867,10 @@ video {
|
|
|
854
867
|
margin-top: -1.5rem;
|
|
855
868
|
}
|
|
856
869
|
|
|
870
|
+
.-mt-7 {
|
|
871
|
+
margin-top: -1.75rem;
|
|
872
|
+
}
|
|
873
|
+
|
|
857
874
|
.mr-2 {
|
|
858
875
|
margin-right: 0.5rem;
|
|
859
876
|
}
|
|
@@ -878,6 +895,10 @@ video {
|
|
|
878
895
|
display: table;
|
|
879
896
|
}
|
|
880
897
|
|
|
898
|
+
.hidden {
|
|
899
|
+
display: none;
|
|
900
|
+
}
|
|
901
|
+
|
|
881
902
|
.h-4 {
|
|
882
903
|
height: 1rem;
|
|
883
904
|
}
|
|
@@ -1045,6 +1066,10 @@ video {
|
|
|
1045
1066
|
justify-content: space-evenly;
|
|
1046
1067
|
}
|
|
1047
1068
|
|
|
1069
|
+
.self-center {
|
|
1070
|
+
align-self: center;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1048
1073
|
.overflow-hidden {
|
|
1049
1074
|
overflow: hidden;
|
|
1050
1075
|
}
|
|
@@ -1083,6 +1108,10 @@ video {
|
|
|
1083
1108
|
border-bottom-width: 2px;
|
|
1084
1109
|
}
|
|
1085
1110
|
|
|
1111
|
+
.border-l-2 {
|
|
1112
|
+
border-left-width: 2px;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1086
1115
|
.border-gray-400 {
|
|
1087
1116
|
--tw-border-opacity: 1;
|
|
1088
1117
|
border-color: rgba(156, 163, 175, var(--tw-border-opacity));
|
|
@@ -1108,6 +1137,11 @@ video {
|
|
|
1108
1137
|
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
|
|
1109
1138
|
}
|
|
1110
1139
|
|
|
1140
|
+
.px-2 {
|
|
1141
|
+
padding-left: 0.5rem;
|
|
1142
|
+
padding-right: 0.5rem;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1111
1145
|
.px-4 {
|
|
1112
1146
|
padding-left: 1rem;
|
|
1113
1147
|
padding-right: 1rem;
|
|
@@ -1122,6 +1156,10 @@ video {
|
|
|
1122
1156
|
padding-top: 1.5rem;
|
|
1123
1157
|
}
|
|
1124
1158
|
|
|
1159
|
+
.pr-2 {
|
|
1160
|
+
padding-right: 0.5rem;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1125
1163
|
.pb-2 {
|
|
1126
1164
|
padding-bottom: 0.5rem;
|
|
1127
1165
|
}
|
|
@@ -1130,10 +1168,27 @@ video {
|
|
|
1130
1168
|
padding-bottom: 1rem;
|
|
1131
1169
|
}
|
|
1132
1170
|
|
|
1171
|
+
.pl-2 {
|
|
1172
|
+
padding-left: 0.5rem;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.font-mono {
|
|
1176
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1133
1179
|
.font-bold {
|
|
1134
1180
|
font-weight: 700;
|
|
1135
1181
|
}
|
|
1136
1182
|
|
|
1183
|
+
.uppercase {
|
|
1184
|
+
text-transform: uppercase;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.text-black {
|
|
1188
|
+
--tw-text-opacity: 1;
|
|
1189
|
+
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1137
1192
|
.text-gray-400 {
|
|
1138
1193
|
--tw-text-opacity: 1;
|
|
1139
1194
|
color: rgba(156, 163, 175, var(--tw-text-opacity));
|
|
@@ -1174,6 +1229,10 @@ video {
|
|
|
1174
1229
|
color: rgba(31, 41, 55, var(--tw-text-opacity));
|
|
1175
1230
|
}
|
|
1176
1231
|
|
|
1232
|
+
.underline {
|
|
1233
|
+
text-decoration: underline;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1177
1236
|
.opacity-80 {
|
|
1178
1237
|
opacity: 0.8;
|
|
1179
1238
|
}
|