@cntrl-site/components 0.1.0-24 → 0.1.0-26

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
@@ -1997,8 +1997,7 @@ const LightboxComponent = {
1997
1997
  type: "string",
1998
1998
  title: "FROM",
1999
1999
  display: {
2000
- type: "direction-control",
2001
- visible: false
2000
+ type: "direction-control"
2002
2001
  },
2003
2002
  enum: ["top", "left", "right", "bottom"]
2004
2003
  },
@@ -2028,8 +2027,7 @@ const LightboxComponent = {
2028
2027
  switch: {
2029
2028
  type: "string",
2030
2029
  display: {
2031
- type: "ratio-group",
2032
- visible: false
2030
+ type: "ratio-group"
2033
2031
  },
2034
2032
  enum: ["image", "50/50"]
2035
2033
  },
@@ -2037,8 +2035,7 @@ const LightboxComponent = {
2037
2035
  type: "string",
2038
2036
  label: "T",
2039
2037
  display: {
2040
- type: "step-selector",
2041
- visible: false
2038
+ type: "step-selector"
2042
2039
  },
2043
2040
  enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
2044
2041
  }
@@ -2121,8 +2118,7 @@ const LightboxComponent = {
2121
2118
  type: "number",
2122
2119
  label: "H",
2123
2120
  display: {
2124
- type: "numeric-input",
2125
- visible: false
2121
+ type: "numeric-input"
2126
2122
  }
2127
2123
  },
2128
2124
  width: {
@@ -2492,8 +2488,8 @@ const LightboxComponent = {
2492
2488
  value: "slide in"
2493
2489
  },
2494
2490
  then: {
2495
- value: true,
2496
- name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible"
2491
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2492
+ value: true
2497
2493
  }
2498
2494
  },
2499
2495
  {
@@ -2559,11 +2555,11 @@ const LightboxComponent = {
2559
2555
  {
2560
2556
  if: {
2561
2557
  name: "appear.type",
2562
- value: "slide in"
2558
+ value: "fade in"
2563
2559
  },
2564
2560
  then: {
2565
2561
  name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2566
- value: true
2562
+ value: false
2567
2563
  }
2568
2564
  },
2569
2565
  {
@@ -2585,6 +2581,26 @@ const LightboxComponent = {
2585
2581
  name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2586
2582
  value: true
2587
2583
  }
2584
+ },
2585
+ {
2586
+ if: {
2587
+ name: "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: "triggers.type",
2598
+ value: "drag"
2599
+ },
2600
+ then: {
2601
+ name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2602
+ value: false
2603
+ }
2588
2604
  }
2589
2605
  ]
2590
2606
  },
package/dist/index.mjs CHANGED
@@ -1995,8 +1995,7 @@ const LightboxComponent = {
1995
1995
  type: "string",
1996
1996
  title: "FROM",
1997
1997
  display: {
1998
- type: "direction-control",
1999
- visible: false
1998
+ type: "direction-control"
2000
1999
  },
2001
2000
  enum: ["top", "left", "right", "bottom"]
2002
2001
  },
@@ -2026,8 +2025,7 @@ const LightboxComponent = {
2026
2025
  switch: {
2027
2026
  type: "string",
2028
2027
  display: {
2029
- type: "ratio-group",
2030
- visible: false
2028
+ type: "ratio-group"
2031
2029
  },
2032
2030
  enum: ["image", "50/50"]
2033
2031
  },
@@ -2035,8 +2033,7 @@ const LightboxComponent = {
2035
2033
  type: "string",
2036
2034
  label: "T",
2037
2035
  display: {
2038
- type: "step-selector",
2039
- visible: false
2036
+ type: "step-selector"
2040
2037
  },
2041
2038
  enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
2042
2039
  }
@@ -2119,8 +2116,7 @@ const LightboxComponent = {
2119
2116
  type: "number",
2120
2117
  label: "H",
2121
2118
  display: {
2122
- type: "numeric-input",
2123
- visible: false
2119
+ type: "numeric-input"
2124
2120
  }
2125
2121
  },
2126
2122
  width: {
@@ -2490,8 +2486,8 @@ const LightboxComponent = {
2490
2486
  value: "slide in"
2491
2487
  },
2492
2488
  then: {
2493
- value: true,
2494
- name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible"
2489
+ name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2490
+ value: true
2495
2491
  }
2496
2492
  },
2497
2493
  {
@@ -2557,11 +2553,11 @@ const LightboxComponent = {
2557
2553
  {
2558
2554
  if: {
2559
2555
  name: "appear.type",
2560
- value: "slide in"
2556
+ value: "fade in"
2561
2557
  },
2562
2558
  then: {
2563
2559
  name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
2564
- value: true
2560
+ value: false
2565
2561
  }
2566
2562
  },
2567
2563
  {
@@ -2583,6 +2579,26 @@ const LightboxComponent = {
2583
2579
  name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2584
2580
  value: true
2585
2581
  }
2582
+ },
2583
+ {
2584
+ if: {
2585
+ name: "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: "triggers.type",
2596
+ value: "drag"
2597
+ },
2598
+ then: {
2599
+ name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
2600
+ value: false
2601
+ }
2586
2602
  }
2587
2603
  ]
2588
2604
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.0-24",
3
+ "version": "0.1.0-26",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",