@digipair/skill-web-editor 0.5.13 → 0.5.15
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.
- package/index.cjs2.js +8 -6
- package/index.esm2.js +8 -6
- package/package.json +1 -1
- package/pins-to-blockly.cjs.js +2 -2
- package/pins-to-blockly.esm.js +2 -2
package/index.cjs2.js
CHANGED
|
@@ -3172,7 +3172,7 @@ class EditorElement extends s {
|
|
|
3172
3172
|
text: 'Your scene cannot be saved, invalid format',
|
|
3173
3173
|
position: 'center',
|
|
3174
3174
|
style: {
|
|
3175
|
-
'font-family': '
|
|
3175
|
+
'font-family': '"Poppins", sans-serif',
|
|
3176
3176
|
background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
|
|
3177
3177
|
},
|
|
3178
3178
|
duration: 3000
|
|
@@ -3259,6 +3259,8 @@ class EditorElement extends s {
|
|
|
3259
3259
|
render() {
|
|
3260
3260
|
return x`
|
|
3261
3261
|
<style>
|
|
3262
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
3263
|
+
|
|
3262
3264
|
.blocklyToolboxDiv {
|
|
3263
3265
|
background-color: ${this.menuBackgroundColor};
|
|
3264
3266
|
color: ${this.menuColor};
|
|
@@ -3310,7 +3312,7 @@ class EditorElement extends s {
|
|
|
3310
3312
|
top: 24px;
|
|
3311
3313
|
right: 24px;
|
|
3312
3314
|
border-radius: 100%;
|
|
3313
|
-
color: #
|
|
3315
|
+
color: #52DFDB;
|
|
3314
3316
|
width: 56px;
|
|
3315
3317
|
height: 56px;
|
|
3316
3318
|
line-height: 56px;
|
|
@@ -3318,7 +3320,7 @@ class EditorElement extends s {
|
|
|
3318
3320
|
transition: box-shadow 0.3s ease-in-out;
|
|
3319
3321
|
text-align: center;
|
|
3320
3322
|
font-weight: 500;
|
|
3321
|
-
background-color:${this.canSave ? '
|
|
3323
|
+
background-color:${this.canSave ? '#242E3B' : '#5F5F5F'} ;
|
|
3322
3324
|
cursor: pointer;"
|
|
3323
3325
|
class="material-icons"
|
|
3324
3326
|
aria-hidden="true"
|
|
@@ -3367,8 +3369,8 @@ let EditorService = class EditorService {
|
|
|
3367
3369
|
text: message,
|
|
3368
3370
|
position: 'center',
|
|
3369
3371
|
style: {
|
|
3370
|
-
'font-family': '
|
|
3371
|
-
background: '
|
|
3372
|
+
'font-family': '"Poppins", sans-serif',
|
|
3373
|
+
background: '#52DFDB'
|
|
3372
3374
|
},
|
|
3373
3375
|
duration: 3000
|
|
3374
3376
|
}).showToast();
|
|
@@ -3379,7 +3381,7 @@ let EditorService = class EditorService {
|
|
|
3379
3381
|
text: message,
|
|
3380
3382
|
position: 'center',
|
|
3381
3383
|
style: {
|
|
3382
|
-
'font-family': '
|
|
3384
|
+
'font-family': '"Poppins", sans-serif',
|
|
3383
3385
|
background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
|
|
3384
3386
|
},
|
|
3385
3387
|
duration: 3000
|
package/index.esm2.js
CHANGED
|
@@ -3170,7 +3170,7 @@ class EditorElement extends s {
|
|
|
3170
3170
|
text: 'Your scene cannot be saved, invalid format',
|
|
3171
3171
|
position: 'center',
|
|
3172
3172
|
style: {
|
|
3173
|
-
'font-family': '
|
|
3173
|
+
'font-family': '"Poppins", sans-serif',
|
|
3174
3174
|
background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
|
|
3175
3175
|
},
|
|
3176
3176
|
duration: 3000
|
|
@@ -3257,6 +3257,8 @@ class EditorElement extends s {
|
|
|
3257
3257
|
render() {
|
|
3258
3258
|
return x`
|
|
3259
3259
|
<style>
|
|
3260
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
3261
|
+
|
|
3260
3262
|
.blocklyToolboxDiv {
|
|
3261
3263
|
background-color: ${this.menuBackgroundColor};
|
|
3262
3264
|
color: ${this.menuColor};
|
|
@@ -3308,7 +3310,7 @@ class EditorElement extends s {
|
|
|
3308
3310
|
top: 24px;
|
|
3309
3311
|
right: 24px;
|
|
3310
3312
|
border-radius: 100%;
|
|
3311
|
-
color: #
|
|
3313
|
+
color: #52DFDB;
|
|
3312
3314
|
width: 56px;
|
|
3313
3315
|
height: 56px;
|
|
3314
3316
|
line-height: 56px;
|
|
@@ -3316,7 +3318,7 @@ class EditorElement extends s {
|
|
|
3316
3318
|
transition: box-shadow 0.3s ease-in-out;
|
|
3317
3319
|
text-align: center;
|
|
3318
3320
|
font-weight: 500;
|
|
3319
|
-
background-color:${this.canSave ? '
|
|
3321
|
+
background-color:${this.canSave ? '#242E3B' : '#5F5F5F'} ;
|
|
3320
3322
|
cursor: pointer;"
|
|
3321
3323
|
class="material-icons"
|
|
3322
3324
|
aria-hidden="true"
|
|
@@ -3365,8 +3367,8 @@ let EditorService = class EditorService {
|
|
|
3365
3367
|
text: message,
|
|
3366
3368
|
position: 'center',
|
|
3367
3369
|
style: {
|
|
3368
|
-
'font-family': '
|
|
3369
|
-
background: '
|
|
3370
|
+
'font-family': '"Poppins", sans-serif',
|
|
3371
|
+
background: '#52DFDB'
|
|
3370
3372
|
},
|
|
3371
3373
|
duration: 3000
|
|
3372
3374
|
}).showToast();
|
|
@@ -3377,7 +3379,7 @@ let EditorService = class EditorService {
|
|
|
3377
3379
|
text: message,
|
|
3378
3380
|
position: 'center',
|
|
3379
3381
|
style: {
|
|
3380
|
-
'font-family': '
|
|
3382
|
+
'font-family': '"Poppins", sans-serif',
|
|
3381
3383
|
background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
|
|
3382
3384
|
},
|
|
3383
3385
|
duration: 3000
|
package/package.json
CHANGED
package/pins-to-blockly.cjs.js
CHANGED
|
@@ -11,7 +11,7 @@ function getPinsBlockDefinition(library, methodData, pinsId) {
|
|
|
11
11
|
args2: [],
|
|
12
12
|
message3: '',
|
|
13
13
|
args3: [],
|
|
14
|
-
colour: '#
|
|
14
|
+
colour: '#b3aeee',
|
|
15
15
|
tooltip: 'library : ' + library.info.title,
|
|
16
16
|
inputsInline: false,
|
|
17
17
|
previousStatement: null,
|
|
@@ -450,7 +450,7 @@ function getSceneBlockDefinition(library, methodData, sceneBlockId) {
|
|
|
450
450
|
args2: [],
|
|
451
451
|
message3: '',
|
|
452
452
|
args3: [],
|
|
453
|
-
colour:
|
|
453
|
+
colour: '#212e3c',
|
|
454
454
|
tooltip: 'library : ' + library.info.title
|
|
455
455
|
};
|
|
456
456
|
const metadata = methodData.metadata || [];
|
package/pins-to-blockly.esm.js
CHANGED
|
@@ -9,7 +9,7 @@ function getPinsBlockDefinition(library, methodData, pinsId) {
|
|
|
9
9
|
args2: [],
|
|
10
10
|
message3: '',
|
|
11
11
|
args3: [],
|
|
12
|
-
colour: '#
|
|
12
|
+
colour: '#b3aeee',
|
|
13
13
|
tooltip: 'library : ' + library.info.title,
|
|
14
14
|
inputsInline: false,
|
|
15
15
|
previousStatement: null,
|
|
@@ -448,7 +448,7 @@ function getSceneBlockDefinition(library, methodData, sceneBlockId) {
|
|
|
448
448
|
args2: [],
|
|
449
449
|
message3: '',
|
|
450
450
|
args3: [],
|
|
451
|
-
colour:
|
|
451
|
+
colour: '#212e3c',
|
|
452
452
|
tooltip: 'library : ' + library.info.title
|
|
453
453
|
};
|
|
454
454
|
const metadata = methodData.metadata || [];
|