@sarmal/core 0.19.0 → 0.22.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.
Files changed (45) hide show
  1. package/dist/auto-init.cjs +393 -18
  2. package/dist/auto-init.cjs.map +1 -1
  3. package/dist/auto-init.d.cts +4 -0
  4. package/dist/auto-init.d.ts +4 -0
  5. package/dist/auto-init.js +393 -18
  6. package/dist/auto-init.js.map +1 -1
  7. package/dist/curves/artemis2.d.cts +1 -1
  8. package/dist/curves/artemis2.d.ts +1 -1
  9. package/dist/curves/astroid.d.cts +1 -1
  10. package/dist/curves/astroid.d.ts +1 -1
  11. package/dist/curves/deltoid.d.cts +1 -1
  12. package/dist/curves/deltoid.d.ts +1 -1
  13. package/dist/curves/epicycloid3.d.cts +1 -1
  14. package/dist/curves/epicycloid3.d.ts +1 -1
  15. package/dist/curves/epitrochoid7.d.cts +1 -1
  16. package/dist/curves/epitrochoid7.d.ts +1 -1
  17. package/dist/curves/index.d.cts +1 -1
  18. package/dist/curves/index.d.ts +1 -1
  19. package/dist/curves/lame.d.cts +1 -1
  20. package/dist/curves/lame.d.ts +1 -1
  21. package/dist/curves/lissajous32.d.cts +1 -1
  22. package/dist/curves/lissajous32.d.ts +1 -1
  23. package/dist/curves/lissajous43.d.cts +1 -1
  24. package/dist/curves/lissajous43.d.ts +1 -1
  25. package/dist/curves/rose3.d.cts +1 -1
  26. package/dist/curves/rose3.d.ts +1 -1
  27. package/dist/curves/rose5.d.cts +1 -1
  28. package/dist/curves/rose5.d.ts +1 -1
  29. package/dist/curves/rose52.d.cts +1 -1
  30. package/dist/curves/rose52.d.ts +1 -1
  31. package/dist/curves/star.d.cts +1 -1
  32. package/dist/curves/star.d.ts +1 -1
  33. package/dist/curves/star4.d.cts +1 -1
  34. package/dist/curves/star4.d.ts +1 -1
  35. package/dist/curves/star7.d.cts +1 -1
  36. package/dist/curves/star7.d.ts +1 -1
  37. package/dist/index.cjs +77 -2
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.d.cts +45 -3
  40. package/dist/index.d.ts +45 -3
  41. package/dist/index.js +77 -2
  42. package/dist/index.js.map +1 -1
  43. package/dist/{types-frtEoAq6.d.cts → types-DVerJ9cl.d.cts} +4 -0
  44. package/dist/{types-frtEoAq6.d.ts → types-DVerJ9cl.d.ts} +4 -0
  45. package/package.json +1 -1
@@ -253,6 +253,10 @@ interface RuntimeRenderOptions {
253
253
  /** 6-digit hex string, or `"transparent"` to hide the skeleton. */
254
254
  skeletonColor?: string;
255
255
  trailStyle?: TrailStyle;
256
+ /** Radius of the head dot.
257
+ * @default number Canvas default: auto-derived from container size with `getHeadDotRadius`
258
+ * SVG default: `1.5` viewBox units. */
259
+ headRadius?: number;
256
260
  }
257
261
  /**
258
262
  * Common renderer options shared between canvas and SVG renderers.
@@ -253,6 +253,10 @@ interface RuntimeRenderOptions {
253
253
  /** 6-digit hex string, or `"transparent"` to hide the skeleton. */
254
254
  skeletonColor?: string;
255
255
  trailStyle?: TrailStyle;
256
+ /** Radius of the head dot.
257
+ * @default number Canvas default: auto-derived from container size with `getHeadDotRadius`
258
+ * SVG default: `1.5` viewBox units. */
259
+ headRadius?: number;
256
260
  }
257
261
  /**
258
262
  * Common renderer options shared between canvas and SVG renderers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarmal/core",
3
- "version": "0.19.0",
3
+ "version": "0.22.0",
4
4
  "description": "Curve path based loading indicators and their renderer",
5
5
  "keywords": [
6
6
  "animation",