uil 4.0.9 → 4.2.1

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.
@@ -21,7 +21,8 @@ const R = {
21
21
  current:-1,
22
22
 
23
23
  needReZone: true,
24
- isEventsInit: false,
24
+ needResize:false,
25
+ isEventsInit: false,
25
26
  isLeave:false,
26
27
 
27
28
  downTime:0,
@@ -179,8 +180,6 @@ const R = {
179
180
 
180
181
  resize: function () {
181
182
 
182
- R.needReZone = true;
183
-
184
183
  let i = R.ui.length, u;
185
184
 
186
185
  while( i-- ){
@@ -190,6 +189,9 @@ const R = {
190
189
 
191
190
  }
192
191
 
192
+ R.needReZone = true;
193
+ R.needResize = false;
194
+
193
195
  },
194
196
 
195
197
  out: function () {
@@ -223,6 +225,8 @@ const R = {
223
225
 
224
226
  if( R.prevDefault.indexOf( event.type ) !== -1 ) event.preventDefault();
225
227
 
228
+ if( R.needResize ) R.resize();
229
+
226
230
  R.findZone();
227
231
 
228
232
  let e = R.e;
@@ -1015,13 +1019,13 @@ const T = {
1015
1019
 
1016
1020
 
1017
1021
  //fontFamily: 'Tahoma',
1018
- fontFamily: 'Consolas,monaco,monospace',
1022
+ fontFamily: 'Consolas, monaco, monospace',
1023
+ //fontFamily: "'Roboto Mono', 'Source Code Pro', Menlo, Courier, monospace",
1019
1024
  fontWeight: 'normal',
1020
- fontShadow: '#000',
1025
+ fontShadow: 'none',//'#000',
1021
1026
  fontSize:12,
1022
1027
 
1023
-
1024
- radius:4,
1028
+ radius:2,
1025
1029
  hide: 'rgba(0,0,0,0)',
1026
1030
 
1027
1031
  },
@@ -1063,9 +1067,13 @@ const T = {
1063
1067
  object:'M 10 1 L 7 4 4 1 1 1 1 13 4 13 4 5 7 8 10 5 10 13 13 13 13 1 10 1 Z',
1064
1068
  none:'M 9 5 L 5 5 5 9 9 9 9 5 Z',
1065
1069
  cursor:'M 4 7 L 1 10 1 12 2 13 4 13 7 10 9 14 14 0 0 5 4 7 Z',
1070
+ load:'M 14 8 L 12 8 12 12 2 12 2 8 0 8 0 14 14 14 14 8 M 8 5 L 8 0 6 0 6 5 3 5 7 9 11 5 8 5 Z',
1066
1071
 
1067
1072
  },
1068
1073
 
1074
+ rezone () {
1075
+ Roots.needReZone = true;
1076
+ },
1069
1077
 
1070
1078
  getImput: function(){
1071
1079
 
@@ -1102,17 +1110,22 @@ const T = {
1102
1110
  if( shadow === undefined ) shadow = cc.fontShadow;
1103
1111
  if( weight === undefined ) weight = cc.fontWeight;
1104
1112
  if( color === undefined ) color = cc.text;
1113
+
1114
+ if( isNaN(size) ){ if( size.search('em')===-1 ) size += 'px';}
1115
+ else size += 'px';
1105
1116
 
1106
1117
 
1107
1118
  let align = 'display:flex; justify-content:left; align-items:center; text-align:left;';
1108
1119
 
1109
- T.css.txt = T.css.basic + align + 'font-family:'+ font +'; font-weight:'+weight+'; font-size:'+size+'px; color:'+cc.text+'; padding:0px 10px; left:0; top:2px; height:16px; width:100px; overflow:hidden; white-space: nowrap;';
1120
+ T.css.txt = T.css.basic + align + ' font-family:'+ font +'; font-weight:'+weight+'; font-size:'+size+'; color:'+cc.text+'; padding:0px 10px; left:0; top:2px; height:16px; width:100px; overflow:hidden; white-space: nowrap; letter-spacing: normal;';
1110
1121
  if( shadow !== 'none' ) T.css.txt += ' text-shadow: 1px 1px 1px '+shadow+';';
1111
1122
 
1112
1123
  T.css.txtselect = T.css.txt + 'padding:0px 4px; border:1px dashed ' + cc.border + ';';
1113
1124
  //T.css.item = T.css.txt + ' position:relative; margin-bottom:1px; '//display:block; padding:4px 4px;';//
1114
1125
  T.css.item = T.css.txt + ' position:relative; margin-bottom:1px; display:block; padding:2px 4px;';//
1115
1126
 
1127
+ //console.log( T.css.txt )
1128
+
1116
1129
  },
1117
1130
 
1118
1131
 
@@ -1732,7 +1745,7 @@ class Files {
1732
1745
  let t = [];
1733
1746
 
1734
1747
  switch( type ){
1735
- case 'json':
1748
+ case 'svg':
1736
1749
  t = [ { accept: { 'image/svg+xml': '.svg'} }, ];
1737
1750
  break;
1738
1751
  case 'text':
@@ -1796,14 +1809,20 @@ class Files {
1796
1809
 
1797
1810
  let content = e.target.result;
1798
1811
 
1799
- if( type === 'image' ){
1800
- var img = new Image;
1801
- img.onload = function() {
1802
- if( o.callback ) o.callback( img, fname );
1803
- };
1804
- img.src = content;
1805
- } else {
1806
- if( o.callback ) o.callback( content, fname );
1812
+ switch(type){
1813
+ case 'image':
1814
+ let img = new Image;
1815
+ img.onload = function() {
1816
+ if( o.callback ) o.callback( img, fname );
1817
+ };
1818
+ img.src = content;
1819
+ break;
1820
+ case 'json':
1821
+ if( o.callback ) o.callback( JSON.parse( content ), fname );
1822
+ break;
1823
+ default:
1824
+ if( o.callback ) o.callback( content, fname );
1825
+ break;
1807
1826
  }
1808
1827
 
1809
1828
  };
@@ -1811,6 +1830,7 @@ class Files {
1811
1830
  } catch(e) {
1812
1831
 
1813
1832
  console.log(e);
1833
+ if( o.callback ) o.callback( null );
1814
1834
 
1815
1835
  }
1816
1836
 
@@ -1880,7 +1900,7 @@ class Files {
1880
1900
  // create a FileSystemWritableFileStream to write to
1881
1901
  const file = await handle.createWritable();
1882
1902
 
1883
- let blob = new Blob([ options.data ], { type: option.finalType });
1903
+ let blob = new Blob([ options.data ], { type: options.finalType });
1884
1904
 
1885
1905
  // write our file
1886
1906
  await file.write(blob);
@@ -2178,7 +2198,7 @@ class Proto {
2178
2198
  // for listening object
2179
2199
  this.objectLink = null;
2180
2200
  this.isSend = false;
2181
- this.val = null;
2201
+ this.objectKey = null;
2182
2202
 
2183
2203
  this.txt = o.name || '';
2184
2204
  this.name = o.rename || this.txt;
@@ -2306,10 +2326,16 @@ class Proto {
2306
2326
  }
2307
2327
 
2308
2328
 
2329
+
2330
+
2331
+ }
2332
+
2333
+ addTransition(){
2334
+
2309
2335
  if( this.baseH && this.transition && this.isUI ){
2310
2336
  this.c[0].style.transition = 'height '+this.transition+'s ease-out';
2311
2337
  }
2312
-
2338
+
2313
2339
  }
2314
2340
 
2315
2341
  // from Tools
@@ -2432,7 +2458,7 @@ class Proto {
2432
2458
  if( this.isSend ) return;
2433
2459
  if( this.isEdit ) return;
2434
2460
 
2435
- this.setValue( this.objectLink[ this.val ] );
2461
+ this.setValue( this.objectLink[ this.objectKey ] );
2436
2462
 
2437
2463
  }
2438
2464
 
@@ -2498,8 +2524,8 @@ class Proto {
2498
2524
  if( v instanceof Array && v.length === 1 ) v = v[0];
2499
2525
 
2500
2526
  this.isSend = true;
2501
- if( this.objectLink !== null ) this.objectLink[ this.val ] = v;
2502
- if( this.callback ) this.callback( v, this.val );
2527
+ if( this.objectLink !== null ) this.objectLink[ this.objectKey ] = v;
2528
+ if( this.callback ) this.callback( v, this.objectKey );
2503
2529
  this.isSend = false;
2504
2530
 
2505
2531
  }
@@ -2510,7 +2536,7 @@ class Proto {
2510
2536
  if( v instanceof Array && v.length === 1 ) v = v[0];
2511
2537
 
2512
2538
  if( this.endCallback ) this.endCallback( v );
2513
- if( this.objectLink !== null ) this.objectLink[ this.val ] = v;
2539
+ if( this.objectLink !== null ) this.objectLink[ this.objectKey ] = v;
2514
2540
 
2515
2541
  }
2516
2542
 
@@ -2579,8 +2605,7 @@ class Proto {
2579
2605
 
2580
2606
  rSize() {
2581
2607
 
2582
- if( !this.autoWidth ) return;
2583
-
2608
+ if( !this.autoWidth ) return
2584
2609
  if( !this.isUI ) this.s[0].width = this.w + 'px';
2585
2610
  if( !this.simple ) this.s[1].width = this.sa + 'px';
2586
2611
 
@@ -2657,10 +2682,10 @@ class Proto {
2657
2682
  // object referency
2658
2683
  // ----------------------
2659
2684
 
2660
- setReferency( obj, val ) {
2685
+ setReferency( obj, key ) {
2661
2686
 
2662
2687
  this.objectLink = obj;
2663
- this.val = val;
2688
+ this.objectKey = key;
2664
2689
 
2665
2690
  }
2666
2691
 
@@ -2674,8 +2699,9 @@ class Proto {
2674
2699
 
2675
2700
  open () {
2676
2701
 
2677
- if( this.isOpen ) return;
2702
+ if( this.isOpen ) return
2678
2703
  this.isOpen = true;
2704
+ Roots.needResize = true;
2679
2705
  if( this.openCallback ) this.openCallback();
2680
2706
 
2681
2707
  }
@@ -2684,6 +2710,7 @@ class Proto {
2684
2710
 
2685
2711
  if( !this.isOpen ) return
2686
2712
  this.isOpen = false;
2713
+ Roots.needResize = true;
2687
2714
  if( this.closeCallback ) this.closeCallback();
2688
2715
 
2689
2716
  }
@@ -2932,7 +2959,7 @@ class Button extends Proto {
2932
2959
  if( !o.value && !o.values ){
2933
2960
  if( this.c[1] !== undefined ) {
2934
2961
  this.c[1].textContent = '';
2935
- this.txt = '';
2962
+ //this.txt = ''
2936
2963
  }
2937
2964
  }
2938
2965
  if( !this.txt ) this.p = 0;
@@ -3860,7 +3887,7 @@ class Fps extends Proto {
3860
3887
  s[1].marginLeft = '10px';
3861
3888
  s[1].lineHeight = this.h-4;
3862
3889
  s[1].color = this.colors.text;
3863
- s[1].fontWeight = 'bold';
3890
+ //s[1].fontWeight = 'bold';
3864
3891
 
3865
3892
  if( this.radius !== 0 ) s[0].borderRadius = this.radius+'px';
3866
3893
  if( this.colors.gborder!=='none') s[0].border = '1px solid ' + this.colors.gborder;
@@ -4439,7 +4466,7 @@ class Group extends Proto {
4439
4466
  s[1].marginLeft = (10+this.decal)+'px';
4440
4467
  s[1].lineHeight = this.h-4;
4441
4468
  s[1].color = this.colors.text;
4442
- s[1].fontWeight = 'bold';
4469
+ //s[1].fontWeight = 'bold';
4443
4470
 
4444
4471
  if( this.radius !== 0 ) s[0].borderRadius = this.radius+'px';
4445
4472
  this.init();
@@ -6337,20 +6364,15 @@ class Numeric extends Proto {
6337
6364
 
6338
6365
  if( this.isVector ){
6339
6366
 
6340
- this.objectLink[ this.val ].fromArray( v );
6341
-
6342
- /*this.objectLink[ this.val ].x = v[0];
6343
- this.objectLink[ this.val ].y = v[1];
6344
- this.objectLink[ this.val ].z = v[2];
6345
- if( v[3] ) this.objectLink[ this.val ].w = v[3];*/
6367
+ this.objectLink[ this.objectKey ].fromArray( v );
6346
6368
 
6347
6369
  } else {
6348
- this.objectLink[ this.val ] = v;
6370
+ this.objectLink[ this.objectKey ] = v;
6349
6371
  }
6350
6372
 
6351
6373
  }
6352
6374
 
6353
- if( this.callback ) this.callback( v, this.val );
6375
+ if( this.callback ) this.callback( v, this.objectKey );
6354
6376
 
6355
6377
  this.isSend = false;
6356
6378
 
@@ -6707,7 +6729,7 @@ class TextInput extends Proto {
6707
6729
 
6708
6730
  this.cmode = 0;
6709
6731
 
6710
- this.value = o.value || '';
6732
+ this.value = o.value !== undefined ? o.value : '';
6711
6733
  this.placeHolder = o.placeHolder || '';
6712
6734
 
6713
6735
  this.allway = o.allway || false;
@@ -6950,16 +6972,17 @@ class Select extends Proto {
6950
6972
 
6951
6973
  this.onActif = o.onActif || function(){};
6952
6974
 
6953
- o.prefix || '';
6975
+ //let prefix = o.prefix || '';
6976
+ const cc = this.colors;
6954
6977
 
6955
- this.c[2] = this.dom( 'div', this.css.txt + this.css.button + ' top:1px; background:'+this.colors.button+'; height:'+(this.h-2)+'px; border:'+this.colors.buttonBorder+'; border-radius:15px; width:30px; left:10px;' );
6956
- this.c[2].style.color = this.fontColor;
6978
+ this.c[2] = this.dom( 'div', this.css.txt + this.css.button + ' top:1px; background:'+cc.button+'; height:'+(this.h-2)+'px; border:'+ cc.buttonBorder+'; border-radius:15px; width:30px; left:10px;' );
6979
+ //this.c[2].style.color = this.fontColor;
6957
6980
 
6958
- this.c[3] = this.dom( 'div', this.css.txtselect + 'height:' + (this.h-4) + 'px; background:' + this.colors.inputBg + '; borderColor:' + this.colors.inputBorder+'; border-radius:'+this.radius+'px;' );
6981
+ this.c[3] = this.dom( 'div', this.css.txtselect + 'height:' + (this.h-4) + 'px; background:' + cc.inputBg + '; borderColor:' + cc.inputBorder+'; border-radius:'+this.radius+'px;' );
6959
6982
  this.c[3].textContent = this.value;
6960
6983
 
6961
6984
  let fltop = Math.floor(this.h*0.5)-7;
6962
- this.c[4] = this.dom( 'path', this.css.basic + 'position:absolute; width:14px; height:14px; left:5px; top:'+fltop+'px;', { d:this.svgs[ 'cursor' ], fill:this.fontColor, stroke:'none'});
6985
+ this.c[4] = this.dom( 'path', this.css.basic + 'position:absolute; width:14px; height:14px; left:5px; top:'+fltop+'px;', { d:this.svgs[ 'cursor' ], fill:cc.text, stroke:'none'});
6963
6986
 
6964
6987
  this.stat = 1;
6965
6988
  this.isActif = false;
@@ -7071,8 +7094,8 @@ class Select extends Proto {
7071
7094
  switch( n ){
7072
7095
 
7073
7096
  case 1: this.s[ 2 ].color = cc.text; this.s[ 2 ].background = cc.button; break; // base
7074
- case 2: this.s[ 2 ].color = cc.textOver; this.s[ 2 ].background = cc.over; break; // over
7075
- case 3: this.s[ 2 ].color = cc.textSelect; this.s[ 2 ].background = cc.select; break; // down
7097
+ case 2: this.s[ 2 ].color = cc.textOver; this.s[ 2 ].background = cc.overoff; break; // over
7098
+ case 3: this.s[ 2 ].color = cc.textOver; this.s[ 2 ].background = cc.action; break; // down
7076
7099
  case 4: this.s[ 2 ].color = cc.textSelect; this.s[ 2 ].background = cc.action; break; // actif
7077
7100
 
7078
7101
  }
@@ -7085,6 +7108,209 @@ class Select extends Proto {
7085
7108
 
7086
7109
 
7087
7110
 
7111
+ }
7112
+
7113
+ reset () {
7114
+
7115
+ this.cursor();
7116
+ return this.mode( this.isActif ? 4 : 1 );
7117
+
7118
+ }
7119
+
7120
+ text ( txt ) {
7121
+
7122
+ this.c[3].textContent = txt;
7123
+
7124
+ }
7125
+
7126
+ rSize () {
7127
+
7128
+ super.rSize();
7129
+
7130
+ let s = this.s;
7131
+ s[2].left = this.sa + 'px';
7132
+ s[3].left = (this.sa + 40) + 'px';
7133
+ s[3].width = (this.sb - 40) + 'px';
7134
+ s[4].left = (this.sa+8) + 'px';
7135
+
7136
+ }
7137
+
7138
+ }
7139
+
7140
+ class Bitmap extends Proto {
7141
+
7142
+ constructor( o = {} ) {
7143
+
7144
+ super( o );
7145
+
7146
+ this.value = o.value || '';
7147
+ this.refTexture = o.texture || null;
7148
+ this.img = null;
7149
+
7150
+ this.isDown = false;
7151
+ this.neverlock = true;
7152
+
7153
+
7154
+
7155
+ const cc = this.colors;
7156
+
7157
+ this.c[2] = this.dom( 'div', this.css.txt + this.css.button + ' top:1px; background:'+cc.button+'; height:'+(this.h-2)+'px; border:'+cc.buttonBorder+'; border-radius:15px; width:30px; left:10px;' );
7158
+
7159
+ this.c[3] = this.dom( 'div', this.css.txtselect + 'height:' + (this.h-4) + 'px; background:' + cc.inputBg + '; borderColor:' + cc.inputBorder+'; border-radius:'+this.radius+'px;' );
7160
+ this.c[3].textContent = this.value;
7161
+
7162
+ let fltop = Math.floor(this.h*0.5)-7;
7163
+ this.c[4] = this.dom( 'path', this.css.basic + 'position:absolute; width:14px; height:14px; left:5px; top:'+fltop+'px;', { d:this.svgs[ 'load' ], fill:cc.text, stroke:'none'});
7164
+
7165
+ this.stat = 1;
7166
+
7167
+ this.init();
7168
+
7169
+ }
7170
+
7171
+ testZone ( e ) {
7172
+
7173
+ let l = this.local;
7174
+ if( l.x === -1 && l.y === -1 ) return '';
7175
+ if( l.x > this.sa && l.x < this.sa+30 ) return 'over';
7176
+ return '0'
7177
+
7178
+ }
7179
+
7180
+ // ----------------------
7181
+ // EVENTS
7182
+ // ----------------------
7183
+
7184
+ mouseup ( e ) {
7185
+
7186
+ if( this.isDown ){
7187
+ //this.value = false;
7188
+ this.isDown = false;
7189
+ //this.send();
7190
+ return this.mousemove( e );
7191
+ }
7192
+
7193
+ return false;
7194
+
7195
+ }
7196
+
7197
+ mousedown ( e ) {
7198
+
7199
+ let name = this.testZone( e );
7200
+
7201
+ if( !name ) return false;
7202
+
7203
+ if( name === 'over' ){
7204
+ this.isDown = true;
7205
+ Files.load( { callback:this.changeBitmap.bind(this) } );
7206
+
7207
+ }
7208
+
7209
+
7210
+ //this.value = this.values[ name-2 ];
7211
+ //this.send();
7212
+ return this.mousemove( e );
7213
+
7214
+ }
7215
+
7216
+ mousemove ( e ) {
7217
+
7218
+ let up = false;
7219
+
7220
+ let name = this.testZone( e );
7221
+ //let sel = false;
7222
+
7223
+
7224
+
7225
+ //console.log(name)
7226
+
7227
+ if( name === 'over' ){
7228
+ this.cursor('pointer');
7229
+ up = this.mode( this.isDown ? 3 : 2 );
7230
+ } else {
7231
+ up = this.reset();
7232
+ }
7233
+
7234
+ return up;
7235
+
7236
+ }
7237
+
7238
+ // ----------------------
7239
+
7240
+ changeBitmap( img, fname ){
7241
+
7242
+ if( img ){
7243
+ this.img = img;
7244
+ this.apply( fname );
7245
+ } else {
7246
+ this.img = null;
7247
+ this.apply( 'null' );
7248
+ }
7249
+
7250
+ }
7251
+
7252
+ // ----------------------
7253
+
7254
+ apply ( v ) {
7255
+
7256
+ v = v || '';
7257
+
7258
+ if( v !== this.value ) {
7259
+ this.value = v;
7260
+ this.c[3].textContent = this.value;
7261
+
7262
+ if( this.img !== null ){
7263
+ if( this.objectLink !== null ) this.objectLink[ this.val ] = v;
7264
+ if( this.callback ) this.callback( v, this.img, this.name );
7265
+ }
7266
+
7267
+ }
7268
+
7269
+ this.mode(1);
7270
+
7271
+ }
7272
+
7273
+ update () {
7274
+
7275
+ this.mode( 3 );
7276
+
7277
+ }
7278
+
7279
+ mode ( n ) {
7280
+
7281
+ let change = false;
7282
+ let cc = this.colors;
7283
+
7284
+ if( this.stat !== n ){
7285
+
7286
+ /*if( n===1 ) this.isActif = false
7287
+
7288
+ if( n===3 ){
7289
+ if( !this.isActif ){ this.isActif = true; n=4; this.onActif( this ); }
7290
+ else { this.isActif = false; }
7291
+ }
7292
+
7293
+ if( n===2 && this.isActif ) n = 4;*/
7294
+
7295
+ this.stat = n;
7296
+
7297
+ switch( n ){
7298
+
7299
+ case 1: this.s[ 2 ].color = cc.text; this.s[ 2 ].background = cc.button; break; // base
7300
+ case 2: this.s[ 2 ].color = cc.textOver; this.s[ 2 ].background = cc.overoff; break; // over
7301
+ case 3: this.s[ 2 ].color = cc.textOver; this.s[ 2 ].background = cc.over; break; // down
7302
+ case 4: this.s[ 2 ].color = cc.textSelect; this.s[ 2 ].background = cc.select; break; // actif
7303
+
7304
+ }
7305
+
7306
+ change = true;
7307
+
7308
+ }
7309
+
7310
+ return change;
7311
+
7312
+
7313
+
7088
7314
  }
7089
7315
 
7090
7316
  reset () {
@@ -7872,6 +8098,7 @@ const add = function () {
7872
8098
  case 'textInput': case 'string': n = new TextInput(o); break;
7873
8099
  case 'title': case 'text': n = new Title(o); break;
7874
8100
  case 'select': n = new Select(o); break;
8101
+ case 'bitmap': n = new Bitmap(o); break;
7875
8102
  case 'selector': n = new Selector(o); break;
7876
8103
  case 'empty': case 'space': n = new Empty(o); break;
7877
8104
  case 'item': n = new Item(o); break;
@@ -7880,8 +8107,12 @@ const add = function () {
7880
8107
 
7881
8108
  }
7882
8109
 
8110
+
8111
+
7883
8112
  if( n !== null ){
7884
8113
 
8114
+ Roots.needResize = true;
8115
+
7885
8116
  if( ref ) n.setReferency( a[0], a[1] );
7886
8117
  return n;
7887
8118
 
@@ -7941,7 +8172,6 @@ class Gui {
7941
8172
 
7942
8173
  // color
7943
8174
  if( o.config ) o.colors = o.config;
7944
-
7945
8175
  if ( o.colors ) this.setConfig( o.colors );
7946
8176
  else this.colors = Tools.defineColor( o );
7947
8177
 
@@ -8065,7 +8295,7 @@ class Gui {
8065
8295
 
8066
8296
  // height transition
8067
8297
  this.transition = o.transition || Tools.transition;
8068
- if( this.transition ) setTimeout( this.addTransition.bind( this ), 0 );
8298
+ if( this.transition ) setTimeout( this.addTransition.bind( this ), 1000 );
8069
8299
 
8070
8300
 
8071
8301
  this.setWidth();
@@ -8095,6 +8325,9 @@ class Gui {
8095
8325
  //this.bottom.addEventListener("transitionend", Roots.resize, true);
8096
8326
  }
8097
8327
 
8328
+ let i = this.uis.length;
8329
+ while( i-- ) this.uis[i].addTransition();
8330
+
8098
8331
  }
8099
8332
 
8100
8333
  // ----------------------
@@ -8677,6 +8910,6 @@ class Gui {
8677
8910
 
8678
8911
  }
8679
8912
 
8680
- const REVISION = '4.0.9';
8913
+ const REVISION = '4.2.1';
8681
8914
 
8682
8915
  export { Files, Gui, Proto, REVISION, Tools, add };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uil",
3
- "version": "4.0.9",
3
+ "version": "4.2.1",
4
4
  "description": "JavaScript gui library",
5
5
  "main": "build/uil.js",
6
6
  "repository": "lo-th/uil",