@wix/editor-react-components 1.2622.0 → 1.2623.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.
@@ -297,7 +297,7 @@ const manifest = {
297
297
  value: "start",
298
298
  displayName: "Start",
299
299
  appliedStyles: [
300
- { property: "--scroll-snap-type", value: "x mandatory" },
300
+ { property: "--scroll-snap-type", value: "both mandatory" },
301
301
  { property: "--item-scroll-snap-align", value: "start" }
302
302
  ]
303
303
  },
@@ -305,7 +305,7 @@ const manifest = {
305
305
  value: "center",
306
306
  displayName: "Center",
307
307
  appliedStyles: [
308
- { property: "--scroll-snap-type", value: "x mandatory" },
308
+ { property: "--scroll-snap-type", value: "both mandatory" },
309
309
  { property: "--item-scroll-snap-align", value: "center" }
310
310
  ]
311
311
  },
@@ -313,7 +313,7 @@ const manifest = {
313
313
  value: "end",
314
314
  displayName: "End",
315
315
  appliedStyles: [
316
- { property: "--scroll-snap-type", value: "x mandatory" },
316
+ { property: "--scroll-snap-type", value: "both mandatory" },
317
317
  { property: "--item-scroll-snap-align", value: "end" }
318
318
  ]
319
319
  }
@@ -419,6 +419,11 @@ const manifest = {
419
419
  },
420
420
  presets: {
421
421
  [presets.cards]: {
422
+ initialSize: {
423
+ height: {
424
+ sizingType: LAYOUT.SIZING_TYPE.content
425
+ }
426
+ },
422
427
  presetCssUrl: `./site/components/Repeater/presets/${presets.cards}.css`,
423
428
  displayName: DisplayNames.root.presets.cards,
424
429
  presetDefaults: {
@@ -443,6 +448,11 @@ const manifest = {
443
448
  }
444
449
  },
445
450
  [presets.cards_off]: {
451
+ initialSize: {
452
+ height: {
453
+ sizingType: LAYOUT.SIZING_TYPE.content
454
+ }
455
+ },
446
456
  presetCssUrl: `./site/components/Repeater/presets/${presets.cards_off}.css`,
447
457
  displayName: DisplayNames.root.presets.cards_off,
448
458
  presetDefaults: {
@@ -468,6 +478,11 @@ const manifest = {
468
478
  }
469
479
  },
470
480
  [presets.list]: {
481
+ initialSize: {
482
+ height: {
483
+ sizingType: LAYOUT.SIZING_TYPE.content
484
+ }
485
+ },
471
486
  presetCssUrl: `./site/components/Repeater/presets/${presets.list}.css`,
472
487
  displayName: DisplayNames.root.presets.list,
473
488
  presetDefaults: {
@@ -502,6 +517,11 @@ const manifest = {
502
517
  }
503
518
  },
504
519
  [presets.slider]: {
520
+ initialSize: {
521
+ height: {
522
+ sizingType: LAYOUT.SIZING_TYPE.content
523
+ }
524
+ },
505
525
  presetCssUrl: `./site/components/Repeater/presets/${presets.slider}.css`,
506
526
  displayName: DisplayNames.root.presets.slider,
507
527
  presetDefaults: {
@@ -535,9 +555,19 @@ const manifest = {
535
555
  }
536
556
  },
537
557
  [presets.slider_vertical]: {
558
+ initialSize: {
559
+ height: {
560
+ sizingType: LAYOUT.SIZING_TYPE.pixels,
561
+ pixels: 400
562
+ }
563
+ },
538
564
  presetCssUrl: `./site/components/Repeater/presets/${presets.slider_vertical}.css`,
539
565
  displayName: DisplayNames.root.presets.slider_vertical,
540
566
  presetDefaults: {
567
+ layout: {
568
+ resizeDirection: LAYOUT.RESIZE_DIRECTION.horizontalAndVertical,
569
+ contentResizeDirection: LAYOUT.CONTENT_RESIZE_DIRECTION.vertical
570
+ },
541
571
  containers: {
542
572
  renderItem: {
543
573
  containerResizeDirection: LAYOUT.CONTENT_RESIZE_DIRECTION.vertical
@@ -552,9 +582,7 @@ const manifest = {
552
582
  "column-min-width",
553
583
  "row-min-height",
554
584
  "keep-rows-equal",
555
- "single-row-behavior",
556
- "scroll-snap-align",
557
- "show-scrollbar"
585
+ "single-row-behavior"
558
586
  ]
559
587
  },
560
588
  cssProperties: {
@@ -569,6 +597,11 @@ const manifest = {
569
597
  }
570
598
  },
571
599
  [presets.grid]: {
600
+ initialSize: {
601
+ height: {
602
+ sizingType: LAYOUT.SIZING_TYPE.content
603
+ }
604
+ },
572
605
  presetCssUrl: `./site/components/Repeater/presets/${presets.grid}.css`,
573
606
  displayName: DisplayNames.root.presets.grid,
574
607
  presetDefaults: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2622.0",
3
+ "version": "1.2623.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -199,5 +199,5 @@
199
199
  "registry": "https://registry.npmjs.org/",
200
200
  "access": "public"
201
201
  },
202
- "falconPackageHash": "b336804bbba43d1fcbe8127b24aef43306e653358074909370f519e7"
202
+ "falconPackageHash": "68fc01641b6bd0459617c98cb88c480fad720ed94a50ad87cd39281d"
203
203
  }