@cntrl-site/components 0.1.0-25 → 0.1.0-27

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.js CHANGED
@@ -2484,17 +2484,17 @@ const LightboxComponent = {
2484
2484
  displayRules: [
2485
2485
  {
2486
2486
  if: {
2487
- name: "appear.type",
2487
+ name: "lightboxBlock.appear.type",
2488
2488
  value: "slide in"
2489
2489
  },
2490
2490
  then: {
2491
- value: true,
2492
- name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible"
2491
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2492
+ value: true
2493
2493
  }
2494
2494
  },
2495
2495
  {
2496
2496
  if: {
2497
- name: "slider.direction",
2497
+ name: "lightboxBlock.slider.direction",
2498
2498
  value: "vert"
2499
2499
  },
2500
2500
  then: {
@@ -2504,7 +2504,7 @@ const LightboxComponent = {
2504
2504
  },
2505
2505
  {
2506
2506
  if: {
2507
- name: "slider.direction",
2507
+ name: "lightboxBlock.slider.direction",
2508
2508
  value: "vert"
2509
2509
  },
2510
2510
  then: {
@@ -2514,7 +2514,7 @@ const LightboxComponent = {
2514
2514
  },
2515
2515
  {
2516
2516
  if: {
2517
- name: "slider.direction",
2517
+ name: "lightboxBlock.slider.direction",
2518
2518
  value: "horiz"
2519
2519
  },
2520
2520
  then: {
@@ -2524,7 +2524,7 @@ const LightboxComponent = {
2524
2524
  },
2525
2525
  {
2526
2526
  if: {
2527
- name: "slider.direction",
2527
+ name: "lightboxBlock.slider.direction",
2528
2528
  value: "vert"
2529
2529
  },
2530
2530
  then: {
@@ -2534,7 +2534,7 @@ const LightboxComponent = {
2534
2534
  },
2535
2535
  {
2536
2536
  if: {
2537
- name: "slider.direction",
2537
+ name: "lightboxBlock.slider.direction",
2538
2538
  value: "horiz"
2539
2539
  },
2540
2540
  then: {
@@ -2544,7 +2544,7 @@ const LightboxComponent = {
2544
2544
  },
2545
2545
  {
2546
2546
  if: {
2547
- name: "appear.type",
2547
+ name: "lightboxBlock.appear.type",
2548
2548
  value: "mix"
2549
2549
  },
2550
2550
  then: {
@@ -2554,17 +2554,17 @@ const LightboxComponent = {
2554
2554
  },
2555
2555
  {
2556
2556
  if: {
2557
- name: "appear.type",
2558
- value: "slide in"
2557
+ name: "lightboxBlock.appear.type",
2558
+ value: "fade in"
2559
2559
  },
2560
2560
  then: {
2561
2561
  name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2562
- value: true
2562
+ value: false
2563
2563
  }
2564
2564
  },
2565
2565
  {
2566
2566
  if: {
2567
- name: "triggers.type",
2567
+ name: "lightboxBlock.triggers.type",
2568
2568
  value: "click"
2569
2569
  },
2570
2570
  then: {
@@ -2574,13 +2574,33 @@ const LightboxComponent = {
2574
2574
  },
2575
2575
  {
2576
2576
  if: {
2577
- name: "triggers.type",
2577
+ name: "lightboxBlock.triggers.type",
2578
2578
  value: "click"
2579
2579
  },
2580
2580
  then: {
2581
2581
  name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2582
2582
  value: true
2583
2583
  }
2584
+ },
2585
+ {
2586
+ if: {
2587
+ name: "lightboxBlock.triggers.type",
2588
+ value: "drag"
2589
+ },
2590
+ then: {
2591
+ name: "properties.lightboxBlock.properties.triggers.properties.duration.display.visible",
2592
+ value: false
2593
+ }
2594
+ },
2595
+ {
2596
+ if: {
2597
+ name: "lightboxBlock.triggers.type",
2598
+ value: "drag"
2599
+ },
2600
+ then: {
2601
+ name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2602
+ value: false
2603
+ }
2584
2604
  }
2585
2605
  ]
2586
2606
  },
package/dist/index.mjs CHANGED
@@ -2482,17 +2482,17 @@ const LightboxComponent = {
2482
2482
  displayRules: [
2483
2483
  {
2484
2484
  if: {
2485
- name: "appear.type",
2485
+ name: "lightboxBlock.appear.type",
2486
2486
  value: "slide in"
2487
2487
  },
2488
2488
  then: {
2489
- value: true,
2490
- name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible"
2489
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2490
+ value: true
2491
2491
  }
2492
2492
  },
2493
2493
  {
2494
2494
  if: {
2495
- name: "slider.direction",
2495
+ name: "lightboxBlock.slider.direction",
2496
2496
  value: "vert"
2497
2497
  },
2498
2498
  then: {
@@ -2502,7 +2502,7 @@ const LightboxComponent = {
2502
2502
  },
2503
2503
  {
2504
2504
  if: {
2505
- name: "slider.direction",
2505
+ name: "lightboxBlock.slider.direction",
2506
2506
  value: "vert"
2507
2507
  },
2508
2508
  then: {
@@ -2512,7 +2512,7 @@ const LightboxComponent = {
2512
2512
  },
2513
2513
  {
2514
2514
  if: {
2515
- name: "slider.direction",
2515
+ name: "lightboxBlock.slider.direction",
2516
2516
  value: "horiz"
2517
2517
  },
2518
2518
  then: {
@@ -2522,7 +2522,7 @@ const LightboxComponent = {
2522
2522
  },
2523
2523
  {
2524
2524
  if: {
2525
- name: "slider.direction",
2525
+ name: "lightboxBlock.slider.direction",
2526
2526
  value: "vert"
2527
2527
  },
2528
2528
  then: {
@@ -2532,7 +2532,7 @@ const LightboxComponent = {
2532
2532
  },
2533
2533
  {
2534
2534
  if: {
2535
- name: "slider.direction",
2535
+ name: "lightboxBlock.slider.direction",
2536
2536
  value: "horiz"
2537
2537
  },
2538
2538
  then: {
@@ -2542,7 +2542,7 @@ const LightboxComponent = {
2542
2542
  },
2543
2543
  {
2544
2544
  if: {
2545
- name: "appear.type",
2545
+ name: "lightboxBlock.appear.type",
2546
2546
  value: "mix"
2547
2547
  },
2548
2548
  then: {
@@ -2552,17 +2552,17 @@ const LightboxComponent = {
2552
2552
  },
2553
2553
  {
2554
2554
  if: {
2555
- name: "appear.type",
2556
- value: "slide in"
2555
+ name: "lightboxBlock.appear.type",
2556
+ value: "fade in"
2557
2557
  },
2558
2558
  then: {
2559
2559
  name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2560
- value: true
2560
+ value: false
2561
2561
  }
2562
2562
  },
2563
2563
  {
2564
2564
  if: {
2565
- name: "triggers.type",
2565
+ name: "lightboxBlock.triggers.type",
2566
2566
  value: "click"
2567
2567
  },
2568
2568
  then: {
@@ -2572,13 +2572,33 @@ const LightboxComponent = {
2572
2572
  },
2573
2573
  {
2574
2574
  if: {
2575
- name: "triggers.type",
2575
+ name: "lightboxBlock.triggers.type",
2576
2576
  value: "click"
2577
2577
  },
2578
2578
  then: {
2579
2579
  name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2580
2580
  value: true
2581
2581
  }
2582
+ },
2583
+ {
2584
+ if: {
2585
+ name: "lightboxBlock.triggers.type",
2586
+ value: "drag"
2587
+ },
2588
+ then: {
2589
+ name: "properties.lightboxBlock.properties.triggers.properties.duration.display.visible",
2590
+ value: false
2591
+ }
2592
+ },
2593
+ {
2594
+ if: {
2595
+ name: "lightboxBlock.triggers.type",
2596
+ value: "drag"
2597
+ },
2598
+ then: {
2599
+ name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2600
+ value: false
2601
+ }
2582
2602
  }
2583
2603
  ]
2584
2604
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.0-25",
3
+ "version": "0.1.0-27",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",