pxt-core 12.3.26 → 13.0.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.
Files changed (30) hide show
  1. package/built/pxtlib.d.ts +1 -0
  2. package/built/react-common/components/controls/Input.d.ts +1 -0
  3. package/built/react-common/components/extensions/ExtensionCard.d.ts +2 -0
  4. package/built/target.js +1 -1
  5. package/built/targetlight.js +1 -1
  6. package/built/tests/blocksrunner.js +8 -11
  7. package/built/tests/blockssetup.js +8 -11
  8. package/built/web/main.js +2 -2
  9. package/built/web/multiplayer/js/{main.6c837cec.js → main.58655f23.js} +2 -2
  10. package/built/web/pxtasseteditor.js +2 -2
  11. package/built/web/pxtembed.js +2 -2
  12. package/built/web/react-common-authcode.css +1 -1
  13. package/built/web/react-common-multiplayer.css +1 -1
  14. package/built/web/react-common-skillmap.css +1 -1
  15. package/built/web/rtlreact-common-authcode.css +1 -1
  16. package/built/web/rtlreact-common-multiplayer.css +1 -1
  17. package/built/web/rtlreact-common-skillmap.css +1 -1
  18. package/built/web/rtlsemantic.css +1 -1
  19. package/built/web/runnerembed.js +2 -2
  20. package/built/web/semantic.css +1 -1
  21. package/built/web/skillmap/js/{main.80271a2e.js → main.e779c5ca.js} +2 -2
  22. package/built/web/teachertool/js/{main.ed470286.js → main.3e785c99.js} +2 -2
  23. package/package.json +4 -4
  24. package/react-common/components/controls/Input.tsx +15 -3
  25. package/react-common/components/extensions/ExtensionCard.tsx +14 -4
  26. package/react-common/styles/extensions/ExtensionCard.less +20 -0
  27. package/theme/home.less +1 -1
  28. package/webapp/public/multiplayer.html +1 -1
  29. package/webapp/public/skillmap.html +1 -1
  30. 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;