@contentful/experiences-components-react 1.22.1-dev-20241111T0918-dbe183a.0 → 1.23.0-beta.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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ComponentDefinition, OptimizedImageAsset, ExperienceTreeNode, ExperienceDataSource, ExperienceUnboundValues, StyleProps, DragWrapperProps, ResolveDesignValueType } from '@contentful/experiences-core/types';
2
2
  import React$1, { RefObject, CSSProperties, SyntheticEvent } from 'react';
3
- import { EntityStore } from '@contentful/experiences-core';
4
3
  import { Document } from '@contentful/rich-text-types';
4
+ import { EntityStore } from '@contentful/experiences-core';
5
5
 
6
6
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
7
7
  /**
@@ -239,12 +239,17 @@ type ContentfulContainerAsHyperlinkProps<EditorMode = boolean> = (EditorMode ext
239
239
 
240
240
  declare const ContentfulContainer: React$1.FC<ContentfulContainerAsHyperlinkProps>;
241
241
 
242
+ declare const containerDefinition: ComponentDefinition;
243
+ declare const sectionDefinition: ComponentDefinition;
244
+
242
245
  type ContentfulDividerProps = {
243
246
  className?: string;
244
247
  dragProps?: unknown;
245
248
  };
246
249
  declare const ContentfulDivider: ({ className, dragProps: _, ...props }: ContentfulDividerProps) => React$1.JSX.Element;
247
250
 
251
+ declare const dividerDefinition: ComponentDefinition;
252
+
248
253
  interface ColumnsBaseProps {
249
254
  editorMode: boolean;
250
255
  className?: string;
@@ -285,6 +290,9 @@ declare const Columns: React$1.FC<ColumnsProps>;
285
290
 
286
291
  declare const SingleColumn: React$1.FC<SingleColumnProps>;
287
292
 
293
+ declare const columnsDefinition: ComponentDefinition;
294
+ declare const singleColumnDefinition: ComponentDefinition;
295
+
288
296
  type AssemblyProps<EditorMode = boolean> = EditorMode extends true ? {
289
297
  children?: React$1.ReactNode;
290
298
  className?: string;
@@ -298,4 +306,12 @@ type AssemblyProps<EditorMode = boolean> = EditorMode extends true ? {
298
306
  } : Record<string, any>;
299
307
  declare const Assembly: React$1.FC<AssemblyProps>;
300
308
 
301
- export { Assembly, type AssemblyProps, Button, ButtonComponentDefinition, type ButtonProps, Columns, ContentfulContainer, ContentfulDivider, Heading, HeadingComponentDefinition, type HeadingProps, Image, ImageComponentDefinition, type ImageProps, RichText, RichTextComponentDefinition, type RichTextProps, SingleColumn, Text, TextComponentDefinition, type TextProps };
309
+ interface CarouselProps {
310
+ className?: string;
311
+ children?: React$1.ReactNode;
312
+ }
313
+ declare const Carousel: React$1.FC<CarouselProps>;
314
+
315
+ declare const carouselDefinition: ComponentDefinition;
316
+
317
+ export { Assembly, type AssemblyProps, Button, ButtonComponentDefinition, type ButtonProps, Carousel, Columns, ContentfulContainer, ContentfulDivider, Heading, HeadingComponentDefinition, type HeadingProps, Image, ImageComponentDefinition, type ImageProps, RichText, RichTextComponentDefinition, type RichTextProps, SingleColumn, Text, TextComponentDefinition, type TextProps, carouselDefinition, columnsDefinition, containerDefinition, dividerDefinition, sectionDefinition, singleColumnDefinition };