pxt-core 7.5.39 → 7.5.40
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/built/cli.js +9 -1
- package/built/pxt.js +48 -33
- package/built/pxtlib.js +39 -32
- package/built/target.js +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtembed.js +1 -1
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/localtypings/pxtarget.d.ts +5 -7
- package/package.json +1 -1
- package/theme/common.less +27 -1
|
@@ -34,14 +34,11 @@ declare namespace pxt {
|
|
|
34
34
|
|
|
35
35
|
interface PackagesConfig {
|
|
36
36
|
approvedOrgs?: string[];
|
|
37
|
-
approvedRepos?: string[]; // list of company/project
|
|
38
37
|
releases?: pxt.Map<string[]>; // per major version list of approved company/project#tag
|
|
39
38
|
bannedOrgs?: string[];
|
|
40
39
|
bannedRepos?: string[];
|
|
41
40
|
allowUnapproved?: boolean;
|
|
42
|
-
|
|
43
|
-
preferredRepoLib?: RepoData[];
|
|
44
|
-
approvedRepoLib?: RepoData[];
|
|
41
|
+
approvedRepoLib?: pxt.Map<RepoData>;
|
|
45
42
|
// format:
|
|
46
43
|
// "acme-corp/pxt-widget": "min:v0.1.2" - auto-upgrade to that version
|
|
47
44
|
// "acme-corp/pxt-widget": "dv:foo,bar" - add "disablesVariant": ["foo", "bar"] to pxt.json
|
|
@@ -53,8 +50,9 @@ declare namespace pxt {
|
|
|
53
50
|
}
|
|
54
51
|
|
|
55
52
|
interface RepoData {
|
|
56
|
-
|
|
57
|
-
tags?: string[]
|
|
53
|
+
preferred?: boolean;
|
|
54
|
+
tags?: string[];
|
|
55
|
+
upgrades?: string[];
|
|
58
56
|
}
|
|
59
57
|
|
|
60
58
|
interface ShareConfig {
|
|
@@ -1192,4 +1190,4 @@ declare namespace pxt.auth {
|
|
|
1192
1190
|
type: "skillmap-completion";
|
|
1193
1191
|
sourceURL: string;
|
|
1194
1192
|
}
|
|
1195
|
-
}
|
|
1193
|
+
}
|
package/package.json
CHANGED
package/theme/common.less
CHANGED
|
@@ -942,6 +942,14 @@ Field editors
|
|
|
942
942
|
.fullscreen.extensions-browser > .common-modal > .common-modal-header {
|
|
943
943
|
height: @mobileMenuHeight;
|
|
944
944
|
}
|
|
945
|
+
|
|
946
|
+
.extensions-browser {
|
|
947
|
+
.extension-header > .import-button>.common-button {
|
|
948
|
+
.common-button-label {
|
|
949
|
+
display: none;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
945
953
|
}
|
|
946
954
|
|
|
947
955
|
@media @mobileAndBelow {
|
|
@@ -1029,12 +1037,30 @@ Field editors
|
|
|
1029
1037
|
cursor: pointer;
|
|
1030
1038
|
}
|
|
1031
1039
|
|
|
1032
|
-
span {
|
|
1040
|
+
>span {
|
|
1041
|
+
padding-right: .5rem;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.common-button {
|
|
1045
|
+
font-size: 1.2rem;
|
|
1033
1046
|
padding-right: .5rem;
|
|
1047
|
+
margin-right: 0rem;
|
|
1034
1048
|
}
|
|
1035
1049
|
}
|
|
1036
1050
|
}
|
|
1037
1051
|
|
|
1052
|
+
.extension-header {
|
|
1053
|
+
font-family: @segoeUIFont;
|
|
1054
|
+
width: 95%;
|
|
1055
|
+
display: flex;
|
|
1056
|
+
align-items: flex-end;
|
|
1057
|
+
justify-content: space-between;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.import-button>.common-button {
|
|
1061
|
+
padding: .8rem 1rem .95rem;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1038
1064
|
.extension-grid {
|
|
1039
1065
|
display: flex;
|
|
1040
1066
|
flex-wrap: wrap;
|