@cntrl-site/components 1.0.12-alpha.9 → 1.0.13-alpha.0

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.
@@ -1,9 +1,8 @@
1
1
  import { ComponentSchemaV1 } from '../../types/SchemaV1';
2
2
  export declare const TestimonialSingleComponent: {
3
- element: ({ settings, content, isEditor, isPreviewMode }: {
3
+ element: ({ settings, content, isEditor, isPreviewMode, isEditMode }: {
4
4
  settings: {
5
- autoplay: "on" | "off";
6
- delay: number;
5
+ speed: number;
7
6
  align: "start" | "center" | "end";
8
7
  width: number;
9
8
  imageMarginTop?: number;
@@ -22,6 +21,7 @@ export declare const TestimonialSingleComponent: {
22
21
  content?: import('./TestimonialSingle').TestimonialsItem[];
23
22
  isEditor?: boolean;
24
23
  isPreviewMode?: boolean;
24
+ isEditMode?: boolean;
25
25
  } & import('../props').CommonComponentProps) => import("react/jsx-runtime").JSX.Element;
26
26
  id: string;
27
27
  name: string;
@@ -0,0 +1,7 @@
1
+ export type ImageRatioFit = {
2
+ display: 'Fit' | 'Cover';
3
+ ratioValue: '1:1' | '2:3' | '3:4' | '4:5' | '16:9';
4
+ reversed: boolean;
5
+ };
6
+ export declare const isImageRatioCover: (fit: ImageRatioFit) => boolean;
7
+ export declare const getAspectRatio: (fit: ImageRatioFit) => string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { type Component, isSchemaV1 } from './types/Component';
1
+ export { type Breakpoint, type Component, type ComponentDefaultSize, type ComponentSize, isSchemaV1 } from './types/Component';
2
2
  export type { ComponentSchemaV1, SchemaProperty, PropertyScope, LayoutItem, LayoutRow, LayoutGroup, LayoutSwitcher, LayoutTab, SchemaSection, SchemaPanel, SchemaDisplay } from './types/SchemaV1';
3
3
  export { components } from './Components/components';