@cntrl-site/components 1.0.97 → 1.0.98-alpha.1
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.
|
@@ -40,6 +40,8 @@ export type PretextSettings = {
|
|
|
40
40
|
fitText?: 'on' | 'off';
|
|
41
41
|
hyphenate?: 'on' | 'off';
|
|
42
42
|
padding?: number;
|
|
43
|
+
columns?: number;
|
|
44
|
+
columnGutter?: number;
|
|
43
45
|
dropCapLines?: number;
|
|
44
46
|
dropCapSize?: number;
|
|
45
47
|
image?: string | null;
|
|
@@ -180,6 +182,8 @@ export type ColumnProps = {
|
|
|
180
182
|
scale: number;
|
|
181
183
|
onFitScale: (scale: number) => void;
|
|
182
184
|
padding: string;
|
|
185
|
+
columns: number;
|
|
186
|
+
gutter: string;
|
|
183
187
|
hyphenate: boolean;
|
|
184
188
|
showOverflowIndicator: boolean;
|
|
185
189
|
dropCapLines: number;
|
|
@@ -191,6 +195,7 @@ export type ColumnProps = {
|
|
|
191
195
|
imageFocalY: number;
|
|
192
196
|
imageScale: number;
|
|
193
197
|
imageCustomPath: string;
|
|
198
|
+
imagePathEdited: boolean;
|
|
194
199
|
pathDragActive: boolean;
|
|
195
200
|
pathCarryImage: boolean;
|
|
196
201
|
onCarryImageConsumed?: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ColumnProps } from './Pretext';
|
|
2
|
-
export declare function PretextColumn({ P, item, shape, customPath, pathFit, viewBox, mode, align, allowOverflow, fitEnabled, scale, onFitScale, padding, hyphenate, showOverflowIndicator, dropCapLines, dropCapSize, showGuides, typography, imageUrl, imageFocalX, imageFocalY, imageScale, imageCustomPath, pathDragActive, pathCarryImage, onCarryImageConsumed, pathEditor, imageEditor, }: ColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function PretextColumn({ P, item, shape, customPath, pathFit, viewBox, mode, align, allowOverflow, fitEnabled, scale, onFitScale, padding, columns, gutter, hyphenate, showOverflowIndicator, dropCapLines, dropCapSize, showGuides, typography, imageUrl, imageFocalX, imageFocalY, imageScale, imageCustomPath, imagePathEdited, pathDragActive, pathCarryImage, onCarryImageConsumed, pathEditor, imageEditor, }: ColumnProps): import("react/jsx-runtime").JSX.Element;
|