diff --git a/docs/static/avatar.svg b/docs/static/avatar.svg index c0320788..13fa9bd3 100644 --- a/docs/static/avatar.svg +++ b/docs/static/avatar.svg @@ -5,105 +5,53 @@ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/docs/static/fonts/icons/iconfont.css b/docs/static/fonts/icons/iconfont.css index 1bfee515..536e71ca 100644 --- a/docs/static/fonts/icons/iconfont.css +++ b/docs/static/fonts/icons/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; - src: url("iconfont.eot?8b7e57577c2d1f1ae9e810b9e010bc84?#iefix") format("embedded-opentype"), -url("iconfont.woff2?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff2"), -url("iconfont.woff?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff"); + src: url("iconfont.eot?92b07c6c5392088e45983d845234d068?#iefix") format("embedded-opentype"), +url("iconfont.woff2?92b07c6c5392088e45983d845234d068") format("woff2"), +url("iconfont.woff?92b07c6c5392088e45983d845234d068") format("woff"); } .icon { @@ -91,3 +91,6 @@ url("iconfont.woff?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff"); .icon-blocks:before { content: "\f119"; } +.icon-search:before { + content: "\f11a"; +} diff --git a/docs/static/fonts/icons/iconfont.eot b/docs/static/fonts/icons/iconfont.eot index 9ae2f1cd..4c19c2d3 100644 Binary files a/docs/static/fonts/icons/iconfont.eot and b/docs/static/fonts/icons/iconfont.eot differ diff --git a/docs/static/fonts/icons/iconfont.svg b/docs/static/fonts/icons/iconfont.svg index 9d8e10ae..7cb9ee20 100644 --- a/docs/static/fonts/icons/iconfont.svg +++ b/docs/static/fonts/icons/iconfont.svg @@ -82,6 +82,9 @@ + diff --git a/docs/static/fonts/icons/iconfont.ttf b/docs/static/fonts/icons/iconfont.ttf index aa6ad7c2..7f5742fc 100644 Binary files a/docs/static/fonts/icons/iconfont.ttf and b/docs/static/fonts/icons/iconfont.ttf differ diff --git a/docs/static/fonts/icons/iconfont.woff b/docs/static/fonts/icons/iconfont.woff index cb484789..4e16cf80 100644 Binary files a/docs/static/fonts/icons/iconfont.woff and b/docs/static/fonts/icons/iconfont.woff differ diff --git a/docs/static/fonts/icons/iconfont.woff2 b/docs/static/fonts/icons/iconfont.woff2 index 2e500895..480976d3 100644 Binary files a/docs/static/fonts/icons/iconfont.woff2 and b/docs/static/fonts/icons/iconfont.woff2 differ diff --git a/libs/core/shims.d.ts b/libs/core/shims.d.ts index 06e65464..13d27854 100644 --- a/libs/core/shims.d.ts +++ b/libs/core/shims.d.ts @@ -55,7 +55,8 @@ declare namespace control { * @param mode optional definition of how the event should be processed after construction. */ //% weight=21 blockGap=12 blockId="control_raise_event" - //% block="raise event|from %src|with value %value" blockExternalInputs=1 shim=control::raiseEvent + //% block="raise event|from %src|with value %value" blockExternalInputs=1 + //% help=control/raise-event shim=control::raiseEvent function raiseEvent(src: int32, value: int32): void; /** diff --git a/svgicons/categories/search.svg b/svgicons/categories/search.svg new file mode 100644 index 00000000..c180634a --- /dev/null +++ b/svgicons/categories/search.svg @@ -0,0 +1,11 @@ + + + + +color + + diff --git a/svgicons/generateIcons.js b/svgicons/generateIcons.js index 95debe97..ab6e8f22 100644 --- a/svgicons/generateIcons.js +++ b/svgicons/generateIcons.js @@ -26,7 +26,8 @@ webfontsGenerator({ "./icons/check.svg", "./icons/download.svg", "./icons/save.svg", - "./icons/blocks.svg" + "./icons/blocks.svg", + "./categories/search.svg" ], dest: '../docs/static/fonts/icons/', round: 10 diff --git a/theme/blockly.less b/theme/blockly.less index 4eb0ebd5..3e28c731 100644 --- a/theme/blockly.less +++ b/theme/blockly.less @@ -142,6 +142,10 @@ span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before { content: "\f114"; } +span.blocklyTreeIcon.blocklyTreeIconsearch::before { + content: "\f11a"; +} + .save-editortools-btn .icon.save:before { font-family: 'legoIcons'; content: "\f118";