@robotical/martyblocksjr 1.1.0 → 1.2.0

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.
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="71.066666" viewBox="-20 0 155.8181 93.0762"
2
+ height="65.400002"><path d="M120.2917,51.3177c3.2338,8.6999,2.7201,18.4841-2.5938,27.2283-8.6366,14.3242-27.3046,18.6105-41.6288,9.9739-14.2671-8.8522-18.5534-27.5202-9.9168-41.8444,8.6366-14.3242,27.3046-18.6105,41.6288-9.9739,3.7539,2.3779,6.9053,5.2885,9.3402,9.1629h0l12.587-6.5882-32.8779-20.4692,3.2657-5.3644,42.4274,26.2269-22.2317,11.6482" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="92.4989" cy="62.1858" r="7.5827" fill="#1d1d1b"/><path d="M14.0041,23.1813L.4473,2.0592,50.2939,.259l.1267,6.4932-38.6992,1.5214,7.6788,11.9529h0c4.0329-2.1622,8.1546-2.9168,12.6504-3.3416,16.7212-.4183,30.8235,12.5429,31.2418,29.2641s-12.5429,30.8235-29.2641,31.2418c-16.7212,.4183-30.8235-12.5429-31.2418-29.2641-.2916-10.2281,4.1029-18.9849,11.2176-24.9454" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="33.0439" cy="47.1456" r="7.5827" fill="#1d1d1b"/><polygon points="50.6934 6.5937 4.5244 8.4447 .5043 1.8436 50.5095 .3161 50.6934 6.5937" fill="#1d1d1b"/><polygon points="99.8805 13.3855 142.5805 39.4539 135.8209 43.2014 96.6148 18.75 99.8805 13.3855" fill="#1d1d1b"/><circle cx="38.1552" cy="27.8372" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="27.9327" cy="66.4539" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="13.7356" cy="42.0343" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="52.3522" cy="52.2568" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="13.8789" cy="52.1616" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="19.1575" cy="61.1416" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="18.6246" cy="33.2391" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="28.0141" cy="27.6849" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="52.3428" cy="42.1649" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="47.1547" cy="33.3116" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="38.3673" cy="66.5067" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="47.3509" cy="61.0223" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="97.3908" cy="42.7524" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="87.1683" cy="81.369" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="72.9712" cy="56.9494" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="111.5879" cy="67.172" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="73.1145" cy="67.0767" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="78.3931" cy="76.0567" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="77.8602" cy="48.1542" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="87.2498" cy="42.6001" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="111.5784" cy="57.0801" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="106.3903" cy="48.2267" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="97.6029" cy="81.4218" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/><circle cx="106.5865" cy="75.9374" r="4.4046" fill="#fff" stroke="#0f0f0e" stroke-miterlimit="10" stroke-width=".25"/></svg>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg width="71.066666" viewBox="-20 0 155.8181 93.0762"
2
+ height="65.400002" id="a" xmlns="http://www.w3.org/2000/svg" ><path d="M120.1148,51.2423c3.229,8.6871,2.7161,18.4568-2.59,27.1881-8.6239,14.3031-27.2643,18.583-41.5674,9.9592-14.2461-8.8392-18.5261-27.4796-9.9022-41.7827,8.6239-14.3031,27.2643-18.583,41.5674-9.9592,3.7483,2.3744,6.8951,5.2807,9.3264,9.1493h0l12.5684-6.5784-32.8293-20.439,3.2609-5.3565,42.3647,26.1882-22.1989,11.631" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="92.363" cy="62.0944" r="7.5715" fill="#1d1d1b"/><path d="M13.9841,23.1475L.4473,2.0566,50.2204,.259l.1266,6.4836-38.6421,1.5191,7.6675,11.9353h0c4.027-2.159,8.1425-2.9125,12.6317-3.3366,16.6966-.4177,30.778,12.5244,31.1957,29.2209,.4177,16.6966-12.5244,30.778-29.2209,31.1957-16.6966,.4177-30.778-12.5244-31.1957-29.2209-.2911-10.213,4.0968-18.9569,11.201-24.9086" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="32.9958" cy="47.0763" r="7.5715" fill="#1d1d1b"/><polygon points="50.6192 6.5843 4.5184 8.4326 .5042 1.8413 50.4356 .316 50.6192 6.5843" fill="#1d1d1b"/><polygon points="99.7337 13.3661 142.3707 39.3961 135.6211 43.138 96.4728 18.7227 99.7337 13.3661" fill="#1d1d1b"/><circle cx="38.0996" cy="27.7965" r="4.3981" fill="#385ac6"/><circle cx="27.8921" cy="66.3561" r="4.3981" fill="#385ac6"/><circle cx="13.716" cy="41.9726" r="4.3981" fill="#c63838"/><circle cx="52.2756" cy="52.1801" r="4.3981" fill="#c63838"/><circle cx="13.8591" cy="52.085" r="4.3981" fill="#385ac6"/><circle cx="19.1299" cy="61.0517" r="4.3981" fill="#c63838"/><circle cx="18.5977" cy="33.1904" r="4.3981" fill="#385ac6"/><circle cx="27.9734" cy="27.6444" r="4.3981" fill="#c63838"/><circle cx="52.2662" cy="42.1031" r="4.3981" fill="#385ac6"/><circle cx="47.0857" cy="33.2628" r="4.3981" fill="#c63838"/><circle cx="38.3113" cy="66.4089" r="4.3981" fill="#c63838"/><circle cx="47.2816" cy="60.9326" r="4.3981" fill="#385ac6"/><circle cx="97.4098" cy="43.0299" r="4.3981" fill="#385ac6"/><circle cx="87.2023" cy="81.5895" r="4.3981" fill="#385ac6"/><circle cx="73.0262" cy="57.2059" r="4.3981" fill="#c63838"/><circle cx="111.5859" cy="67.4134" r="4.3981" fill="#c63838"/><circle cx="73.1693" cy="67.3183" r="4.3981" fill="#385ac6"/><circle cx="78.4401" cy="76.285" r="4.3981" fill="#c63838"/><circle cx="77.908" cy="48.4237" r="4.3981" fill="#385ac6"/><circle cx="87.2837" cy="42.8778" r="4.3981" fill="#c63838"/><circle cx="111.5764" cy="57.3364" r="4.3981" fill="#385ac6"/><circle cx="106.396" cy="48.4961" r="4.3981" fill="#c63838"/><circle cx="97.6216" cy="81.6422" r="4.3981" fill="#c63838"/><circle cx="106.5919" cy="76.1659" r="4.3981" fill="#385ac6"/></svg>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="71.066666" viewBox="-20 0 155.8181 93.0762"
2
+ height="65.400002"><path d="M119.9505,51.1723c3.2246,8.6751,2.7123,18.4315-2.5864,27.1507-8.612,14.2835-27.2269,18.5575-41.5103,9.9455-14.2265-8.827-18.5006-27.4419-9.8886-41.7253,8.612-14.2835,27.2269-18.5575,41.5103-9.9455,3.7432,2.3712,6.8856,5.2734,9.3136,9.1368h0l12.5511-6.5694-32.7843-20.4109,3.2564-5.3492,42.3066,26.1523-22.1684,11.615" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="92.2369" cy="62.0095" r="7.5611" fill="#1d1d1b"/><path d="M13.9655,23.1161L.4473,2.0541,50.1521,.259l.1264,6.4747-38.589,1.517,7.657,11.9189h0c4.0214-2.1561,8.1314-2.9085,12.6143-3.332,16.6736-.4171,30.7357,12.5072,31.1529,29.1808,.4171,16.6736-12.5072,30.7357-29.1808,31.1529-16.6736,.4171-30.7357-12.5072-31.1529-29.1808-.2907-10.1989,4.0912-18.9309,11.1856-24.8744" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="32.9512" cy="47.0121" r="7.5611" fill="#1d1d1b"/><polygon points="50.5503 6.5757 4.5128 8.4214 .5042 1.8391 50.367 .3159 50.5503 6.5757" fill="#1d1d1b"/><polygon points="99.5974 13.3481 142.1759 39.3424 135.4356 43.0791 96.341 18.6973 99.5974 13.3481" fill="#1d1d1b"/><circle cx="38.0479" cy="27.7587" r="4.3921" fill="#39c449"/><circle cx="27.8544" cy="66.2654" r="4.3921" fill="#39c449"/><circle cx="13.6978" cy="41.9154" r="4.3921" fill="#c4c439"/><circle cx="52.2045" cy="52.1088" r="4.3921" fill="#c4c439"/><circle cx="13.8407" cy="52.0139" r="4.3921" fill="#39c449"/><circle cx="19.1043" cy="60.9683" r="4.3921" fill="#c4c439"/><circle cx="18.5728" cy="33.1452" r="4.3921" fill="#39c449"/><circle cx="27.9357" cy="27.6069" r="4.3921" fill="#c4c439"/><circle cx="52.1951" cy="42.0456" r="4.3921" fill="#39c449"/><circle cx="47.0217" cy="33.2175" r="4.3921" fill="#c4c439"/><circle cx="38.2594" cy="66.3181" r="4.3921" fill="#c4c439"/><circle cx="47.2174" cy="60.8493" r="4.3921" fill="#39c449"/><circle cx="97.2767" cy="42.9712" r="4.3921" fill="#c4c439"/><circle cx="87.0833" cy="81.4779" r="4.3921" fill="#c4c439"/><circle cx="72.9266" cy="57.1278" r="4.3921" fill="#39c449"/><circle cx="111.4333" cy="67.3212" r="4.3921" fill="#39c449"/><circle cx="73.0695" cy="67.2263" r="4.3921" fill="#c4c439"/><circle cx="78.3331" cy="76.1807" r="4.3921" fill="#39c449"/><circle cx="77.8017" cy="48.3576" r="4.3921" fill="#c4c439"/><circle cx="87.1645" cy="42.8193" r="4.3921" fill="#39c449"/><circle cx="111.4239" cy="57.2581" r="4.3921" fill="#c4c439"/><circle cx="106.2506" cy="48.4299" r="4.3921" fill="#39c449"/><circle cx="97.4882" cy="81.5305" r="4.3921" fill="#39c449"/><circle cx="106.4462" cy="76.0617" r="4.3921" fill="#c4c439"/></svg>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="71.066666" viewBox="-20 0 155.8181 93.0762"
2
+ height="65.400002"><path d="M119.9292,51.1633c3.224,8.6736,2.7118,18.4282-2.586,27.1459-8.6105,14.2809-27.222,18.5542-41.5029,9.9437-14.224-8.8255-18.4973-27.437-9.8868-41.7179,8.6105-14.2809,27.222-18.5542,41.5029-9.9437,3.7425,2.3707,6.8844,5.2725,9.3119,9.1352h0l12.5489-6.5682-32.7784-20.4073,3.2558-5.3482,42.299,26.1476-22.1645,11.6129" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="92.2205" cy="61.9985" r="7.5597" fill="#1d1d1b"/><path d="M13.9631,23.112L.4473,2.0538,50.1432,.259l.1264,6.4736-38.5822,1.5168,7.6556,11.9167h0c4.0207-2.1557,8.1299-2.9079,12.6121-3.3314,16.6707-.417,30.7303,12.505,31.1473,29.1756,.417,16.6707-12.505,30.7303-29.1756,31.1473-16.6707,.417-30.7303-12.505-31.1473-29.1756-.2907-10.1971,4.0905-18.9275,11.1836-24.87" fill="#f2f2f1" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width=".5"/><circle cx="32.9454" cy="47.0037" r="7.5597" fill="#1d1d1b"/><polygon points="50.5414 6.5745 4.5121 8.4199 .5042 1.8389 50.3581 .3159 50.5414 6.5745" fill="#1d1d1b"/><polygon points="99.5797 13.3458 142.1506 39.3354 135.4115 43.0715 96.3239 18.694 99.5797 13.3458" fill="#1d1d1b"/><circle cx="38.0412" cy="27.7538" r="4.3913" fill="#6f39c4"/><circle cx="27.8495" cy="66.2537" r="4.3913" fill="#6f39c4"/><circle cx="13.6954" cy="41.9079" r="4.3913" fill="#c4c439"/><circle cx="52.1953" cy="52.0996" r="4.3913" fill="#c4c439"/><circle cx="13.8383" cy="52.0046" r="4.3913" fill="#40c439"/><circle cx="19.1009" cy="60.9574" r="4.3913" fill="#385ac6"/><circle cx="18.5696" cy="33.1393" r="4.3913" fill="#ff9700"/><circle cx="27.9308" cy="27.602" r="4.3913" fill="#c63838"/><circle cx="52.1858" cy="42.0382" r="4.3913" fill="#40c439"/><circle cx="47.0134" cy="33.2116" r="4.3913" fill="#385ac6"/><circle cx="38.2526" cy="66.3063" r="4.3913" fill="#c63838"/><circle cx="47.209" cy="60.8385" r="4.3913" fill="#ff9700"/><circle cx="97.0976" cy="42.6239" r="4.3913" fill="#6f39c4"/><circle cx="86.906" cy="81.1237" r="4.3913" fill="#6f39c4"/><circle cx="72.7519" cy="56.7779" r="4.3913" fill="#c4c439"/><circle cx="111.2517" cy="66.9696" r="4.3913" fill="#c4c439"/><circle cx="72.8947" cy="66.8746" r="4.3913" fill="#40c439"/><circle cx="78.1574" cy="75.8275" r="4.3913" fill="#385ac6"/><circle cx="77.6261" cy="48.0093" r="4.3913" fill="#ff9700"/><circle cx="86.9872" cy="42.472" r="4.3913" fill="#c63838"/><circle cx="111.2423" cy="56.9082" r="4.3913" fill="#40c439"/><circle cx="106.0699" cy="48.0817" r="4.3913" fill="#385ac6"/><circle cx="97.3091" cy="81.1763" r="4.3913" fill="#c63838"/><circle cx="106.2655" cy="75.7085" r="4.3913" fill="#ff9700"/></svg>
@@ -255,7 +255,7 @@ div.frame {
255
255
  position: relative;
256
256
  margin: ${css_vh(0)} ${css_vh(0)} ${css_vh(0)};
257
257
  height: ${64 * scaleMultiplier}px;
258
- width: ${800 * scaleMultiplier}px;
258
+ width: ${900 * scaleMultiplier}px;
259
259
  z-index:4;
260
260
  overflow: hidden;
261
261
  }
@@ -1005,6 +1005,76 @@ Blocks text fields and input fields
1005
1005
  height: ${css_vh(6.25)};
1006
1006
  font-size: ${css_vh(3.13)};
1007
1007
  }
1008
+ /* colour keyboard */
1009
+ *.colkeyboard {
1010
+ position: absolute;
1011
+ display: none;
1012
+ padding: ${css_vh(0)};
1013
+ margin: ${css_vh(0)};
1014
+ width: ${css_vh(23.44)};
1015
+ top: ${css_vh(71.61)};
1016
+ right: ${css_vh(1)};
1017
+ border: ${scaleMultiplier}px solid #B9C0C6;
1018
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0%,#ffffff), color-stop(1%,#ffffff), color-stop(100%,#F9F9F9));
1019
+ -webkit-border-radius: ${6 * scaleMultiplier}px;
1020
+ -webkit-box-shadow: ${2 * scaleMultiplier}px ${2 * scaleMultiplier}px ${css_vh(0)} #aaa;
1021
+ z-index: 1000;
1022
+ }
1023
+ *.colkeyboard.on {display: block;}
1024
+
1025
+ .colfield {
1026
+ position: absolute;
1027
+ margin: ${css_vh(0.00)};
1028
+ padding: ${css_vh(0.00)};
1029
+ border: 0px solid;
1030
+ height: ${css_vh(3.13)};
1031
+ width: ${css_vh(5.47)};
1032
+ top: ${css_vh(7.16)};
1033
+ left: ${css_vh(1.30)};
1034
+ color: #77787b;
1035
+ -moz-border-radius: ${12 * scaleMultiplier}px;
1036
+ -webkit-border-radius: ${12 * scaleMultiplier}px;
1037
+ border: ${2 * scaleMultiplier}px solid #c0c2c3;
1038
+ background: #ffffff;
1039
+ pointer-events: all;
1040
+ -webkit-transform: translateZ(0);
1041
+ }
1042
+ .colfield.on {
1043
+ -webkit-box-shadow: 0px ${scaleMultiplier}px ${scaleMultiplier}px rgba(40, 165, 218, 0.5);
1044
+ border: ${2 * scaleMultiplier}px solid #9dc7d5;
1045
+ background: #28A5DA;
1046
+ color: #ffffff;
1047
+ }
1048
+ .colfield-div {
1049
+ border-radius: 50%;
1050
+ height: 80%;
1051
+ width: 50%;
1052
+ margin: 6% 25%;
1053
+ }
1054
+
1055
+ *.colkeyboard.off { display: none;}
1056
+
1057
+ *.onecol {
1058
+ display: inline-block;
1059
+ position: relative;
1060
+ border-radius: 50%;
1061
+ cursor: pointer;
1062
+ width: ${css_vh(7)};
1063
+ height: ${css_vh(7)};
1064
+ margin: ${css_vh(0.26)};
1065
+ color: #999;
1066
+ line-height: ${css_vh(4.95)};
1067
+ font-size: ${css_vh(2.08)};
1068
+ font-family: Roboto;
1069
+ font-weight: bold;
1070
+ margin: ${css_vh(0.39)};
1071
+ text-shadow: 0 ${css_vh(0.13)} #fff;
1072
+ background-size: 100%;
1073
+ box-sizing: border-box;
1074
+ }
1075
+
1076
+ *.onecol:active { border: #28A5DA solid 2px; background-size: 100%; }
1077
+
1008
1078
 
1009
1079
  /* numric keyboard */
1010
1080
 
@@ -207,6 +207,60 @@
207
207
  <div class="block-description" id="BLOCK_WAVE_RIGHT_DESCRIPTION">
208
208
  </div>
209
209
  </div>
210
+ <div class="block-wrapper-right">
211
+
212
+ <div class="block-title" id="BLOCK_LED_EYES_P1">
213
+ </div>
214
+ <div class="block-image-wrapper">
215
+ <img class="block-image" src="images/marty_led_eyes_P1.png" />
216
+ </div>
217
+ <div class="block-description" id="BLOCK_LED_EYES_P1_DESCRIPTION">
218
+ </div>
219
+
220
+ </div>
221
+ </div>
222
+ <div class="block-wrapper">
223
+ <div class="block-wrapper-left">
224
+ <div class="block-title" id="BLOCK_LED_EYES_P2">
225
+ </div>
226
+ <div class="block-image-wrapper">
227
+ <img class="block-image" src="images/marty_led_eyes_P2.png" />
228
+ </div>
229
+ <div class="block-description" id="BLOCK_LED_EYES_P2_DESCRIPTION">
230
+ </div>
231
+ </div>
232
+ <div class="block-wrapper-right">
233
+ <div class="block-title" id="BLOCK_LED_EYES_P3">
234
+ </div>
235
+ <div class="block-image-wrapper">
236
+ <img class="block-image" src="images/marty_led_eyes_P3.png" />
237
+ </div>
238
+ <div class="block-description" id="BLOCK_LED_EYES_P3_DESCRIPTION">
239
+ </div>
240
+ </div>
241
+ </div>
242
+ <div class="block-wrapper">
243
+ <div class="block-wrapper-left">
244
+ <div class="block-title" id="BLOCK_LED_EYES_COLOUR">
245
+ </div>
246
+ <div class="block-image-wrapper">
247
+ <img class="block-image" src="images/marty_eyes_colour.png" />
248
+ </div>
249
+ <div class="block-description" id="BLOCK_LED_EYES_COLOUR_DESCRIPTION">
250
+ </div>
251
+ </div>
252
+ </div>
253
+ <div class="block-wrapper">
254
+ <div class="block-wrapper-left">
255
+ <div class="block-title" id="BLOCK_CELEBRATE">
256
+ </div>
257
+ <div class="block-image-wrapper">
258
+ <img class="block-image" src="images/celebrate.png" />
259
+ </div>
260
+ <div class="block-description" id="BLOCK_CELEBRATE_DESCRIPTION">
261
+ </div>
262
+ </div>
263
+ </div>
210
264
  </div>
211
265
  <div class="block-category-header" id="green-block-category-header">
212
266
  </div>
@@ -67,6 +67,16 @@
67
67
  "BLOCK_WAVE_LEFT_DESCRIPTION":"Wave Marty's left hand. (Needs to be connected to Marty)",
68
68
  "BLOCK_WAVE_RIGHT":"Wave Right Hand",
69
69
  "BLOCK_WAVE_RIGHT_DESCRIPTION":"Wave Marty's right hand. (Needs to be connected to Marty)",
70
+ "BLOCK_LED_EYES_P1":"Eyes Colour Cyan Magenta",
71
+ "BLOCK_LED_EYES_P1_DESCRIPTION":"Set the colour of Marty's eyes to cyan-magenta-cyan pattern. (Needs to be connected to Marty)",
72
+ "BLOCK_LED_EYES_P2":"Eyes Colour Green Yellow",
73
+ "BLOCK_LED_EYES_P2_DESCRIPTION":"Set the colour of Marty's eyes to green-yellow-green pattern. (Needs to be connected to Marty)",
74
+ "BLOCK_LED_EYES_P3":"Eyes Colour Celebrate",
75
+ "BLOCK_LED_EYES_P3_DESCRIPTION":"Set the colour of Marty's eyes to the Celebrate pattern. (Needs to be connected to Marty)",
76
+ "BLOCK_LED_EYES_COLOUR":"Set Eyes Colour",
77
+ "BLOCK_LED_EYES_COLOUR_DESCRIPTION":"Set the colour of Marty's eyes (Needs to be connected to Marty)",
78
+ "BLOCK_CELEBRATE":"Marty Celebrate!",
79
+ "BLOCK_CELEBRATE_DESCRIPTION":"Marty celebrates. (Needs to be connected to Marty)",
70
80
  "BLOCKS_SAY": "Say",
71
81
  "BLOCKS_SAY_DESCRIPTION": "Shows a specified message in a speech bubble above the character.",
72
82
  "BLOCKS_GROW": "Grow",
@@ -28,3 +28,33 @@
28
28
  at processTicksAndRejections (node:internal/process/task_queues:96:5)
29
29
  [error]
30
30
  [error] Error: Failed to get Firebase project scratchjr-eb736. Please make sure the project exists and your account has permission to access it.
31
+ [debug] [2022-09-08T11:32:01.398Z] ----------------------------------------------------------------------
32
+ [debug] [2022-09-08T11:32:01.401Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy
33
+ [debug] [2022-09-08T11:32:01.402Z] CLI Version: 11.4.2
34
+ [debug] [2022-09-08T11:32:01.402Z] Platform: darwin
35
+ [debug] [2022-09-08T11:32:01.403Z] Node Version: v16.15.0
36
+ [debug] [2022-09-08T11:32:01.404Z] Time: Thu Sep 08 2022 14:32:01 GMT+0300 (Eastern European Summer Time)
37
+ [debug] [2022-09-08T11:32:01.405Z] ----------------------------------------------------------------------
38
+ [debug]
39
+ [debug] [2022-09-08T11:32:01.492Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
40
+ [debug] [2022-09-08T11:32:01.492Z] > authorizing via signed-in user (nikos@robotical.io)
41
+ [debug] [2022-09-08T11:32:01.492Z] [iam] checking project scratchjr-eb736 for permissions ["firebase.projects.get","firebasehosting.sites.update"]
42
+ [debug] [2022-09-08T11:32:01.494Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/scratchjr-eb736:testIamPermissions [none]
43
+ [debug] [2022-09-08T11:32:01.494Z] >>> [apiv2][(partial)header] POST https://cloudresourcemanager.googleapis.com/v1/projects/scratchjr-eb736:testIamPermissions x-goog-quota-user=projects/scratchjr-eb736
44
+ [debug] [2022-09-08T11:32:01.495Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/scratchjr-eb736:testIamPermissions {"permissions":["firebase.projects.get","firebasehosting.sites.update"]}
45
+ [debug] [2022-09-08T11:32:02.625Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/scratchjr-eb736:testIamPermissions 200
46
+ [debug] [2022-09-08T11:32:02.626Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/scratchjr-eb736:testIamPermissions {}
47
+ [debug] [2022-09-08T11:32:02.626Z] [iam] error while checking permissions, command may fail: FirebaseError: Authorization failed. This account is missing the following required permissions on project scratchjr-eb736:
48
+
49
+ firebase.projects.get
50
+ firebasehosting.sites.update
51
+ [debug] [2022-09-08T11:32:02.627Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/scratchjr-eb736 [none]
52
+ [debug] [2022-09-08T11:32:03.232Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/scratchjr-eb736 403
53
+ [debug] [2022-09-08T11:32:03.232Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/scratchjr-eb736 {"error":{"code":403,"message":"The caller does not have permission","status":"PERMISSION_DENIED"}}
54
+ [debug] [2022-09-08T11:32:03.234Z] HTTP Error: 403, The caller does not have permission
55
+ [debug] [2022-09-08T11:32:03.453Z] FirebaseError: HTTP Error: 403, The caller does not have permission
56
+ at responseToError (/usr/local/lib/node_modules/firebase-tools/lib/responseToError.js:49:12)
57
+ at RetryOperation._fn (/usr/local/lib/node_modules/firebase-tools/lib/apiv2.js:288:77)
58
+ at processTicksAndRejections (node:internal/process/task_queues:96:5)
59
+ [error]
60
+ [error] Error: Failed to get Firebase project scratchjr-eb736. Please make sure the project exists and your account has permission to access it.
@@ -0,0 +1,20 @@
1
+ export WebappHome=/Users/nikolastheodoropoulos/Documents/Robotical/marty-web-app
2
+ export MBJRHome=/Users/nikolastheodoropoulos/Documents/Robotical/phone-app/scratch/scratchjr
3
+
4
+
5
+ export gui_original=$MBJRHome/scratch-gui
6
+
7
+ alias cdhome='cd $MBJRHome'
8
+ alias sourceMBJRProf='cdhome && source martyBlocksCliProfile'
9
+
10
+ buildAllAndCpToWebApp () {
11
+ local type="${1:-debug}"
12
+ if [ $type = debug ]; then npm run build:copy; fi
13
+ if [ $type = prod ]; then npm run build-prod:copy; fi
14
+ cpToWebapp
15
+ }
16
+
17
+ cpToWebapp () {
18
+ rm -rf $WebappHome/public/MartyBlocksJR/*
19
+ cp -r $MBJRHome/editions/free/src/* $WebappHome/public/MartyBlocksJR
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/martyblocksjr",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "ScratchJr",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -54,6 +54,7 @@
54
54
  "intl-messageformat": "^1.2.0",
55
55
  "jszip": "^2.5.0",
56
56
  "path-browserify": "^1.0.1",
57
+ "semver": "^7.3.7",
57
58
  "snapsvg": "^0.3.0",
58
59
  "sql.js": "^1.6.2",
59
60
  "stream-browserify": "^3.0.0",