pxt-core 12.3.11 → 12.3.12

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.
@@ -397,6 +397,7 @@ declare namespace pxt {
397
397
  lightToc?: boolean; // if true: do NOT use inverted style in docs toc
398
398
  // FIXME (riknoll): Can't use Blockly types here
399
399
  blocklyOptions?: any; // Blockly options, see Configuration: https://developers.google.com/blockly/guides/get-started/web
400
+ blocklyKeyboardControlsByDefault?: boolean; // if true, keyboard controls will be enabled by default in the blockly editor
400
401
  hideFlyoutHeadings?: boolean; // Hide the flyout headings at the top of the flyout when on a mobile device.
401
402
  monacoColors?: pxt.Map<string>; // Monaco theme colors, see https://code.visualstudio.com/docs/getstarted/theme-color-reference
402
403
  simAnimationEnter?: string; // Simulator enter animation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "12.3.11",
3
+ "version": "12.3.12",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
@@ -8,7 +8,7 @@ export interface LinkProps extends ContainerProps {
8
8
  title?: string;
9
9
  }
10
10
 
11
- export const Link = (props: LinkProps) => {
11
+ export const Link = React.forwardRef<HTMLAnchorElement, LinkProps>((props, ref) => {
12
12
  const {
13
13
  id,
14
14
  className,
@@ -29,6 +29,7 @@ export const Link = (props: LinkProps) => {
29
29
  <a
30
30
  id={id}
31
31
  className={classes}
32
+ ref={ref}
32
33
  aria-label={ariaLabel}
33
34
  href={href}
34
35
  target={target}
@@ -39,4 +40,4 @@ export const Link = (props: LinkProps) => {
39
40
  {children}
40
41
  </a>
41
42
  );
42
- }
43
+ });
package/theme/home.less CHANGED
@@ -218,6 +218,41 @@
218
218
  > .ui.card:first-child {
219
219
  margin: 1em 0;
220
220
  }
221
+
222
+ > .ui.card.selected {
223
+ border: @homeSelectedCardBorderSize solid var(--pxt-neutral-background1) !important;
224
+ z-index: @homeDetailViewSelectedCardZIndex;
225
+ }
226
+
227
+ > .ui.card.selected:hover {
228
+ transform: none;
229
+ }
230
+
231
+ > .ui.card.selected:after,
232
+ > .ui.card.selected:before {
233
+ top: 100%;
234
+ left: 50%;
235
+ border: solid transparent;
236
+ content: " ";
237
+ height: 0;
238
+ width: 0;
239
+ position: absolute;
240
+ pointer-events: none;
241
+ }
242
+
243
+ > .ui.card.selected:after {
244
+ border-color: var(--pxt-neutral-alpha0);
245
+ border-top-color: var(--pxt-neutral-background1);
246
+ border-width: 10px;
247
+ margin-left: -10px;
248
+ }
249
+
250
+ > .ui.card.selected:before {
251
+ border-color: var(--pxt-neutral-alpha0);
252
+ border-top-color: var(--pxt-neutral-stencil3);
253
+ border-width: 17px;
254
+ margin-left: -17px;
255
+ }
221
256
  }
222
257
 
223
258
  .search-detailview.detailview {
@@ -294,7 +329,9 @@
294
329
  padding-top: 1em;
295
330
  margin: 1em @carouselArrowSize;
296
331
  }
297
- .import-dialog-btn {
332
+ .import-dialog-btn,
333
+ .home-search-btn,
334
+ .go-back-btn {
298
335
  position: relative;
299
336
  z-index: 1; /* Move up so it's above the carousel container that has an offset margin */
300
337
  &:focus-visible {
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" data-rtl="/blb/rtlsemantic.css" href="/blb/semantic.css">
10
10
  <link rel="stylesheet" href="/blb/icons.css">
11
11
  <link rel="stylesheet" href="/blb/react-common-multiplayer.css">
12
- <script defer="defer" src="/blb/multiplayer/js/main.ebcd08f5.js"></script><link href="/blb/multiplayer/css/main.40f89d37.css" rel="stylesheet"></head>
12
+ <script defer="defer" src="/blb/multiplayer/js/main.ecd15ab6.js"></script><link href="/blb/multiplayer/css/main.40f89d37.css" rel="stylesheet"></head>
13
13
  <body class="pxt-theme-root">
14
14
  <noscript>You need to enable JavaScript to run this app.</noscript>
15
15
 
@@ -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
- <script defer="defer" src="/blb/skillmap/js/main.96a15e86.js"></script><link href="/blb/skillmap/css/main.450cb46e.css" rel="stylesheet"></head>
10
+ <script defer="defer" src="/blb/skillmap/js/main.1103bd6c.js"></script><link href="/blb/skillmap/css/main.450cb46e.css" rel="stylesheet"></head>
11
11
  <body class="pxt-theme-root">
12
12
  <noscript>You need to enable JavaScript to run this app.</noscript>
13
13
 
@@ -18,7 +18,7 @@
18
18
  <!-- <link rel="manifest" href="/teachertool-data/manifest.json" /> -->
19
19
  <title>MakeCode Code Evaluation</title>
20
20
  <script>var pxtConfig=null</script>
21
- <script defer="defer" src="/blb/teachertool/js/main.d36616a3.js"></script><link href="/blb/teachertool/css/main.8ef9c91e.css" rel="stylesheet"></head>
21
+ <script defer="defer" src="/blb/teachertool/js/main.f68a88f6.js"></script><link href="/blb/teachertool/css/main.8ef9c91e.css" rel="stylesheet"></head>
22
22
  <body class="pxt-theme-root">
23
23
  <noscript>You need to enable JavaScript to run this app.</noscript>
24
24
 
@@ -17,7 +17,7 @@
17
17
  <!-- <link rel="manifest" href="/tutorialtool-data/manifest.json" /> -->
18
18
  <title>MakeCode Tutorial Tool</title>
19
19
  <script>var pxtConfig=null</script>
20
- <script defer="defer" src="/blb/tutorialtool/js/main.a5a7b65c.js"></script><link href="/blb/tutorialtool/css/main.02bb1797.css" rel="stylesheet"></head>
20
+ <script defer="defer" src="/blb/tutorialtool/js/main.93fe6766.js"></script><link href="/blb/tutorialtool/css/main.02bb1797.css" rel="stylesheet"></head>
21
21
 
22
22
  <body>
23
23
  <noscript>You need to enable JavaScript to run this app.</noscript>