Skip to content

Commit a45301d

Browse files
authored
Update 2025 05 (#336)
* Add Roboto Mono font variations and update toolbox styles * Clean up tags for extensions and remove not working extensions * Update versions for pxt-common-packages and pxt-core * Add hidden pin aliases for P19 and P20 in input and pins definitions
1 parent 77bb30b commit a45301d

File tree

6 files changed

+129
-70
lines changed

6 files changed

+129
-70
lines changed

libs/core/enums.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,16 @@ declare namespace input {
535535
//% block="C19 (A0 SCL)" blockHidden=true
536536
A0_SCL = 119, // MICROBIT_ID_IO_A0_SCL
537537
//% blockIdentity="pins._digitalPin"
538+
//% blockHidden=true
539+
P19 = 119, // MICROBIT_ID_IO_A0_SCL
540+
//% blockIdentity="pins._digitalPin"
538541
//% block="C20 (A0 SDA)" blockHidden=true
539542
A0_SDA = 120, // MICROBIT_ID_IO_A0_SDA
540543
//% blockIdentity="pins._digitalPin"
541544
//% blockHidden=true
545+
P20 = 120, // MICROBIT_ID_IO_A0_SDA
546+
//% blockIdentity="pins._digitalPin"
547+
//% blockHidden=true
542548
M_MODE = 156, // MICROBIT_ID_IO_M_MODE
543549
//% blockIdentity="pins._digitalPin"
544550
//% blockHidden=true
@@ -554,7 +560,6 @@ declare namespace input {
554560
M1_SPEED = 155, // MICROBIT_ID_IO_M_B_IN2
555561
//% blockIdentity="pins._digitalPin"
556562
RGB = 151, // MICROBIT_ID_IO_RGB
557-
558563
}
559564

560565

libs/core/pins.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,16 @@ enum class DigitalPin {
105105
//% block="C19 (A0 SCL)" blockHidden=true
106106
A0_SCL = MICROBIT_ID_IO_A0_SCL, // SCL
107107
//% blockIdentity="pins._digitalPin"
108+
//% blockHidden=true
109+
P19 = MICROBIT_ID_IO_A0_SCL,
110+
//% blockIdentity="pins._digitalPin"
108111
//% block="C20 (A0 SDA)" blockHidden=true
109112
A0_SDA = MICROBIT_ID_IO_A0_SDA, // SDA
110113
//% blockIdentity="pins._digitalPin"
111114
//% blockHidden=true
115+
P20 = MICROBIT_ID_IO_A0_SDA,
116+
//% blockIdentity="pins._digitalPin"
117+
//% blockHidden=true
112118
M_MODE = MICROBIT_ID_IO_M_MODE,
113119
//% blockIdentity="pins._digitalPin"
114120
//% blockHidden=true
@@ -124,7 +130,6 @@ enum class DigitalPin {
124130
M1_SPEED = MICROBIT_ID_IO_M_B_IN2,
125131
//% blockIdentity="pins._digitalPin"
126132
RGB = MICROBIT_ID_IO_RGB
127-
128133
};
129134

130135
enum class AnalogPin {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"typescript": "4.8.3"
4747
},
4848
"dependencies": {
49-
"pxt-common-packages": "12.3.29",
50-
"pxt-core": "11.4.16"
49+
"pxt-common-packages": "12.3.32",
50+
"pxt-core": "12.0.16"
5151
},
5252
"overrides": {
5353
"@blockly/field-colour": {

targetconfig.json

Lines changed: 39 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
],
6666
"preferred": true
6767
},
68-
"calliope-edu/pxt-power": {"preferred": true},
68+
"calliope-edu/pxt-power": {"preferred": true, "tags": [ "Software" ]},
6969
"microsoft/pxt-jacdac": {
7070
"tags": [
7171
"Jacdac"
@@ -125,7 +125,8 @@
125125
]
126126
},
127127
"calliope-edu/warte-bis": {
128-
"preferred": true
128+
"preferred": true,
129+
"tags": [ "Software" ]
129130
},
130131
"calliope-edu/pxt-faces": {
131132
"tags": [
@@ -150,21 +151,12 @@
150151
]
151152
},
152153
"kitronikltd/pxt-kitronik-klimate": {
153-
"tags": [
154-
"Climate"
155-
]
156154
},
157155
"kitronikltd/pxt-kitronik-lampbit": {},
158156
"kitronikltd/pxt-kitronik-robotics-board": {
159-
"tags": [
160-
"Motor"
161-
]
162157
},
163158
"kitronikltd/pxt-kitronik-rtc": {},
164159
"kitronikltd/pxt-kitronik-servo-lite": {
165-
"tags": [
166-
"Motor"
167-
]
168160
},
169161
"kitronikltd/pxt-kitronik-stopbit": {},
170162
"mkleinsb/scrolltext": {},
@@ -252,9 +244,6 @@
252244
"preferred": true
253245
},
254246
"mkleinsb/pxt-envirobit": {
255-
"tags": [
256-
"Climate"
257-
]
258247
},
259248
"mkleinsb/pxt-esp-thingspeak": {
260249
"tags": [
@@ -291,14 +280,8 @@
291280
]
292281
},
293282
"mkleinsb/pxt-kitronik-zip-64": {
294-
"tags": [
295-
"RGB"
296-
]
297283
},
298284
"mkleinsb/pxt-kitronik-zip-tile-calliope": {
299-
"tags": [
300-
"RGB"
301-
],
302285
"preferred": true
303286
},
304287
"mkleinsb/pxt-makerbit-motor-calliope": {
@@ -438,9 +421,6 @@
438421
]
439422
},
440423
"alankrantas/pxt-esp8266_thingspeak": {
441-
"tags": [
442-
"IoT"
443-
]
444424
},
445425
"mkleinsb/pxt-calliope-jacdac": {
446426
"tags": [
@@ -463,9 +443,6 @@
463443
"jdarling/pxt-pca9685": {},
464444
"joernalraun/pxt-remember-int": {},
465445
"keigan-motor/pxt-keiganmotor": {
466-
"tags": [
467-
"Motor"
468-
]
469446
},
470447
"letstalkscience/pxt-cozir": {},
471448
"lwchkg/pxt-proportional-font": {},
@@ -595,98 +572,94 @@
595572
"vengit/pxt-sbrick": {},
596573
"calliope-edu/pxt-storage": {"preferred": true},
597574
"coolguy-official/pxt-coolguy": {},
598-
"bouw-je-bep/bouw-je-bep": { "tags": [ "Robotics" ] },
599-
"birdbraintechnologies/pxt-finch": { "tags": [ "Robotics" ] },
600-
"ibuilds/pxt-ptkidsbit": { "tags": [ "Science" ] },
601-
"ks-bulme/pxt-mikrobot": { "tags": [ "Robotics" ] },
602-
"cytrontechnologies/pxt-rekabit": { "tags": [ "Science" ] },
575+
"bouw-je-bep/bouw-je-bep": {},
576+
"birdbraintechnologies/pxt-finch": {},
577+
"ibuilds/pxt-ptkidsbit": {},
578+
"ks-bulme/pxt-mikrobot": {},
579+
"cytrontechnologies/pxt-rekabit": {},
603580
"bsiever/microbit-dstemp": { "tags": [ "Science" ] },
604581
"bsiever/microbit-dstemp-2wire": { "tags": [ "Science" ] },
605582
"microsoft/pxt-data-streamer": {},
606-
"ibuilds/pxt-ptkidsbit-robot": { "tags": [ "Robotics" ] },
583+
"ibuilds/pxt-ptkidsbit-robot": {},
607584
"4tronix/eggbit": {},
608585
"joy-it/sen-mpu6050": { "tags": [ "Science" ] },
609-
"gomakekit/hoverbit_v2": { "tags": [ "Robotics" ] },
586+
"gomakekit/hoverbit_v2": {},
610587
"matrix-robotics/pxt-matrixmicro": {},
611588
"joy-it/pxt-rb-tft1.8": { "tags": [ "Lights and Display" ] },
612589
"cytrontechnologies/pxt-esp8266": { "tags": [ "Networking" ] },
613590
"elecfreaks/pxt-dronebit": {},
614591
"elecfreaks/pxt-planetx-ai": { "tags": [ "Science" ] },
615592
"joy-it/pxt-sen-color": { "tags": [ "Science" ] },
616-
"stemhub/pxt-stemhubbit": { "tags": [ "Robotics" ] },
617-
"kitronikltd/pxt-kitronik-lab-bit": { "tags": [ "Science" ] },
618-
"kitronikltd/pxt-kitronik-128x64display": { "tags": [ "Lights and Display" ] },
593+
"stemhub/pxt-stemhubbit": {},
594+
"kitronikltd/pxt-kitronik-lab-bit": {},
595+
"kitronikltd/pxt-kitronik-128x64display": {},
619596
"monkmakes/monkmakes-7-segment": { "tags": [ "Lights and Display" ] },
620597
"stemhub/pxt-stemhubcity": { "tags": [ "Science" ] },
621598
"kittenbot/pxt-powerbrick": { "tags": [ "Science" ] },
622-
"microbit-foundation/pxt-microbit-v2-power": { "tags": [ "Software" ] },
623-
"kittenbot/pxt-joyfrog": { "tags": [ "Gaming" ] },
624599
"kittenbot/pxt-sugar": { "tags": [ "Science" ] },
625600
"kittenbot/pxt-koi": { "tags": [ "Science" ] },
626601
"kittenbot/pxt-koi2": { "tags": [ "Science" ] },
627-
"kidspark/pxt-sparkbit": { "tags": [ "Robotics" ] },
628-
"bpi-steam/pxt-triodecar": { "tags": [ "Robotics" ] },
629-
"kitronikltd/pxt-kitronik-air-quality": { "tags": [ "Science" ] },
602+
"kidspark/pxt-sparkbit": {},
603+
"bpi-steam/pxt-triodecar": {},
604+
"kitronikltd/pxt-kitronik-air-quality": {},
630605
"kitronikltd/pxt-kitronik-air-quality-v2-only": {},
631-
"artec-kk/pxt-artecrobo-kit": { "tags": [ "Robotics" ] },
632-
"teacherpinky/wait-until-blocks": { "tags": [ "Software" ] },
606+
"artec-kk/pxt-artecrobo-kit": {},
633607
"kittenbot/pxt-kittenwifi": { "tags": [ "Networking" ] },
634608
"sgbotic/pxt-sgbotic-ultimate-sr04-rgb": { "tags": [ "Science" ] },
635-
"cytrontechnologies/pxt-zoombit": { "tags": [ "Robotics" ] },
609+
"cytrontechnologies/pxt-zoombit": {},
636610
"kodely-io/dot": { "tags": [ "Software" ] },
637611
"climate-action-kits/pxt-climate-action-kit-energy": {},
638-
"kitronikltd/pxt-kitronik-simple-servo": { "tags": [ "Robotics" ] },
612+
"kitronikltd/pxt-kitronik-simple-servo": {},
639613
"hackidsedu/pxt-hackbit": { "tags": [ "Science" ] },
640614
"aorczyk/lego-pf-transmitter": {},
641-
"kittenbot/pxt-minilfr": { "tags": [ "Robotics" ] },
615+
"kittenbot/pxt-minilfr": {},
642616
"ibuilds/pxt-ptkidsbit-iot": { "tags": [ "Science" ] },
643617
"kelieleung/pxt-iclassiot": { "tags": [ "Networking" ] },
644618
"aorczyk/lego-pf-receiver": {},
645619
"smarthon/pxt-smartcity": { "tags": [ "Science" ] },
646620
"aorczyk/soroban": { "tags": [ "Software" ] },
647621
"aorczyk/pf-recorder": {},
648-
"4tronix/theta": { "tags": [ "Robotics" ] },
622+
"4tronix/theta": {},
649623
"bsiever/microbit-pxt-blehid": {},
650624
"dfrobot/pxt-dfrobot_environment_science": {},
651625
"ekkai/aicococam": {},
652626
"elecfreaks/pxt-xgo": {},
653627
"joy-it/pxt-rfid-mfrc522": { "tags": [ "Science" ] },
654628
"dfrobot/pxt-dfrobot_iot_cloud_kit": { "tags": [ "Networking" ] },
655-
"plenprojectcompany/pxt-plenbit_full": { "tags": [ "Robotics" ] },
656-
"bsiever/microbit-pxt-clicks": { "tags": [ "Software" ] },
629+
"plenprojectcompany/pxt-plenbit_full": {},
657630
"bsiever/pxt-morse": { "tags": [ "Software" ] },
658631
"joy-it/pxt-ads1115": { "tags": [ "Science" ] },
659632
"bsiever/microbit-pxt-rotate": { "tags": [ "Software" ] },
660633
"sparkfun/pxt-gator-uv": { "tags": [ "Science" ] },
661-
"resolute-support/pxt-apprentice_car": { "tags": [ "Robotics" ] },
662-
"makeandlearn/pxt-didacbot": { "tags": [ "Robotics" ] },
663-
"cytrontechnologies/pxt-rekabit-rbt-project-kit": { "tags": [ "Science" ] },
664-
"cytrontechnologies/pxt-motionbit": { "tags": [ "Robotics" ] },
634+
"resolute-support/pxt-apprentice_car": {},
635+
"makeandlearn/pxt-didacbot": {},
636+
"cytrontechnologies/pxt-rekabit-rbt-project-kit": {},
637+
"cytrontechnologies/pxt-motionbit": {},
665638
"joy-it/pxt-rb-joypi-advanced": { "tags": [ "Science" ] },
666639
"bsiever/pxt-sen55": { "tags": [ "Science" ] },
667640
"climate-action-kits/pxt-fwd-edu": {},
668-
"elecfreaks/pxt-cutebot-pro": { "tags": [ "Robotics" ] },
641+
"elecfreaks/pxt-cutebot-pro": {},
669642
"microbit-foundation/makecode-tutorials": { "tutorial" : true },
670643
"grandpabond/pxt-meter": { "tags": [ "Software" ] },
671-
"microsoft/microbit-robot": { "tags": [ "Robotics" ] },
672-
"4tronix/mars-rover": { "tags": [ "Robotics" ] },
644+
"microsoft/microbit-robot": {},
645+
"4tronix/mars-rover": {},
673646
"monkmakes/plant-monitor-makecode": { "tags": [ "Science" ] },
674647
"grandpabond/pxt-flexfx": { "tags": [ "Software" ] },
675-
"grandpabond/pxt-faces": { "tags": [ "Software" ] },
648+
"grandpabond/pxt-faces": {},
676649
"joylabz/code-a-key-extension": {},
677-
"eb8ga/pxt-roversa-2": { "tags": [ "Robotics" ] },
678-
"roborisen/gcube": { "tags": [ "Robotics" ] },
679-
"kittenbot/pxt-tabbyrobot": { "tags": [ "Robotics" ] },
650+
"eb8ga/pxt-roversa-2": {},
651+
"roborisen/gcube": {},
652+
"kittenbot/pxt-tabbyrobot": {},
680653
"pythom1234/pxt-oled": { "tags": [ "Lights and Display" ] },
681-
"softsmyth/lectrify-b4k": { "tags": [ "Robotics" ] },
654+
"softsmyth/lectrify-b4k": {},
682655
"davidnsousa/sonification": { "tags": [ "Software" ] },
683656
"shahart/heb-microbit": { "tags": [ "Software" ] },
684-
"kitronikltd/pxt-kitronik-craft-and-code": { "tags": [ "Robotics" ] },
685-
"cytrontechnologies/pxt-sumobit": { "tags": [ "Robotics" ] },
657+
"kitronikltd/pxt-kitronik-craft-and-code": {},
658+
"cytrontechnologies/pxt-sumobit": {},
686659
"hovavo/pxt-states": { "tags": [ "Software" ] },
687-
"parallaxinc/cyberbot_makecode": { "tags": [ "Robotics" ] },
688-
"siyeenove/pxt_mcar": { "tags": [ "Robotics" ] },
689-
"elecfreaks/xgo-rider": { "tags": [ "Robotics" ] },
660+
"parallaxinc/cyberbot_makecode": {},
661+
"siyeenove/pxt_mcar": {},
662+
"elecfreaks/xgo-rider": {},
690663
"microsoft/pxt-simx-sample": {
691664
"simx": {
692665
"sha": "7301f5900879b85127482d79bab48f03c25690a8",

theme/fonts.less

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,69 @@
5656
font-weight: 400;
5757
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-400-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-400-normal.woff) format('woff');
5858
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
59+
}
60+
61+
62+
63+
///////////////////////////////////////////////
64+
65+
66+
/* roboto-mono-latin-500-normal */
67+
@font-face {
68+
font-family: 'Roboto Mono';
69+
font-style: normal;
70+
font-display: swap;
71+
font-weight: 500;
72+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/latin-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/latin-500-normal.woff) format('woff');
73+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
74+
}
75+
76+
/* roboto-mono-latin-ext-500-normal */
77+
@font-face {
78+
font-family: 'Roboto Mono';
79+
font-style: normal;
80+
font-display: swap;
81+
font-weight: 500;
82+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/latin-ext-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/latin-ext-500-normal.woff) format('woff');
83+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
84+
}
85+
86+
/* roboto-mono-vietnamese-500-normal */
87+
@font-face {
88+
font-family: 'Roboto Mono';
89+
font-style: normal;
90+
font-display: swap;
91+
font-weight: 500;
92+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/vietnamese-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/vietnamese-500-normal.woff) format('woff');
93+
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
94+
}
95+
96+
/* roboto-mono-greek-500-normal */
97+
@font-face {
98+
font-family: 'Roboto Mono';
99+
font-style: normal;
100+
font-display: swap;
101+
font-weight: 500;
102+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/greek-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/greek-500-normal.woff) format('woff');
103+
unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
104+
}
105+
106+
/* roboto-mono-cyrillic-ext-500-normal */
107+
@font-face {
108+
font-family: 'Roboto Mono';
109+
font-style: normal;
110+
font-display: swap;
111+
font-weight: 500;
112+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-ext-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-ext-500-normal.woff) format('woff');
113+
unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
114+
}
115+
116+
/* roboto-mono-cyrillic-500-normal */
117+
@font-face {
118+
font-family: 'Roboto Mono';
119+
font-style: normal;
120+
font-display: swap;
121+
font-weight: 500;
122+
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/roboto-mono@latest/cyrillic-500-normal.woff) format('woff');
123+
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
59124
}

theme/style.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,15 @@
162162
margin-bottom:1rem;
163163
}
164164
}
165+
}
166+
167+
.coloredToolbox .blocklyTreeRoot div.blocklyTreeRow {
168+
border-width: 8px !important;
169+
padding-right: 0px;
170+
}
171+
172+
.pxtToolbox span.blocklyTreeLabel {
173+
font-weight: 500;
174+
font-size: 1rem;
175+
padding: 0;
165176
}

0 commit comments

Comments
 (0)