@overtone-art/canvas-editor-core 0.6.2 → 0.6.3

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/node.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as EditorState } from './types-LM7pOkkj.mjs';
1
+ import { c as EditorState } from './types-DSu2jbiV.mjs';
2
2
  import 'fabric';
3
3
 
4
4
  interface PrintPdfOptions {
package/dist/node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as EditorState } from './types-LM7pOkkj.js';
1
+ import { c as EditorState } from './types-DSu2jbiV.js';
2
2
  import 'fabric';
3
3
 
4
4
  interface PrintPdfOptions {
@@ -397,6 +397,14 @@ interface PatternConfig {
397
397
  rotationStepH: number;
398
398
  /** Added rotation per vertical step, in degrees. */
399
399
  rotationStepV: number;
400
+ /**
401
+ * Cap on how many tiles the grid lays across, counting the anchor tile. `0`
402
+ * (the default) fills the whole area — the cap is for a finite block of
403
+ * repeats, e.g. a three-across strip, rather than a full-bleed pattern.
404
+ */
405
+ horizontalLimit?: number;
406
+ /** Cap on how many tiles the grid lays down the area. See {@link horizontalLimit}. */
407
+ verticalLimit?: number;
400
408
  }
401
409
  /** Fabric interaction flags frozen while a layer is rendered as a pattern. */
402
410
  interface PatternLocks {
@@ -397,6 +397,14 @@ interface PatternConfig {
397
397
  rotationStepH: number;
398
398
  /** Added rotation per vertical step, in degrees. */
399
399
  rotationStepV: number;
400
+ /**
401
+ * Cap on how many tiles the grid lays across, counting the anchor tile. `0`
402
+ * (the default) fills the whole area — the cap is for a finite block of
403
+ * repeats, e.g. a three-across strip, rather than a full-bleed pattern.
404
+ */
405
+ horizontalLimit?: number;
406
+ /** Cap on how many tiles the grid lays down the area. See {@link horizontalLimit}. */
407
+ verticalLimit?: number;
400
408
  }
401
409
  /** Fabric interaction flags frozen while a layer is rendered as a pattern. */
402
410
  interface PatternLocks {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overtone-art/canvas-editor-core",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Abstract pluggable canvas editor built on Fabric.js",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",