@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.
@@ -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?: 'contain' | 'avoid';
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: 'custom';
108
+ shape: ShapeId;
109
109
  customPath: string;
110
110
  pathFit: 'viewbox';
111
111
  pathViewBox: string;
@@ -29,7 +29,10 @@ export declare const PretextComponent: {
29
29
  sourceCode: string;
30
30
  assetsPaths: {
31
31
  content: never[];
32
- parameters: never[];
32
+ parameters: {
33
+ path: string;
34
+ placeholderEnabled: boolean;
35
+ }[];
33
36
  };
34
37
  fontSettingsPaths: {
35
38
  content: never[];