@cntrl-site/components 1.0.64-alpha.0 → 1.0.64-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.
- package/dist/Components/Pretext/Pretext.d.ts +3 -3
- package/dist/Components/Pretext/PretextComponent.d.ts +4 -1
- package/dist/index.js +356 -161
- package/dist/index.mjs +8050 -7737
- package/package.json +1 -1
|
@@ -27,7 +27,6 @@ type RichBlock = {
|
|
|
27
27
|
};
|
|
28
28
|
type PretextContentItem = {
|
|
29
29
|
text?: RichBlock[];
|
|
30
|
-
path?: string;
|
|
31
30
|
};
|
|
32
31
|
type PretextSettings = {
|
|
33
32
|
shape?: ShapeId;
|
|
@@ -35,11 +34,12 @@ type PretextSettings = {
|
|
|
35
34
|
pathFit?: PathFit;
|
|
36
35
|
pathViewBox?: string;
|
|
37
36
|
pathSnap?: number;
|
|
38
|
-
shapeMode?: '
|
|
37
|
+
shapeMode?: 'A' | 'B';
|
|
39
38
|
overflowMode?: 'clip' | 'visible';
|
|
40
39
|
fitText?: 'on' | 'off';
|
|
41
40
|
dropCap?: 'on' | 'off';
|
|
42
41
|
dropCapLines?: number;
|
|
42
|
+
image?: string | null;
|
|
43
43
|
backgroundColor?: string;
|
|
44
44
|
textColor?: string;
|
|
45
45
|
linkColor?: string;
|
|
@@ -105,7 +105,7 @@ export declare function settingsForEditablePreset(shape: ShapeId, aspect?: numbe
|
|
|
105
105
|
pathFit?: string;
|
|
106
106
|
pathViewBox?: string;
|
|
107
107
|
}): {
|
|
108
|
-
shape:
|
|
108
|
+
shape: ShapeId;
|
|
109
109
|
customPath: string;
|
|
110
110
|
pathFit: 'viewbox';
|
|
111
111
|
pathViewBox: string;
|