@dcl/ecs 7.7.10-13970051569.commit-59a4262 → 7.7.10-14036045753.commit-8d32240

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.
@@ -1,4 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
+ import { Color4 } from "../../common/colors.gen";
2
3
  /**
3
4
  * @public
4
5
  */
@@ -178,6 +179,35 @@ export interface PBUiTransform {
178
179
  paddingBottom: number;
179
180
  /** default: PointerFilterMode.PFM_NONE */
180
181
  pointerFilter?: PointerFilterMode | undefined;
182
+ /** Border Width */
183
+ borderLeftWidthUnit?: YGUnit | undefined;
184
+ borderLeftWidth?: number | undefined;
185
+ /** YGUnit.YGU_UNDEFINED */
186
+ borderTopWidthUnit?: YGUnit | undefined;
187
+ borderTopWidth?: number | undefined;
188
+ /** YGUnit.YGU_UNDEFINED */
189
+ borderRightWidthUnit?: YGUnit | undefined;
190
+ borderRightWidth?: number | undefined;
191
+ /** YGUnit.YGU_UNDEFINED */
192
+ borderBottomWidthUnit?: YGUnit | undefined;
193
+ borderBottomWidth?: number | undefined;
194
+ /** Border Radius */
195
+ borderTopLeftRadiusUnit?: YGUnit | undefined;
196
+ borderTopLeftRadius?: number | undefined;
197
+ /** YGUnit.YGU_UNDEFINED */
198
+ borderTopRightRadiusUnit?: YGUnit | undefined;
199
+ borderTopRightRadius?: number | undefined;
200
+ /** YGUnit.YGU_UNDEFINED */
201
+ borderBottomLeftRadiusUnit?: YGUnit | undefined;
202
+ borderBottomLeftRadius?: number | undefined;
203
+ /** YGUnit.YGU_UNDEFINED */
204
+ borderBottomRightRadiusUnit?: YGUnit | undefined;
205
+ borderBottomRightRadius?: number | undefined;
206
+ /** Border Color */
207
+ borderTopColor?: Color4 | undefined;
208
+ borderBottomColor?: Color4 | undefined;
209
+ borderLeftColor?: Color4 | undefined;
210
+ borderRightColor?: Color4 | undefined;
181
211
  }
182
212
  /**
183
213
  * @public
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import _m0 from "protobufjs/minimal";
3
+ import { Color4 } from "../../common/colors.gen";
3
4
  const protobufPackageSarasa = "decentraland.sdk.components";
4
5
  /**
5
6
  * @public
@@ -158,6 +159,26 @@ function createBasePBUiTransform() {
158
159
  paddingBottomUnit: 0,
159
160
  paddingBottom: 0,
160
161
  pointerFilter: undefined,
162
+ borderLeftWidthUnit: undefined,
163
+ borderLeftWidth: undefined,
164
+ borderTopWidthUnit: undefined,
165
+ borderTopWidth: undefined,
166
+ borderRightWidthUnit: undefined,
167
+ borderRightWidth: undefined,
168
+ borderBottomWidthUnit: undefined,
169
+ borderBottomWidth: undefined,
170
+ borderTopLeftRadiusUnit: undefined,
171
+ borderTopLeftRadius: undefined,
172
+ borderTopRightRadiusUnit: undefined,
173
+ borderTopRightRadius: undefined,
174
+ borderBottomLeftRadiusUnit: undefined,
175
+ borderBottomLeftRadius: undefined,
176
+ borderBottomRightRadiusUnit: undefined,
177
+ borderBottomRightRadius: undefined,
178
+ borderTopColor: undefined,
179
+ borderBottomColor: undefined,
180
+ borderLeftColor: undefined,
181
+ borderRightColor: undefined,
161
182
  };
162
183
  }
163
184
  /**
@@ -322,6 +343,66 @@ export var PBUiTransform;
322
343
  if (message.pointerFilter !== undefined) {
323
344
  writer.uint32(416).int32(message.pointerFilter);
324
345
  }
346
+ if (message.borderLeftWidthUnit !== undefined) {
347
+ writer.uint32(424).int32(message.borderLeftWidthUnit);
348
+ }
349
+ if (message.borderLeftWidth !== undefined) {
350
+ writer.uint32(437).float(message.borderLeftWidth);
351
+ }
352
+ if (message.borderTopWidthUnit !== undefined) {
353
+ writer.uint32(440).int32(message.borderTopWidthUnit);
354
+ }
355
+ if (message.borderTopWidth !== undefined) {
356
+ writer.uint32(453).float(message.borderTopWidth);
357
+ }
358
+ if (message.borderRightWidthUnit !== undefined) {
359
+ writer.uint32(456).int32(message.borderRightWidthUnit);
360
+ }
361
+ if (message.borderRightWidth !== undefined) {
362
+ writer.uint32(469).float(message.borderRightWidth);
363
+ }
364
+ if (message.borderBottomWidthUnit !== undefined) {
365
+ writer.uint32(472).int32(message.borderBottomWidthUnit);
366
+ }
367
+ if (message.borderBottomWidth !== undefined) {
368
+ writer.uint32(485).float(message.borderBottomWidth);
369
+ }
370
+ if (message.borderTopLeftRadiusUnit !== undefined) {
371
+ writer.uint32(488).int32(message.borderTopLeftRadiusUnit);
372
+ }
373
+ if (message.borderTopLeftRadius !== undefined) {
374
+ writer.uint32(501).float(message.borderTopLeftRadius);
375
+ }
376
+ if (message.borderTopRightRadiusUnit !== undefined) {
377
+ writer.uint32(504).int32(message.borderTopRightRadiusUnit);
378
+ }
379
+ if (message.borderTopRightRadius !== undefined) {
380
+ writer.uint32(517).float(message.borderTopRightRadius);
381
+ }
382
+ if (message.borderBottomLeftRadiusUnit !== undefined) {
383
+ writer.uint32(520).int32(message.borderBottomLeftRadiusUnit);
384
+ }
385
+ if (message.borderBottomLeftRadius !== undefined) {
386
+ writer.uint32(533).float(message.borderBottomLeftRadius);
387
+ }
388
+ if (message.borderBottomRightRadiusUnit !== undefined) {
389
+ writer.uint32(536).int32(message.borderBottomRightRadiusUnit);
390
+ }
391
+ if (message.borderBottomRightRadius !== undefined) {
392
+ writer.uint32(549).float(message.borderBottomRightRadius);
393
+ }
394
+ if (message.borderTopColor !== undefined) {
395
+ Color4.encode(message.borderTopColor, writer.uint32(554).fork()).ldelim();
396
+ }
397
+ if (message.borderBottomColor !== undefined) {
398
+ Color4.encode(message.borderBottomColor, writer.uint32(562).fork()).ldelim();
399
+ }
400
+ if (message.borderLeftColor !== undefined) {
401
+ Color4.encode(message.borderLeftColor, writer.uint32(570).fork()).ldelim();
402
+ }
403
+ if (message.borderRightColor !== undefined) {
404
+ Color4.encode(message.borderRightColor, writer.uint32(578).fork()).ldelim();
405
+ }
325
406
  return writer;
326
407
  }
327
408
  PBUiTransform.encode = encode;
@@ -644,6 +725,126 @@ export var PBUiTransform;
644
725
  }
645
726
  message.pointerFilter = reader.int32();
646
727
  continue;
728
+ case 53:
729
+ if (tag !== 424) {
730
+ break;
731
+ }
732
+ message.borderLeftWidthUnit = reader.int32();
733
+ continue;
734
+ case 54:
735
+ if (tag !== 437) {
736
+ break;
737
+ }
738
+ message.borderLeftWidth = reader.float();
739
+ continue;
740
+ case 55:
741
+ if (tag !== 440) {
742
+ break;
743
+ }
744
+ message.borderTopWidthUnit = reader.int32();
745
+ continue;
746
+ case 56:
747
+ if (tag !== 453) {
748
+ break;
749
+ }
750
+ message.borderTopWidth = reader.float();
751
+ continue;
752
+ case 57:
753
+ if (tag !== 456) {
754
+ break;
755
+ }
756
+ message.borderRightWidthUnit = reader.int32();
757
+ continue;
758
+ case 58:
759
+ if (tag !== 469) {
760
+ break;
761
+ }
762
+ message.borderRightWidth = reader.float();
763
+ continue;
764
+ case 59:
765
+ if (tag !== 472) {
766
+ break;
767
+ }
768
+ message.borderBottomWidthUnit = reader.int32();
769
+ continue;
770
+ case 60:
771
+ if (tag !== 485) {
772
+ break;
773
+ }
774
+ message.borderBottomWidth = reader.float();
775
+ continue;
776
+ case 61:
777
+ if (tag !== 488) {
778
+ break;
779
+ }
780
+ message.borderTopLeftRadiusUnit = reader.int32();
781
+ continue;
782
+ case 62:
783
+ if (tag !== 501) {
784
+ break;
785
+ }
786
+ message.borderTopLeftRadius = reader.float();
787
+ continue;
788
+ case 63:
789
+ if (tag !== 504) {
790
+ break;
791
+ }
792
+ message.borderTopRightRadiusUnit = reader.int32();
793
+ continue;
794
+ case 64:
795
+ if (tag !== 517) {
796
+ break;
797
+ }
798
+ message.borderTopRightRadius = reader.float();
799
+ continue;
800
+ case 65:
801
+ if (tag !== 520) {
802
+ break;
803
+ }
804
+ message.borderBottomLeftRadiusUnit = reader.int32();
805
+ continue;
806
+ case 66:
807
+ if (tag !== 533) {
808
+ break;
809
+ }
810
+ message.borderBottomLeftRadius = reader.float();
811
+ continue;
812
+ case 67:
813
+ if (tag !== 536) {
814
+ break;
815
+ }
816
+ message.borderBottomRightRadiusUnit = reader.int32();
817
+ continue;
818
+ case 68:
819
+ if (tag !== 549) {
820
+ break;
821
+ }
822
+ message.borderBottomRightRadius = reader.float();
823
+ continue;
824
+ case 69:
825
+ if (tag !== 554) {
826
+ break;
827
+ }
828
+ message.borderTopColor = Color4.decode(reader, reader.uint32());
829
+ continue;
830
+ case 70:
831
+ if (tag !== 562) {
832
+ break;
833
+ }
834
+ message.borderBottomColor = Color4.decode(reader, reader.uint32());
835
+ continue;
836
+ case 71:
837
+ if (tag !== 570) {
838
+ break;
839
+ }
840
+ message.borderLeftColor = Color4.decode(reader, reader.uint32());
841
+ continue;
842
+ case 72:
843
+ if (tag !== 578) {
844
+ break;
845
+ }
846
+ message.borderRightColor = Color4.decode(reader, reader.uint32());
847
+ continue;
647
848
  }
648
849
  if ((tag & 7) === 4 || tag === 0) {
649
850
  break;
@@ -1,4 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
+ import { Color4 } from "../../common/colors.gen";
2
3
  /**
3
4
  * @public
4
5
  */
@@ -178,6 +179,35 @@ export interface PBUiTransform {
178
179
  paddingBottom: number;
179
180
  /** default: PointerFilterMode.PFM_NONE */
180
181
  pointerFilter?: PointerFilterMode | undefined;
182
+ /** Border Width */
183
+ borderLeftWidthUnit?: YGUnit | undefined;
184
+ borderLeftWidth?: number | undefined;
185
+ /** YGUnit.YGU_UNDEFINED */
186
+ borderTopWidthUnit?: YGUnit | undefined;
187
+ borderTopWidth?: number | undefined;
188
+ /** YGUnit.YGU_UNDEFINED */
189
+ borderRightWidthUnit?: YGUnit | undefined;
190
+ borderRightWidth?: number | undefined;
191
+ /** YGUnit.YGU_UNDEFINED */
192
+ borderBottomWidthUnit?: YGUnit | undefined;
193
+ borderBottomWidth?: number | undefined;
194
+ /** Border Radius */
195
+ borderTopLeftRadiusUnit?: YGUnit | undefined;
196
+ borderTopLeftRadius?: number | undefined;
197
+ /** YGUnit.YGU_UNDEFINED */
198
+ borderTopRightRadiusUnit?: YGUnit | undefined;
199
+ borderTopRightRadius?: number | undefined;
200
+ /** YGUnit.YGU_UNDEFINED */
201
+ borderBottomLeftRadiusUnit?: YGUnit | undefined;
202
+ borderBottomLeftRadius?: number | undefined;
203
+ /** YGUnit.YGU_UNDEFINED */
204
+ borderBottomRightRadiusUnit?: YGUnit | undefined;
205
+ borderBottomRightRadius?: number | undefined;
206
+ /** Border Color */
207
+ borderTopColor?: Color4 | undefined;
208
+ borderBottomColor?: Color4 | undefined;
209
+ borderLeftColor?: Color4 | undefined;
210
+ borderRightColor?: Color4 | undefined;
181
211
  }
182
212
  /**
183
213
  * @public
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.PBUiTransform = exports.PointerFilterMode = exports.YGEdge = exports.YGDisplay = exports.YGOverflow = exports.YGJustify = exports.YGWrap = exports.YGFlexDirection = exports.YGUnit = exports.YGAlign = exports.YGPositionType = void 0;
7
7
  /* eslint-disable */
8
8
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const colors_gen_1 = require("../../common/colors.gen");
9
10
  const protobufPackageSarasa = "decentraland.sdk.components";
10
11
  /**
11
12
  * @public
@@ -164,6 +165,26 @@ function createBasePBUiTransform() {
164
165
  paddingBottomUnit: 0,
165
166
  paddingBottom: 0,
166
167
  pointerFilter: undefined,
168
+ borderLeftWidthUnit: undefined,
169
+ borderLeftWidth: undefined,
170
+ borderTopWidthUnit: undefined,
171
+ borderTopWidth: undefined,
172
+ borderRightWidthUnit: undefined,
173
+ borderRightWidth: undefined,
174
+ borderBottomWidthUnit: undefined,
175
+ borderBottomWidth: undefined,
176
+ borderTopLeftRadiusUnit: undefined,
177
+ borderTopLeftRadius: undefined,
178
+ borderTopRightRadiusUnit: undefined,
179
+ borderTopRightRadius: undefined,
180
+ borderBottomLeftRadiusUnit: undefined,
181
+ borderBottomLeftRadius: undefined,
182
+ borderBottomRightRadiusUnit: undefined,
183
+ borderBottomRightRadius: undefined,
184
+ borderTopColor: undefined,
185
+ borderBottomColor: undefined,
186
+ borderLeftColor: undefined,
187
+ borderRightColor: undefined,
167
188
  };
168
189
  }
169
190
  /**
@@ -328,6 +349,66 @@ var PBUiTransform;
328
349
  if (message.pointerFilter !== undefined) {
329
350
  writer.uint32(416).int32(message.pointerFilter);
330
351
  }
352
+ if (message.borderLeftWidthUnit !== undefined) {
353
+ writer.uint32(424).int32(message.borderLeftWidthUnit);
354
+ }
355
+ if (message.borderLeftWidth !== undefined) {
356
+ writer.uint32(437).float(message.borderLeftWidth);
357
+ }
358
+ if (message.borderTopWidthUnit !== undefined) {
359
+ writer.uint32(440).int32(message.borderTopWidthUnit);
360
+ }
361
+ if (message.borderTopWidth !== undefined) {
362
+ writer.uint32(453).float(message.borderTopWidth);
363
+ }
364
+ if (message.borderRightWidthUnit !== undefined) {
365
+ writer.uint32(456).int32(message.borderRightWidthUnit);
366
+ }
367
+ if (message.borderRightWidth !== undefined) {
368
+ writer.uint32(469).float(message.borderRightWidth);
369
+ }
370
+ if (message.borderBottomWidthUnit !== undefined) {
371
+ writer.uint32(472).int32(message.borderBottomWidthUnit);
372
+ }
373
+ if (message.borderBottomWidth !== undefined) {
374
+ writer.uint32(485).float(message.borderBottomWidth);
375
+ }
376
+ if (message.borderTopLeftRadiusUnit !== undefined) {
377
+ writer.uint32(488).int32(message.borderTopLeftRadiusUnit);
378
+ }
379
+ if (message.borderTopLeftRadius !== undefined) {
380
+ writer.uint32(501).float(message.borderTopLeftRadius);
381
+ }
382
+ if (message.borderTopRightRadiusUnit !== undefined) {
383
+ writer.uint32(504).int32(message.borderTopRightRadiusUnit);
384
+ }
385
+ if (message.borderTopRightRadius !== undefined) {
386
+ writer.uint32(517).float(message.borderTopRightRadius);
387
+ }
388
+ if (message.borderBottomLeftRadiusUnit !== undefined) {
389
+ writer.uint32(520).int32(message.borderBottomLeftRadiusUnit);
390
+ }
391
+ if (message.borderBottomLeftRadius !== undefined) {
392
+ writer.uint32(533).float(message.borderBottomLeftRadius);
393
+ }
394
+ if (message.borderBottomRightRadiusUnit !== undefined) {
395
+ writer.uint32(536).int32(message.borderBottomRightRadiusUnit);
396
+ }
397
+ if (message.borderBottomRightRadius !== undefined) {
398
+ writer.uint32(549).float(message.borderBottomRightRadius);
399
+ }
400
+ if (message.borderTopColor !== undefined) {
401
+ colors_gen_1.Color4.encode(message.borderTopColor, writer.uint32(554).fork()).ldelim();
402
+ }
403
+ if (message.borderBottomColor !== undefined) {
404
+ colors_gen_1.Color4.encode(message.borderBottomColor, writer.uint32(562).fork()).ldelim();
405
+ }
406
+ if (message.borderLeftColor !== undefined) {
407
+ colors_gen_1.Color4.encode(message.borderLeftColor, writer.uint32(570).fork()).ldelim();
408
+ }
409
+ if (message.borderRightColor !== undefined) {
410
+ colors_gen_1.Color4.encode(message.borderRightColor, writer.uint32(578).fork()).ldelim();
411
+ }
331
412
  return writer;
332
413
  }
333
414
  PBUiTransform.encode = encode;
@@ -650,6 +731,126 @@ var PBUiTransform;
650
731
  }
651
732
  message.pointerFilter = reader.int32();
652
733
  continue;
734
+ case 53:
735
+ if (tag !== 424) {
736
+ break;
737
+ }
738
+ message.borderLeftWidthUnit = reader.int32();
739
+ continue;
740
+ case 54:
741
+ if (tag !== 437) {
742
+ break;
743
+ }
744
+ message.borderLeftWidth = reader.float();
745
+ continue;
746
+ case 55:
747
+ if (tag !== 440) {
748
+ break;
749
+ }
750
+ message.borderTopWidthUnit = reader.int32();
751
+ continue;
752
+ case 56:
753
+ if (tag !== 453) {
754
+ break;
755
+ }
756
+ message.borderTopWidth = reader.float();
757
+ continue;
758
+ case 57:
759
+ if (tag !== 456) {
760
+ break;
761
+ }
762
+ message.borderRightWidthUnit = reader.int32();
763
+ continue;
764
+ case 58:
765
+ if (tag !== 469) {
766
+ break;
767
+ }
768
+ message.borderRightWidth = reader.float();
769
+ continue;
770
+ case 59:
771
+ if (tag !== 472) {
772
+ break;
773
+ }
774
+ message.borderBottomWidthUnit = reader.int32();
775
+ continue;
776
+ case 60:
777
+ if (tag !== 485) {
778
+ break;
779
+ }
780
+ message.borderBottomWidth = reader.float();
781
+ continue;
782
+ case 61:
783
+ if (tag !== 488) {
784
+ break;
785
+ }
786
+ message.borderTopLeftRadiusUnit = reader.int32();
787
+ continue;
788
+ case 62:
789
+ if (tag !== 501) {
790
+ break;
791
+ }
792
+ message.borderTopLeftRadius = reader.float();
793
+ continue;
794
+ case 63:
795
+ if (tag !== 504) {
796
+ break;
797
+ }
798
+ message.borderTopRightRadiusUnit = reader.int32();
799
+ continue;
800
+ case 64:
801
+ if (tag !== 517) {
802
+ break;
803
+ }
804
+ message.borderTopRightRadius = reader.float();
805
+ continue;
806
+ case 65:
807
+ if (tag !== 520) {
808
+ break;
809
+ }
810
+ message.borderBottomLeftRadiusUnit = reader.int32();
811
+ continue;
812
+ case 66:
813
+ if (tag !== 533) {
814
+ break;
815
+ }
816
+ message.borderBottomLeftRadius = reader.float();
817
+ continue;
818
+ case 67:
819
+ if (tag !== 536) {
820
+ break;
821
+ }
822
+ message.borderBottomRightRadiusUnit = reader.int32();
823
+ continue;
824
+ case 68:
825
+ if (tag !== 549) {
826
+ break;
827
+ }
828
+ message.borderBottomRightRadius = reader.float();
829
+ continue;
830
+ case 69:
831
+ if (tag !== 554) {
832
+ break;
833
+ }
834
+ message.borderTopColor = colors_gen_1.Color4.decode(reader, reader.uint32());
835
+ continue;
836
+ case 70:
837
+ if (tag !== 562) {
838
+ break;
839
+ }
840
+ message.borderBottomColor = colors_gen_1.Color4.decode(reader, reader.uint32());
841
+ continue;
842
+ case 71:
843
+ if (tag !== 570) {
844
+ break;
845
+ }
846
+ message.borderLeftColor = colors_gen_1.Color4.decode(reader, reader.uint32());
847
+ continue;
848
+ case 72:
849
+ if (tag !== 578) {
850
+ break;
851
+ }
852
+ message.borderRightColor = colors_gen_1.Color4.decode(reader, reader.uint32());
853
+ continue;
653
854
  }
654
855
  if ((tag & 7) === 4 || tag === 0) {
655
856
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.7.10-13970051569.commit-59a4262",
4
+ "version": "7.7.10-14036045753.commit-8d32240",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "files": [
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "types": "./dist/index.d.ts",
35
35
  "typings": "./dist/index.d.ts",
36
- "commit": "59a4262226d0377a6c4bc1e13276aa21e4bcf35a"
36
+ "commit": "8d32240be828682a0e97b38c9e8a298d51eb5dcd"
37
37
  }