@wix/auto_sdk_rich-content_ricos-documents 1.0.39 → 1.0.40

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +7 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +31 -1
  5. package/build/cjs/index.typings.js +7 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +31 -1
  8. package/build/cjs/meta.js +7 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +6 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +31 -1
  14. package/build/es/index.typings.mjs +6 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +31 -1
  17. package/build/es/meta.mjs +6 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +7 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +31 -1
  23. package/build/internal/cjs/index.typings.js +7 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +31 -1
  26. package/build/internal/cjs/meta.js +7 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +6 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +31 -1
  32. package/build/internal/es/index.typings.mjs +6 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +31 -1
  35. package/build/internal/es/meta.mjs +6 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -615,7 +615,17 @@ interface DividerData {
615
615
  width?: WidthWithLiterals;
616
616
  /** Divider alignment. */
617
617
  alignment?: DividerDataAlignmentWithLiterals;
618
+ /** Visual styling for the divider lines. */
619
+ styles?: DividerDataStyles;
618
620
  }
621
+ declare enum LineCap {
622
+ /** Square line endings. */
623
+ SQUARE = "SQUARE",
624
+ /** Rounded line endings. */
625
+ ROUND = "ROUND"
626
+ }
627
+ /** @enumType */
628
+ type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
619
629
  declare enum LineStyle {
620
630
  /** Single Line */
621
631
  SINGLE = "SINGLE",
@@ -648,6 +658,26 @@ declare enum DividerDataAlignment {
648
658
  }
649
659
  /** @enumType */
650
660
  type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
661
+ interface DividerDataStyles {
662
+ /**
663
+ * Divider color as a hexadecimal value. An alpha channel controls opacity.
664
+ * @maxLength 19
665
+ */
666
+ color?: string | null;
667
+ /** Divider line ending shape. */
668
+ lineCap?: LineCapWithLiterals;
669
+ /**
670
+ * Line thicknesses in pixels, ordered from first line to last line.
671
+ * @maxSize 10
672
+ */
673
+ lineThickness?: number[];
674
+ /** Dash length in pixels for dashed dividers. */
675
+ dashLength?: number | null;
676
+ /** Gap between dashes or dots in pixels. */
677
+ dashGap?: number | null;
678
+ /** Gap between divider lines in pixels. */
679
+ lineGap?: number | null;
680
+ }
651
681
  interface FileData {
652
682
  /** Styling for the file's container. */
653
683
  containerData?: PluginContainerData;
@@ -2658,4 +2688,4 @@ interface ConvertFromRicosDocumentOptionsOptionsOneOf {
2658
2688
  plainTextOptions?: PlainTextOptions;
2659
2689
  }
2660
2690
 
2661
- export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type ConvertFromRicosDocumentOptions, type ConvertFromRicosDocumentOptionsOptionsOneOf, type ConvertFromRicosDocumentRequest, type ConvertFromRicosDocumentRequestOptionsOneOf, type ConvertFromRicosDocumentResponse, type ConvertFromRicosDocumentResponseResultOneOf, type ConvertToRicosDocumentOptions, type ConvertToRicosDocumentOptionsSourceOneOf, type ConvertToRicosDocumentRequest, type ConvertToRicosDocumentRequestSourceOneOf, type ConvertToRicosDocumentResponse, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlainTextOptions, type PlaybackOptions, Plugin, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PluginWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type RicosDocumentOptions, type RicosDocumentPlaceholder, type RicosDocumentViolation, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, TargetFormat, type TargetFormatWithLiterals, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, convertFromRicosDocument, convertToRicosDocument, validateDocument };
2691
+ export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type ConvertFromRicosDocumentOptions, type ConvertFromRicosDocumentOptionsOptionsOneOf, type ConvertFromRicosDocumentRequest, type ConvertFromRicosDocumentRequestOptionsOneOf, type ConvertFromRicosDocumentResponse, type ConvertFromRicosDocumentResponseResultOneOf, type ConvertToRicosDocumentOptions, type ConvertToRicosDocumentOptionsSourceOneOf, type ConvertToRicosDocumentRequest, type ConvertToRicosDocumentRequestSourceOneOf, type ConvertToRicosDocumentResponse, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlainTextOptions, type PlaybackOptions, Plugin, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PluginWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type RicosDocumentOptions, type RicosDocumentPlaceholder, type RicosDocumentViolation, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, TargetFormat, type TargetFormatWithLiterals, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, convertFromRicosDocument, convertToRicosDocument, validateDocument };
@@ -45,6 +45,7 @@ __export(index_typings_exports, {
45
45
  Layout: () => Layout,
46
46
  LayoutDataBackgroundType: () => LayoutDataBackgroundType,
47
47
  LayoutType: () => LayoutType,
48
+ LineCap: () => LineCap,
48
49
  LineStyle: () => LineStyle,
49
50
  ListStyle: () => ListStyle,
50
51
  MapType: () => MapType,
@@ -669,6 +670,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
669
670
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
670
671
  return TextAlignment2;
671
672
  })(TextAlignment || {});
673
+ var LineCap = /* @__PURE__ */ ((LineCap2) => {
674
+ LineCap2["SQUARE"] = "SQUARE";
675
+ LineCap2["ROUND"] = "ROUND";
676
+ return LineCap2;
677
+ })(LineCap || {});
672
678
  var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
673
679
  LineStyle2["SINGLE"] = "SINGLE";
674
680
  LineStyle2["DOUBLE"] = "DOUBLE";
@@ -1127,6 +1133,7 @@ async function convertFromRicosDocument2(document, targetFormat, options) {
1127
1133
  Layout,
1128
1134
  LayoutDataBackgroundType,
1129
1135
  LayoutType,
1136
+ LineCap,
1130
1137
  LineStyle,
1131
1138
  ListStyle,
1132
1139
  MapType,