@inditextech/weave-sdk 0.6.0 → 0.7.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.
package/dist/sdk.cjs CHANGED
@@ -17806,7 +17806,7 @@ var WeaveRegisterManager = class {
17806
17806
 
17807
17807
  //#endregion
17808
17808
  //#region package.json
17809
- var version = "0.6.0";
17809
+ var version = "0.7.0";
17810
17810
 
17811
17811
  //#endregion
17812
17812
  //#region src/managers/setup.ts
@@ -18958,6 +18958,7 @@ var WeaveImageToolAction = class extends WeaveAction {
18958
18958
  imageURL: this.imageURL,
18959
18959
  stroke: "#000000ff",
18960
18960
  strokeWidth: 0,
18961
+ strokeScaleEnabled: false,
18961
18962
  imageInfo: {
18962
18963
  width: this.preloadImgs[this.imageId].width,
18963
18964
  height: this.preloadImgs[this.imageId].height
@@ -19571,6 +19572,7 @@ var WeaveFrameNode = class extends WeaveNode {
19571
19572
  width: props.frameWidth,
19572
19573
  stroke: props.borderColor,
19573
19574
  strokeWidth: props.borderWidth,
19575
+ strokeScaleEnabled: false,
19574
19576
  height: props.frameHeight,
19575
19577
  fill: "#ffffffff",
19576
19578
  draggable: false
@@ -19588,6 +19590,7 @@ var WeaveFrameNode = class extends WeaveNode {
19588
19590
  text: props.title,
19589
19591
  stroke: "#000000ff",
19590
19592
  strokeWidth: 1,
19593
+ strokeScaleEnabled: false,
19591
19594
  listening: false,
19592
19595
  draggable: false
19593
19596
  });
@@ -19601,6 +19604,7 @@ var WeaveFrameNode = class extends WeaveNode {
19601
19604
  height: props.frameHeight,
19602
19605
  draggable: false,
19603
19606
  stroke: "transparent",
19607
+ strokeScaleEnabled: false,
19604
19608
  borderWidth: props.borderWidth,
19605
19609
  clipX: 0,
19606
19610
  clipY: 0,
@@ -20179,6 +20183,7 @@ var WeaveRectangleToolAction = class extends WeaveAction {
20179
20183
  const nodeHandler = this.instance.getNodeHandler("rectangle");
20180
20184
  const node = nodeHandler.create(this.rectId, {
20181
20185
  ...this.props,
20186
+ strokeScaleEnabled: false,
20182
20187
  x: this.clickPoint?.x ?? 0,
20183
20188
  y: this.clickPoint?.y ?? 0,
20184
20189
  width: 0,
@@ -20343,6 +20348,7 @@ var WeavePenToolAction = class extends WeaveAction {
20343
20348
  const nodeHandler = this.instance.getNodeHandler("line");
20344
20349
  const node = nodeHandler.create(this.lineId, {
20345
20350
  ...this.props,
20351
+ strokeScaleEnabled: false,
20346
20352
  x: this.clickPoint?.x ?? 0,
20347
20353
  y: this.clickPoint?.y ?? 0,
20348
20354
  points: [0, 0]
@@ -20352,6 +20358,7 @@ var WeavePenToolAction = class extends WeaveAction {
20352
20358
  x: this.clickPoint?.x ?? 0,
20353
20359
  y: this.clickPoint?.y ?? 0,
20354
20360
  radius: 5 / stage.scaleX(),
20361
+ strokeScaleEnabled: false,
20355
20362
  stroke: "#cccccc",
20356
20363
  strokeWidth: 0,
20357
20364
  fill: "#cccccc"
@@ -20368,6 +20375,7 @@ var WeavePenToolAction = class extends WeaveAction {
20368
20375
  x: this.clickPoint?.x ?? 0,
20369
20376
  y: this.clickPoint?.y ?? 0,
20370
20377
  radius: 5 / stage.scaleX(),
20378
+ strokeScaleEnabled: false,
20371
20379
  stroke: "#cccccc",
20372
20380
  strokeWidth: 0,
20373
20381
  fill: "#cccccc"
@@ -20560,6 +20568,7 @@ var WeaveBrushToolAction = class extends WeaveAction {
20560
20568
  const nodeHandler = this.instance.getNodeHandler("line");
20561
20569
  const node = nodeHandler.create(this.strokeId, {
20562
20570
  ...this.props,
20571
+ strokeScaleEnabled: false,
20563
20572
  x: this.clickPoint?.x ?? 0,
20564
20573
  y: this.clickPoint?.y ?? 0,
20565
20574
  points: [0, 0]
@@ -20705,6 +20714,7 @@ var WeaveTextToolAction = class extends WeaveAction {
20705
20714
  strokeEnabled: false,
20706
20715
  stroke: "#000000ff",
20707
20716
  strokeWidth: 1,
20717
+ strokeScaleEnabled: false,
20708
20718
  align: "left",
20709
20719
  verticalAlign: "top",
20710
20720
  opacity: 1,
package/dist/sdk.js CHANGED
@@ -17806,7 +17806,7 @@ var WeaveRegisterManager = class {
17806
17806
 
17807
17807
  //#endregion
17808
17808
  //#region package.json
17809
- var version = "0.6.0";
17809
+ var version = "0.7.0";
17810
17810
 
17811
17811
  //#endregion
17812
17812
  //#region src/managers/setup.ts
@@ -18958,6 +18958,7 @@ var WeaveImageToolAction = class extends WeaveAction {
18958
18958
  imageURL: this.imageURL,
18959
18959
  stroke: "#000000ff",
18960
18960
  strokeWidth: 0,
18961
+ strokeScaleEnabled: false,
18961
18962
  imageInfo: {
18962
18963
  width: this.preloadImgs[this.imageId].width,
18963
18964
  height: this.preloadImgs[this.imageId].height
@@ -19571,6 +19572,7 @@ var WeaveFrameNode = class extends WeaveNode {
19571
19572
  width: props.frameWidth,
19572
19573
  stroke: props.borderColor,
19573
19574
  strokeWidth: props.borderWidth,
19575
+ strokeScaleEnabled: false,
19574
19576
  height: props.frameHeight,
19575
19577
  fill: "#ffffffff",
19576
19578
  draggable: false
@@ -19588,6 +19590,7 @@ var WeaveFrameNode = class extends WeaveNode {
19588
19590
  text: props.title,
19589
19591
  stroke: "#000000ff",
19590
19592
  strokeWidth: 1,
19593
+ strokeScaleEnabled: false,
19591
19594
  listening: false,
19592
19595
  draggable: false
19593
19596
  });
@@ -19601,6 +19604,7 @@ var WeaveFrameNode = class extends WeaveNode {
19601
19604
  height: props.frameHeight,
19602
19605
  draggable: false,
19603
19606
  stroke: "transparent",
19607
+ strokeScaleEnabled: false,
19604
19608
  borderWidth: props.borderWidth,
19605
19609
  clipX: 0,
19606
19610
  clipY: 0,
@@ -20179,6 +20183,7 @@ var WeaveRectangleToolAction = class extends WeaveAction {
20179
20183
  const nodeHandler = this.instance.getNodeHandler("rectangle");
20180
20184
  const node = nodeHandler.create(this.rectId, {
20181
20185
  ...this.props,
20186
+ strokeScaleEnabled: false,
20182
20187
  x: this.clickPoint?.x ?? 0,
20183
20188
  y: this.clickPoint?.y ?? 0,
20184
20189
  width: 0,
@@ -20343,6 +20348,7 @@ var WeavePenToolAction = class extends WeaveAction {
20343
20348
  const nodeHandler = this.instance.getNodeHandler("line");
20344
20349
  const node = nodeHandler.create(this.lineId, {
20345
20350
  ...this.props,
20351
+ strokeScaleEnabled: false,
20346
20352
  x: this.clickPoint?.x ?? 0,
20347
20353
  y: this.clickPoint?.y ?? 0,
20348
20354
  points: [0, 0]
@@ -20352,6 +20358,7 @@ var WeavePenToolAction = class extends WeaveAction {
20352
20358
  x: this.clickPoint?.x ?? 0,
20353
20359
  y: this.clickPoint?.y ?? 0,
20354
20360
  radius: 5 / stage.scaleX(),
20361
+ strokeScaleEnabled: false,
20355
20362
  stroke: "#cccccc",
20356
20363
  strokeWidth: 0,
20357
20364
  fill: "#cccccc"
@@ -20368,6 +20375,7 @@ var WeavePenToolAction = class extends WeaveAction {
20368
20375
  x: this.clickPoint?.x ?? 0,
20369
20376
  y: this.clickPoint?.y ?? 0,
20370
20377
  radius: 5 / stage.scaleX(),
20378
+ strokeScaleEnabled: false,
20371
20379
  stroke: "#cccccc",
20372
20380
  strokeWidth: 0,
20373
20381
  fill: "#cccccc"
@@ -20560,6 +20568,7 @@ var WeaveBrushToolAction = class extends WeaveAction {
20560
20568
  const nodeHandler = this.instance.getNodeHandler("line");
20561
20569
  const node = nodeHandler.create(this.strokeId, {
20562
20570
  ...this.props,
20571
+ strokeScaleEnabled: false,
20563
20572
  x: this.clickPoint?.x ?? 0,
20564
20573
  y: this.clickPoint?.y ?? 0,
20565
20574
  points: [0, 0]
@@ -20705,6 +20714,7 @@ var WeaveTextToolAction = class extends WeaveAction {
20705
20714
  strokeEnabled: false,
20706
20715
  stroke: "#000000ff",
20707
20716
  strokeWidth: 1,
20717
+ strokeScaleEnabled: false,
20708
20718
  align: "left",
20709
20719
  verticalAlign: "top",
20710
20720
  opacity: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-sdk",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -43,7 +43,7 @@
43
43
  "version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
44
44
  },
45
45
  "dependencies": {
46
- "@inditextech/weave-types": "0.6.0",
46
+ "@inditextech/weave-types": "0.7.0",
47
47
  "@syncedstore/core": "0.6.0",
48
48
  "canvas": "3.1.0",
49
49
  "konva": "9.3.20",