@ibodr/editor 0.2.3 → 0.2.4

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
@@ -5884,6 +5884,11 @@ function getPerfectDashProps(totalLength, strokeWidth, opts = {}) {
5884
5884
  dashLength = strokeWidth / ratio;
5885
5885
  break;
5886
5886
  }
5887
+ case "sparse": {
5888
+ ratio = 2.5;
5889
+ dashLength = Math.min(strokeWidth * lengthRatio * 3, totalLength / 5);
5890
+ break;
5891
+ }
5887
5892
  default: {
5888
5893
  return {
5889
5894
  strokeDasharray: "none",
@@ -25175,7 +25180,7 @@ function getFontsFromRichText(editor, richText, initialState2) {
25175
25180
  // src/index.ts
25176
25181
  registerDrawLibraryVersion(
25177
25182
  "@ibodr/editor",
25178
- "0.2.3",
25183
+ "0.2.4",
25179
25184
  "esm"
25180
25185
  );
25181
25186
  /*!