@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.cjs
CHANGED
|
@@ -1881,39 +1881,57 @@ var CursorKind = /* @__PURE__ */ ((CursorKind2) => {
|
|
|
1881
1881
|
return CursorKind2;
|
|
1882
1882
|
})(CursorKind || {});
|
|
1883
1883
|
var DRAG_SVG = `
|
|
1884
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.94 33.94">
|
|
1885
|
-
<
|
|
1886
|
-
<
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1884
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 33.94 33.94">
|
|
1885
|
+
<defs>
|
|
1886
|
+
<g id="a">
|
|
1887
|
+
<path d="M25.46,14.14l2.83,2.83-2.83,2.83"/>
|
|
1888
|
+
<path d="M19.8,16.97h8.49"/>
|
|
1889
|
+
<path d="M8.49,19.8l-2.83-2.83,2.83-2.83"/>
|
|
1890
|
+
<path d="M5.66,16.97h14.57"/>
|
|
1891
|
+
<path d="M14.14,25.46l2.83,2.83,2.83-2.83"/>
|
|
1892
|
+
<path d="M16.97,19.8v8.49"/>
|
|
1893
|
+
<path d="M19.8,8.49l-2.83-2.83-2.83,2.83"/>
|
|
1894
|
+
<path d="M16.97,5.66v15.14"/>
|
|
1895
|
+
</g>
|
|
1896
|
+
</defs>
|
|
1897
|
+
<g fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1898
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1899
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1894
1900
|
</g>
|
|
1895
1901
|
</svg>`;
|
|
1896
1902
|
function makeResizeSvg(rotateZ) {
|
|
1897
1903
|
const degrees = rotateZ * 180 / Math.PI;
|
|
1898
1904
|
return `
|
|
1899
1905
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
1900
|
-
fill="none" stroke
|
|
1906
|
+
fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1907
|
+
<defs>
|
|
1908
|
+
<g id="a">
|
|
1909
|
+
<path d="M8 7l4 -4l4 4"/>
|
|
1910
|
+
<path d="M8 17l4 4l4 -4"/>
|
|
1911
|
+
<path d="M12 3l0 18"/>
|
|
1912
|
+
</g>
|
|
1913
|
+
</defs>
|
|
1901
1914
|
<g transform="rotate(${degrees} 12 12)">
|
|
1902
|
-
<
|
|
1903
|
-
<
|
|
1904
|
-
<path d="M12 3l0 18"/>
|
|
1915
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1916
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1905
1917
|
</g>
|
|
1906
1918
|
</svg>`;
|
|
1907
1919
|
}
|
|
1908
1920
|
function makeRotateSvg(rotateZ) {
|
|
1909
1921
|
const degrees = rotateZ * 180 / Math.PI;
|
|
1910
1922
|
return `
|
|
1911
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 34 34"
|
|
1912
|
-
fill="none" stroke
|
|
1923
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="-10 -10 34 34"
|
|
1924
|
+
fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
1925
|
+
<defs>
|
|
1926
|
+
<g id="a">
|
|
1927
|
+
<path d="M1,14.76l4,4,4-4"/>
|
|
1928
|
+
<path d="M14.61,1l4,4-4,4"/>
|
|
1929
|
+
<path d="M18.61,5h-6.02c-4.19,0-7.59,3.4-7.59,7.59v6.17"/>
|
|
1930
|
+
</g>
|
|
1931
|
+
</defs>
|
|
1913
1932
|
<g transform="rotate(${degrees} 8 8)">
|
|
1914
|
-
<
|
|
1915
|
-
<
|
|
1916
|
-
<path d="M18.61,5h-6.02c-4.19,0-7.59,3.4-7.59,7.59v6.17"/>
|
|
1933
|
+
<use href="#a" stroke="#fff" stroke-width="4.5"/>
|
|
1934
|
+
<use href="#a" stroke="#000" stroke-width="2"/>
|
|
1917
1935
|
</g>
|
|
1918
1936
|
</svg>`;
|
|
1919
1937
|
}
|