@woven-canvas/core 1.3.0 → 1.3.2
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/build/index.cjs +37 -19
- package/build/index.cjs.map +1 -1
- package/build/index.js +37 -19
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1722,39 +1722,57 @@ var CursorKind = /* @__PURE__ */ ((CursorKind2) => {
|
|
|
1722
1722
|
return CursorKind2;
|
|
1723
1723
|
})(CursorKind || {});
|
|
1724
1724
|
var DRAG_SVG = `
|
|
1725
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.94 33.94">
|
|
1726
|
-
<
|
|
1727
|
-
<
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1725
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 33.94 33.94">
|
|
1726
|
+
<defs>
|
|
1727
|
+
<g id="a">
|
|
1728
|
+
<path d="M25.46,14.14l2.83,2.83-2.83,2.83"/>
|
|
1729
|
+
<path d="M19.8,16.97h8.49"/>
|
|
1730
|
+
<path d="M8.49,19.8l-2.83-2.83,2.83-2.83"/>
|
|
1731
|
+
<path d="M5.66,16.97h14.57"/>
|
|
1732
|
+
<path d="M14.14,25.46l2.83,2.83,2.83-2.83"/>
|
|
1733
|
+
<path d="M16.97,19.8v8.49"/>
|
|
1734
|
+
<path d="M19.8,8.49l-2.83-2.83-2.83,2.83"/>
|
|
1735
|
+
<path d="M16.97,5.66v15.14"/>
|
|
1736
|
+
</g>
|
|
1737
|
+
</defs>
|
|
1738
|
+
<g fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1739
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1740
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1735
1741
|
</g>
|
|
1736
1742
|
</svg>`;
|
|
1737
1743
|
function makeResizeSvg(rotateZ) {
|
|
1738
1744
|
const degrees = rotateZ * 180 / Math.PI;
|
|
1739
1745
|
return `
|
|
1740
1746
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
1741
|
-
fill="none" stroke
|
|
1747
|
+
fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1748
|
+
<defs>
|
|
1749
|
+
<g id="a">
|
|
1750
|
+
<path d="M8 7l4 -4l4 4"/>
|
|
1751
|
+
<path d="M8 17l4 4l4 -4"/>
|
|
1752
|
+
<path d="M12 3l0 18"/>
|
|
1753
|
+
</g>
|
|
1754
|
+
</defs>
|
|
1742
1755
|
<g transform="rotate(${degrees} 12 12)">
|
|
1743
|
-
<
|
|
1744
|
-
<
|
|
1745
|
-
<path d="M12 3l0 18"/>
|
|
1756
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1757
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1746
1758
|
</g>
|
|
1747
1759
|
</svg>`;
|
|
1748
1760
|
}
|
|
1749
1761
|
function makeRotateSvg(rotateZ) {
|
|
1750
1762
|
const degrees = rotateZ * 180 / Math.PI;
|
|
1751
1763
|
return `
|
|
1752
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 34 34"
|
|
1753
|
-
fill="none" stroke
|
|
1764
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="-10 -10 34 34"
|
|
1765
|
+
fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1766
|
+
<defs>
|
|
1767
|
+
<g id="a">
|
|
1768
|
+
<path d="M1,14.76l4,4,4-4"/>
|
|
1769
|
+
<path d="M14.61,1l4,4-4,4"/>
|
|
1770
|
+
<path d="M18.61,5h-6.02c-4.19,0-7.59,3.4-7.59,7.59v6.17"/>
|
|
1771
|
+
</g>
|
|
1772
|
+
</defs>
|
|
1754
1773
|
<g transform="rotate(${degrees} 8 8)">
|
|
1755
|
-
<
|
|
1756
|
-
<
|
|
1757
|
-
<path d="M18.61,5h-6.02c-4.19,0-7.59,3.4-7.59,7.59v6.17"/>
|
|
1774
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1775
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1758
1776
|
</g>
|
|
1759
1777
|
</svg>`;
|
|
1760
1778
|
}
|