@ibodr/draw 0.2.5 → 0.2.6

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/index.mjs CHANGED
@@ -1061,30 +1061,42 @@ var PathBuilder = class _PathBuilder {
1061
1061
  const inner = strokeWidth;
1062
1062
  const maskId = doubleLineMaskId(d);
1063
1063
  return /* @__PURE__ */ jsxs("g", { ...props, strokeLinecap: "butt", children: [
1064
- /* @__PURE__ */ jsxs("mask", { id: maskId, maskUnits: "userSpaceOnUse", children: [
1065
- /* @__PURE__ */ jsx(
1066
- "path",
1067
- {
1068
- d,
1069
- fill: "none",
1070
- stroke: "#fff",
1071
- strokeWidth: outer,
1072
- strokeLinecap: "butt",
1073
- strokeLinejoin: "round"
1074
- }
1075
- ),
1076
- /* @__PURE__ */ jsx(
1077
- "path",
1078
- {
1079
- d,
1080
- fill: "none",
1081
- stroke: "#000",
1082
- strokeWidth: inner,
1083
- strokeLinecap: "butt",
1084
- strokeLinejoin: "round"
1085
- }
1086
- )
1087
- ] }),
1064
+ /* @__PURE__ */ jsxs(
1065
+ "mask",
1066
+ {
1067
+ id: maskId,
1068
+ maskUnits: "userSpaceOnUse",
1069
+ maskContentUnits: "userSpaceOnUse",
1070
+ x: -1e5,
1071
+ y: -1e5,
1072
+ width: 2e5,
1073
+ height: 2e5,
1074
+ children: [
1075
+ /* @__PURE__ */ jsx(
1076
+ "path",
1077
+ {
1078
+ d,
1079
+ fill: "none",
1080
+ stroke: "#fff",
1081
+ strokeWidth: outer,
1082
+ strokeLinecap: "butt",
1083
+ strokeLinejoin: "round"
1084
+ }
1085
+ ),
1086
+ /* @__PURE__ */ jsx(
1087
+ "path",
1088
+ {
1089
+ d,
1090
+ fill: "none",
1091
+ stroke: "#000",
1092
+ strokeWidth: inner,
1093
+ strokeLinecap: "butt",
1094
+ strokeLinejoin: "round"
1095
+ }
1096
+ )
1097
+ ]
1098
+ }
1099
+ ),
1088
1100
  /* @__PURE__ */ jsx(
1089
1101
  "path",
1090
1102
  {
@@ -38528,7 +38540,7 @@ async function extractAssets(editor, snapshot, msg, addToast) {
38528
38540
  // src/index.ts
38529
38541
  registerDrawLibraryVersion(
38530
38542
  "@ibodr/draw",
38531
- "0.2.5",
38543
+ "0.2.6",
38532
38544
  "esm"
38533
38545
  );
38534
38546
  /*!