pxt-core 13.2.1 → 13.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/README.md +1 -1
- package/built/pxt.js +646 -137
- package/built/pxtcompiler.d.ts +19 -1
- package/built/pxtcompiler.js +519 -64
- package/built/pxtlib.d.ts +1 -1
- package/built/pxtlib.js +127 -73
- package/built/react-common/components/controls/DropdownModal.d.ts +6 -0
- package/built/react-common/components/controls/Input.d.ts +1 -1
- package/built/target.js +1 -1
- package/built/targetlight.js +1 -1
- package/built/tests/thumb-test/asmchecks.d.ts +73 -0
- package/built/tests/thumb-test/thumbrunner.d.ts +3 -0
- package/built/web/main.js +30 -30
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +20 -20
- package/built/web/pxtcompiler.js +1 -1
- package/built/web/pxtembed.js +4 -4
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- 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 +2 -2
- package/built/web/runnerembed.js +5 -5
- package/built/web/semantic.css +2 -2
- package/common-docs/blocks-embed.md +2 -2
- package/common-docs/github/commit.md +1 -1
- package/common-docs/github/private-assignments.md +1 -1
- package/common-docs/github/test-extension.md +1 -1
- package/common-docs/online-learning.md +2 -2
- package/common-docs/reference/arrays/pick-random.md +1 -1
- package/common-docs/reference/text/char-code-at.md +1 -1
- package/common-docs/share.md +2 -2
- package/common-docs/types/function/define.md +1 -1
- package/localtypings/pxtarget.d.ts +3 -1
- package/package.json +3 -2
- package/react-common/components/controls/DropdownModal.tsx +66 -0
- package/react-common/components/controls/Input.tsx +1 -1
- package/react-common/styles/controls/DropdownModal.less +17 -0
- package/react-common/styles/react-common.less +1 -0
- package/react-common/styles/theming/ThemePickerModal.less +5 -0
- package/theme/monaco.less +2 -0
- package/theme/music-editor/gallery.less +10 -1
- package/theme/piano-roll/piano-roll.less +33 -2
- package/theme/pxtjson.less +0 -12
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ svgo svgicons/myicon.svg
|
|
|
118
118
|
|
|
119
119
|
When adding a CSS color or other style element that will be shared across editor targets (e.g. micro:bit, Arcade) and sub-applications (a.k.a. "CRAs", like skillmap, teachertool, etc.). Declare a CSS variable for it in `theme/themepacks.less`:
|
|
120
120
|
|
|
121
|
-
1. Add the new variable to the `:root` pseudo-class. Choose a reasonable default value according to the
|
|
121
|
+
1. Add the new variable to the `:root` pseudo-class. Choose a reasonable default value according to the guidelines in the file.
|
|
122
122
|
2. Add the new variable to all theme classes defined in that file. At the time of this writing, only `theme-highcontrast` is defined. Choose a value that works well for the given theme.
|
|
123
123
|
3. Add the new variable to the theme overrides for each target. This will be done in the target repo's `theme/themepacks.less` file (e.g. pxt-microbit, pxt-arcade).
|
|
124
124
|
|