f1ow 0.1.2 → 0.1.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.
@@ -8,6 +8,8 @@ interface Props {
8
8
  visible: boolean;
9
9
  /** Accent color */
10
10
  color?: string;
11
+ /** Current viewport scale for LOD */
12
+ viewportScale?: number;
11
13
  }
12
14
  declare const _default: React.NamedExoticComponent<Props>;
13
15
  export default _default;
@@ -7,6 +7,7 @@ interface Props {
7
7
  height: number;
8
8
  } | null;
9
9
  selectionColor?: string;
10
+ viewportScale?: number;
10
11
  }
11
12
  declare const _default: React.NamedExoticComponent<Props>;
12
13
  export default _default;
@@ -59,6 +59,10 @@ export declare const ButtonRow: React.FC<{
59
59
  children: React.ReactNode;
60
60
  gap?: number;
61
61
  wrap?: boolean;
62
+ /** Number of equal-width grid columns. Defaults to 4 so all button groups
63
+ * fill the full panel width without needing to specify it every time.
64
+ * Pass 0 (or false-y) to fall back to flex layout (e.g. for wrap rows). */
65
+ columns?: number;
62
66
  style?: React.CSSProperties;
63
67
  }>;
64
68
  export interface CompactPickerOption {
@@ -78,5 +82,7 @@ export interface CompactDropdownPickerProps {
78
82
  pickerRef: React.RefObject<HTMLDivElement | null>;
79
83
  /** Number of columns in the dropdown grid. Defaults to all items in a single row. */
80
84
  columns?: number;
85
+ /** Additional styles applied to the outer wrapper element */
86
+ style?: React.CSSProperties;
81
87
  }
82
88
  export declare const CompactDropdownPicker: React.FC<CompactDropdownPickerProps>;
@@ -30,6 +30,19 @@ export interface ArrowheadConfig {
30
30
  /** Small SVG-like preview character for UI */
31
31
  preview: string;
32
32
  }
33
+ export declare const FREEHAND_STYLES: readonly [{
34
+ readonly value: "standard";
35
+ readonly label: "Standard";
36
+ }, {
37
+ readonly value: "pen";
38
+ readonly label: "Pen";
39
+ }, {
40
+ readonly value: "pencil";
41
+ readonly label: "Pencil";
42
+ }, {
43
+ readonly value: "brush";
44
+ readonly label: "Brush";
45
+ }];
33
46
  export declare const ARROWHEAD_TYPES: ArrowheadConfig[];
34
47
  export interface LineTypeConfig {
35
48
  type: LineType;