@wix/auto_sdk_blog_draft-posts 1.0.32 → 1.0.33

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.
@@ -586,7 +586,7 @@ interface DividerData {
586
586
  /** Divider width. */
587
587
  width?: WidthWithLiterals;
588
588
  /** Divider alignment. */
589
- alignment?: AlignmentWithLiterals;
589
+ alignment?: DividerDataAlignmentWithLiterals;
590
590
  }
591
591
  declare enum LineStyle {
592
592
  /** Single Line */
@@ -610,7 +610,7 @@ declare enum Width {
610
610
  }
611
611
  /** @enumType */
612
612
  type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
613
- declare enum Alignment {
613
+ declare enum DividerDataAlignment {
614
614
  /** Center alignment */
615
615
  CENTER = "CENTER",
616
616
  /** Left alignment */
@@ -619,7 +619,7 @@ declare enum Alignment {
619
619
  RIGHT = "RIGHT"
620
620
  }
621
621
  /** @enumType */
622
- type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
622
+ type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
623
623
  interface FileData {
624
624
  /** Styling for the file's container. */
625
625
  containerData?: PluginContainerData;
@@ -744,7 +744,7 @@ interface ItemDataOneOf {
744
744
  }
745
745
  interface GalleryOptions {
746
746
  /** Gallery layout. */
747
- layout?: Layout;
747
+ layout?: GalleryOptionsLayout;
748
748
  /** Styling for gallery items. */
749
749
  item?: ItemStyle;
750
750
  /** Styling for gallery thumbnail images. */
@@ -804,7 +804,7 @@ declare enum ThumbnailsAlignment {
804
804
  }
805
805
  /** @enumType */
806
806
  type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
807
- interface Layout {
807
+ interface GalleryOptionsLayout {
808
808
  /** Gallery layout type. */
809
809
  type?: LayoutTypeWithLiterals;
810
810
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -966,7 +966,7 @@ interface LinkPreviewData {
966
966
  /** Styling for the link preview. */
967
967
  styles?: LinkPreviewDataStyles;
968
968
  }
969
- declare enum Position {
969
+ declare enum StylesPosition {
970
970
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
971
971
  START = "START",
972
972
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -977,7 +977,7 @@ declare enum Position {
977
977
  HIDDEN = "HIDDEN"
978
978
  }
979
979
  /** @enumType */
980
- type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
980
+ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
981
981
  interface LinkPreviewDataStyles {
982
982
  /**
983
983
  * Background color as a hexadecimal value.
@@ -1009,7 +1009,7 @@ interface LinkPreviewDataStyles {
1009
1009
  */
1010
1010
  borderColor?: string | null;
1011
1011
  /** Position of thumbnail. Defaults to `START`. */
1012
- thumbnailPosition?: PositionWithLiterals;
1012
+ thumbnailPosition?: StylesPositionWithLiterals;
1013
1013
  }
1014
1014
  interface MapData {
1015
1015
  /** Styling for the map's container. */
@@ -1363,6 +1363,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1363
1363
  url?: string | null;
1364
1364
  /** An image for the embedded content. */
1365
1365
  image?: V1Media;
1366
+ /** Whether to hide the image. */
1367
+ hideImage?: boolean | null;
1368
+ /** Whether to hide the title. */
1369
+ hideTitle?: boolean | null;
1370
+ /** Whether to hide the price. */
1371
+ hidePrice?: boolean | null;
1372
+ /** Whether to hide the description (Event and Booking). */
1373
+ hideDescription?: boolean | null;
1374
+ /** Whether to hide the date and time (Event). */
1375
+ hideDateTime?: boolean | null;
1376
+ /** Whether to hide the location (Event). */
1377
+ hideLocation?: boolean | null;
1378
+ /** Whether to hide the duration (Booking). */
1379
+ hideDuration?: boolean | null;
1380
+ /** Whether to hide the button. */
1381
+ hideButton?: boolean | null;
1382
+ /** Whether to hide the ribbon. */
1383
+ hideRibbon?: boolean | null;
1384
+ /** Button styling options. */
1385
+ buttonStyles?: ButtonStyles;
1386
+ /** Image styling options. */
1387
+ imageStyles?: ImageStyles;
1388
+ /** Ribbon styling options. */
1389
+ ribbonStyles?: RibbonStyles;
1390
+ /** Card styling options. */
1391
+ cardStyles?: CardStyles;
1366
1392
  }
1367
1393
  /** @oneof */
1368
1394
  interface AppEmbedDataAppDataOneOf {
@@ -1371,6 +1397,66 @@ interface AppEmbedDataAppDataOneOf {
1371
1397
  /** Data for embedded Wix Events content. */
1372
1398
  eventData?: EventData;
1373
1399
  }
1400
+ declare enum Position {
1401
+ /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
1402
+ START = "START",
1403
+ /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
1404
+ END = "END",
1405
+ /** Image positioned at the top */
1406
+ TOP = "TOP"
1407
+ }
1408
+ /** @enumType */
1409
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
1410
+ declare enum AspectRatio {
1411
+ /** 1:1 aspect ratio */
1412
+ SQUARE = "SQUARE",
1413
+ /** 16:9 aspect ratio */
1414
+ RECTANGLE = "RECTANGLE"
1415
+ }
1416
+ /** @enumType */
1417
+ type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
1418
+ declare enum Resizing {
1419
+ /** Fill the container, may crop the image */
1420
+ FILL = "FILL",
1421
+ /** Fit the image within the container */
1422
+ FIT = "FIT"
1423
+ }
1424
+ /** @enumType */
1425
+ type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
1426
+ declare enum Placement {
1427
+ /** Ribbon placed on the image */
1428
+ IMAGE = "IMAGE",
1429
+ /** Ribbon placed on the product information */
1430
+ PRODUCT_INFO = "PRODUCT_INFO"
1431
+ }
1432
+ /** @enumType */
1433
+ type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
1434
+ declare enum CardStylesType {
1435
+ /** Card with visible border and background */
1436
+ CONTAINED = "CONTAINED",
1437
+ /** Card without visible border */
1438
+ FRAMELESS = "FRAMELESS"
1439
+ }
1440
+ /** @enumType */
1441
+ type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
1442
+ declare enum Alignment {
1443
+ /** Content aligned to start (left in LTR layouts, right in RTL layouts) */
1444
+ START = "START",
1445
+ /** Content centered */
1446
+ CENTER = "CENTER",
1447
+ /** Content aligned to end (right in LTR layouts, left in RTL layouts) */
1448
+ END = "END"
1449
+ }
1450
+ /** @enumType */
1451
+ type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
1452
+ declare enum Layout {
1453
+ /** Elements stacked vertically */
1454
+ STACKED = "STACKED",
1455
+ /** Elements arranged horizontally */
1456
+ SIDE_BY_SIDE = "SIDE_BY_SIDE"
1457
+ }
1458
+ /** @enumType */
1459
+ type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
1374
1460
  declare enum AppType {
1375
1461
  PRODUCT = "PRODUCT",
1376
1462
  EVENT = "EVENT",
@@ -1388,6 +1474,122 @@ interface EventData {
1388
1474
  /** Event location. */
1389
1475
  location?: string | null;
1390
1476
  }
1477
+ interface ButtonStyles {
1478
+ /** Text to display on the button. */
1479
+ buttonText?: string | null;
1480
+ /** Border width in pixels. */
1481
+ borderWidth?: number | null;
1482
+ /** Border radius in pixels. */
1483
+ borderRadius?: number | null;
1484
+ /**
1485
+ * Border color as a hexadecimal value.
1486
+ * @format COLOR_HEX
1487
+ */
1488
+ borderColor?: string | null;
1489
+ /**
1490
+ * Text color as a hexadecimal value.
1491
+ * @format COLOR_HEX
1492
+ */
1493
+ textColor?: string | null;
1494
+ /**
1495
+ * Background color as a hexadecimal value.
1496
+ * @format COLOR_HEX
1497
+ */
1498
+ backgroundColor?: string | null;
1499
+ /**
1500
+ * Border color as a hexadecimal value (hover state).
1501
+ * @format COLOR_HEX
1502
+ */
1503
+ borderColorHover?: string | null;
1504
+ /**
1505
+ * Text color as a hexadecimal value (hover state).
1506
+ * @format COLOR_HEX
1507
+ */
1508
+ textColorHover?: string | null;
1509
+ /**
1510
+ * Background color as a hexadecimal value (hover state).
1511
+ * @format COLOR_HEX
1512
+ */
1513
+ backgroundColorHover?: string | null;
1514
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1515
+ buttonSize?: string | null;
1516
+ }
1517
+ interface ImageStyles {
1518
+ /** Whether to hide the image. */
1519
+ hideImage?: boolean | null;
1520
+ /** Position of image. Defaults to `START`. */
1521
+ imagePosition?: PositionWithLiterals;
1522
+ /** Aspect ratio for the image. Defaults to `SQUARE`. */
1523
+ aspectRatio?: AspectRatioWithLiterals;
1524
+ /** How the image should be resized. Defaults to `FILL`. */
1525
+ resizing?: ResizingWithLiterals;
1526
+ /**
1527
+ * Image border color as a hexadecimal value.
1528
+ * @format COLOR_HEX
1529
+ */
1530
+ borderColor?: string | null;
1531
+ /** Image border width in pixels. */
1532
+ borderWidth?: number | null;
1533
+ /** Image border radius in pixels. */
1534
+ borderRadius?: number | null;
1535
+ }
1536
+ interface RibbonStyles {
1537
+ /** Text to display on the ribbon. */
1538
+ ribbonText?: string | null;
1539
+ /**
1540
+ * Ribbon background color as a hexadecimal value.
1541
+ * @format COLOR_HEX
1542
+ */
1543
+ backgroundColor?: string | null;
1544
+ /**
1545
+ * Ribbon text color as a hexadecimal value.
1546
+ * @format COLOR_HEX
1547
+ */
1548
+ textColor?: string | null;
1549
+ /**
1550
+ * Ribbon border color as a hexadecimal value.
1551
+ * @format COLOR_HEX
1552
+ */
1553
+ borderColor?: string | null;
1554
+ /** Ribbon border width in pixels. */
1555
+ borderWidth?: number | null;
1556
+ /** Ribbon border radius in pixels. */
1557
+ borderRadius?: number | null;
1558
+ /** Placement of the ribbon. Defaults to `IMAGE`. */
1559
+ ribbonPlacement?: PlacementWithLiterals;
1560
+ }
1561
+ interface CardStyles {
1562
+ /**
1563
+ * Card background color as a hexadecimal value.
1564
+ * @format COLOR_HEX
1565
+ */
1566
+ backgroundColor?: string | null;
1567
+ /**
1568
+ * Card border color as a hexadecimal value.
1569
+ * @format COLOR_HEX
1570
+ */
1571
+ borderColor?: string | null;
1572
+ /** Card border width in pixels. */
1573
+ borderWidth?: number | null;
1574
+ /** Card border radius in pixels. */
1575
+ borderRadius?: number | null;
1576
+ /** Card type. Defaults to `CONTAINED`. */
1577
+ type?: CardStylesTypeWithLiterals;
1578
+ /** Content alignment. Defaults to `START`. */
1579
+ alignment?: AlignmentWithLiterals;
1580
+ /** Layout for title and price. Defaults to `STACKED`. */
1581
+ titlePriceLayout?: LayoutWithLiterals;
1582
+ /**
1583
+ * Title text color as a hexadecimal value.
1584
+ * @format COLOR_HEX
1585
+ */
1586
+ titleColor?: string | null;
1587
+ /**
1588
+ * Text color as a hexadecimal value.
1589
+ * @format COLOR_HEX
1590
+ */
1591
+ textColor?: string | null;
1592
+ }
1391
1593
  interface VideoData {
1392
1594
  /** Styling for the video's container. */
1393
1595
  containerData?: PluginContainerData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_blog_draft-posts",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -49,5 +49,5 @@
49
49
  "fqdn": "wix.blog.v3.draft"
50
50
  }
51
51
  },
52
- "falconPackageHash": "7c1e440f35180494c3890dabe7b2da5659ff9758143367d8ebc8297e"
52
+ "falconPackageHash": "8f2bb3bde520642e86857defc5328299417a6ada3fe24d979d855b0c"
53
53
  }