pxt-core 12.3.26 → 12.3.29
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/pxtlib.d.ts +1 -0
- package/built/react-common/components/controls/Input.d.ts +1 -0
- package/built/react-common/components/extensions/ExtensionCard.d.ts +2 -0
- package/built/target.js +1 -1
- package/built/targetlight.js +1 -1
- package/built/tests/blocksrunner.js +8 -11
- package/built/tests/blockssetup.js +8 -11
- package/built/web/main.js +2 -2
- package/built/web/multiplayer/js/{main.6c837cec.js → main.58655f23.js} +2 -2
- package/built/web/pxtasseteditor.js +2 -2
- package/built/web/pxtembed.js +2 -2
- package/built/web/react-common-authcode.css +1 -1
- package/built/web/react-common-multiplayer.css +1 -1
- package/built/web/react-common-skillmap.css +1 -1
- package/built/web/rtlreact-common-authcode.css +1 -1
- package/built/web/rtlreact-common-multiplayer.css +1 -1
- package/built/web/rtlreact-common-skillmap.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/runnerembed.js +2 -2
- package/built/web/semantic.css +1 -1
- package/built/web/skillmap/js/{main.80271a2e.js → main.e779c5ca.js} +2 -2
- package/built/web/teachertool/js/{main.ed470286.js → main.3e785c99.js} +2 -2
- package/package.json +4 -4
- package/react-common/components/controls/Input.tsx +15 -3
- package/react-common/components/extensions/ExtensionCard.tsx +14 -4
- package/react-common/styles/extensions/ExtensionCard.less +20 -0
- package/theme/home.less +1 -1
- package/webapp/public/multiplayer.html +1 -1
- package/webapp/public/skillmap.html +1 -1
- package/webapp/public/teachertool.html +1 -1
package/built/pxtlib.d.ts
CHANGED
|
@@ -2580,6 +2580,7 @@ declare namespace ts.pxtc.service {
|
|
|
2580
2580
|
imageUrl?: string;
|
|
2581
2581
|
type?: ExtensionType;
|
|
2582
2582
|
learnMoreUrl?: string;
|
|
2583
|
+
installed?: boolean;
|
|
2583
2584
|
pkgConfig?: pxt.PackageConfig;
|
|
2584
2585
|
repo?: pxt.github.GitRepo;
|
|
2585
2586
|
scriptInfo?: pxt.Cloud.JsonScript;
|
|
@@ -20,6 +20,7 @@ export interface InputProps extends ControlProps {
|
|
|
20
20
|
preserveValueOnBlur?: boolean;
|
|
21
21
|
options?: pxt.Map<string>;
|
|
22
22
|
filter?: string;
|
|
23
|
+
validator?: (value: string, prevValue: string) => string;
|
|
23
24
|
onChange?: (newValue: string) => void;
|
|
24
25
|
onEnterKey?: (value: string) => void;
|
|
25
26
|
onIconClick?: (value: string) => void;
|
|
@@ -4,9 +4,11 @@ export interface ExtensionCardProps<U> {
|
|
|
4
4
|
imageUrl?: string;
|
|
5
5
|
learnMoreUrl?: string;
|
|
6
6
|
label?: string;
|
|
7
|
+
labelClass?: string;
|
|
7
8
|
onClick?: (value: U) => void;
|
|
8
9
|
extension?: U;
|
|
9
10
|
loading?: boolean;
|
|
11
|
+
installed?: boolean;
|
|
10
12
|
showDisclaimer?: boolean;
|
|
11
13
|
}
|
|
12
14
|
export declare const ExtensionCard: <U>(props: ExtensionCardProps<U>) => JSX.Element;
|