pxt-core 7.4.22 → 7.5.2

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.
@@ -124,6 +124,7 @@ declare class WorkspaceSearch {
124
124
  constructor(workspace: Blockly.WorkspaceSvg);
125
125
  protected workspace_: Blockly.WorkspaceSvg;
126
126
  protected htmlDiv_: HTMLDivElement;
127
+ protected inputElement_: HTMLInputElement;
127
128
  init(): void;
128
129
  protected createDom_(): void;
129
130
  protected addEvent_(node: Element, name: string, thisObject: Object, func: Function): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "7.4.22",
3
+ "version": "7.5.2",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -335,7 +335,7 @@
335
335
  }
336
336
  }
337
337
 
338
- @media only screen and (max-width: 1200px) and (min-width: 992px) {
338
+ @media @computerAndBelow {
339
339
  .profile-badges, .profile-badges-background {
340
340
  background-size: 25%;
341
341
  grid-template-columns: repeat(4, 1fr);
@@ -343,7 +343,7 @@
343
343
  }
344
344
  }
345
345
 
346
- @media only screen and (max-width: 991px) {
346
+ @media @tabletAndBelow {
347
347
  .profile-badges, .profile-badges-background {
348
348
  background-size: 33%;
349
349
  grid-template-columns: repeat(3, 1fr);
@@ -2,6 +2,23 @@
2
2
  @commonBorderColor: rgb(96, 94, 92);
3
3
  @commonBackgroundDisabledColor: rgb(243, 242, 241);
4
4
 
5
+ @mobileBreakpoint: 320px;
6
+ @tabletBreakpoint: 768px;
7
+ @computerBreakpoint: 992px;
8
+ @largeMonitorBreakpoint: 1200px;
9
+ @widescreenMonitorBreakpoint: 1920px;
10
+
11
+ @largestMobileScreen: (@tabletBreakpoint - 1px);
12
+ @largestTabletScreen: (@computerBreakpoint - 1px);
13
+ @largestSmallMonitor: (@largeMonitorBreakpoint - 1px);
14
+ @largestLargeMonitor: (@widescreenMonitorBreakpoint - 1px);
15
+
16
+ @mobileAndBelow: ~"only screen and (max-width: @{largestMobileScreen})";
17
+ @tabletAndBelow: ~"only screen and (max-width: @{largestTabletScreen})";
18
+ @computerAndBelow: ~"only screen and (max-width: @{largestSmallMonitor})";
19
+ @largeMonitorAndBelow: ~"only screen and (max-width: @{largestLargeMonitor})";
20
+
21
+
5
22
  /****************************************************
6
23
  * Buttons *
7
24
  ****************************************************/
package/theme/common.less CHANGED
@@ -9,6 +9,11 @@
9
9
  Layout
10
10
  *******************************/
11
11
 
12
+ @mobileAndBelow: ~"only screen and (max-width: @{largestMobileScreen})";
13
+ @tabletAndBelow: ~"only screen and (max-width: @{largestTabletScreen})";
14
+ @computerAndBelow: ~"only screen and (max-width: @{largestSmallMonitor})";
15
+ @largeMonitorAndBelow: ~"only screen and (max-width: @{largestLargeMonitor})";
16
+
12
17
  html {
13
18
  height: 100%;
14
19
  width: 100%;
@@ -194,19 +194,22 @@
194
194
  Tutorial Hint
195
195
  *******************************/
196
196
 
197
+ .tutorial-hint.ui.button,
197
198
  .tutorial-hint .ui.button {
198
199
  height: 3.2rem;
199
200
  width: 3.2rem;
200
201
  margin: 0;
201
202
  border-radius: 50%;
202
203
  font-size: @tutorialTitleFontSize;
203
- }
204
-
205
- .tutorial-hint .ui.button,
206
- .tutorial-hint .ui.button > i {
207
204
  display: flex;
208
205
  align-items: center;
209
206
  justify-content: center;
207
+
208
+ > i {
209
+ display: flex;
210
+ align-items: center;
211
+ justify-content: center;
212
+ }
210
213
  }
211
214
 
212
215
  // Overrides, largely using old tutorial hint CSS
@@ -584,6 +587,10 @@
584
587
  display: flex;
585
588
  align-items: center;
586
589
  margin: 0;
590
+
591
+ > .ui.button {
592
+ width: unset;
593
+ }
587
594
  }
588
595
 
589
596
  .tutorial-hint .tutorial-callout-button.ui.button {
@@ -7,7 +7,7 @@
7
7
  <link rel="stylesheet" data-rtl="/blb/rtlsemantic.css" href="/blb/semantic.css">
8
8
  <link rel="stylesheet" href="/blb/icons.css">
9
9
  <link rel="stylesheet" href="/blb/react-common-skillmap.css">
10
- <link href="/blb/skillmap/css/main.2d214a87.chunk.css" rel="stylesheet"></head>
10
+ <link href="/blb/skillmap/css/main.e0620cee.chunk.css" rel="stylesheet"></head>
11
11
  <body>
12
12
  <noscript>You need to enable JavaScript to run this app.</noscript>
13
13
 
@@ -28,5 +28,5 @@
28
28
  <!-- end usabilla live embed code -->
29
29
 
30
30
  <!-- @include thin-footer.html -->
31
- <script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this.webpackJsonpskillsmap=this.webpackJsonpskillsmap||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/blb/skillmap/js/2.f7cdfd75.chunk.js"></script><script src="/blb/skillmap/js/main.ace2b797.chunk.js"></script></body>
31
+ <script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this.webpackJsonpskillsmap=this.webpackJsonpskillsmap||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/blb/skillmap/js/2.f7cdfd75.chunk.js"></script><script src="/blb/skillmap/js/main.f6866fc6.chunk.js"></script></body>
32
32
  </html>