@cntrl-site/components 0.1.0-23 → 0.1.0-24
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 +41 -16
- package/dist/index.mjs +41 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1997,7 +1997,8 @@ const LightboxComponent = {
|
|
|
1997
1997
|
type: "string",
|
|
1998
1998
|
title: "FROM",
|
|
1999
1999
|
display: {
|
|
2000
|
-
type: "direction-control"
|
|
2000
|
+
type: "direction-control",
|
|
2001
|
+
visible: false
|
|
2001
2002
|
},
|
|
2002
2003
|
enum: ["top", "left", "right", "bottom"]
|
|
2003
2004
|
},
|
|
@@ -2027,7 +2028,8 @@ const LightboxComponent = {
|
|
|
2027
2028
|
switch: {
|
|
2028
2029
|
type: "string",
|
|
2029
2030
|
display: {
|
|
2030
|
-
type: "ratio-group"
|
|
2031
|
+
type: "ratio-group",
|
|
2032
|
+
visible: false
|
|
2031
2033
|
},
|
|
2032
2034
|
enum: ["image", "50/50"]
|
|
2033
2035
|
},
|
|
@@ -2035,7 +2037,8 @@ const LightboxComponent = {
|
|
|
2035
2037
|
type: "string",
|
|
2036
2038
|
label: "T",
|
|
2037
2039
|
display: {
|
|
2038
|
-
type: "step-selector"
|
|
2040
|
+
type: "step-selector",
|
|
2041
|
+
visible: false
|
|
2039
2042
|
},
|
|
2040
2043
|
enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
|
|
2041
2044
|
}
|
|
@@ -2118,7 +2121,8 @@ const LightboxComponent = {
|
|
|
2118
2121
|
type: "number",
|
|
2119
2122
|
label: "H",
|
|
2120
2123
|
display: {
|
|
2121
|
-
type: "numeric-input"
|
|
2124
|
+
type: "numeric-input",
|
|
2125
|
+
visible: false
|
|
2122
2126
|
}
|
|
2123
2127
|
},
|
|
2124
2128
|
width: {
|
|
@@ -2442,6 +2446,7 @@ const LightboxComponent = {
|
|
|
2442
2446
|
triggers: "clk",
|
|
2443
2447
|
grid: {
|
|
2444
2448
|
height: 60,
|
|
2449
|
+
width: 60,
|
|
2445
2450
|
gap: 8
|
|
2446
2451
|
},
|
|
2447
2452
|
offset: { x: 0, y: 0 },
|
|
@@ -2503,21 +2508,21 @@ const LightboxComponent = {
|
|
|
2503
2508
|
},
|
|
2504
2509
|
{
|
|
2505
2510
|
if: {
|
|
2506
|
-
name: "
|
|
2507
|
-
value: "
|
|
2511
|
+
name: "slider.direction",
|
|
2512
|
+
value: "vert"
|
|
2508
2513
|
},
|
|
2509
2514
|
then: {
|
|
2510
|
-
name: "properties.lightboxBlock.properties.
|
|
2511
|
-
value:
|
|
2515
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.width.display.visible",
|
|
2516
|
+
value: true
|
|
2512
2517
|
}
|
|
2513
2518
|
},
|
|
2514
2519
|
{
|
|
2515
2520
|
if: {
|
|
2516
2521
|
name: "slider.direction",
|
|
2517
|
-
value: "
|
|
2522
|
+
value: "horiz"
|
|
2518
2523
|
},
|
|
2519
2524
|
then: {
|
|
2520
|
-
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.
|
|
2525
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.height.display.visible",
|
|
2521
2526
|
value: true
|
|
2522
2527
|
}
|
|
2523
2528
|
},
|
|
@@ -2531,34 +2536,54 @@ const LightboxComponent = {
|
|
|
2531
2536
|
value: false
|
|
2532
2537
|
}
|
|
2533
2538
|
},
|
|
2539
|
+
{
|
|
2540
|
+
if: {
|
|
2541
|
+
name: "slider.direction",
|
|
2542
|
+
value: "horiz"
|
|
2543
|
+
},
|
|
2544
|
+
then: {
|
|
2545
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.width.display.visible",
|
|
2546
|
+
value: false
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2534
2549
|
{
|
|
2535
2550
|
if: {
|
|
2536
2551
|
name: "appear.type",
|
|
2537
|
-
value: "
|
|
2552
|
+
value: "mix"
|
|
2538
2553
|
},
|
|
2539
2554
|
then: {
|
|
2540
2555
|
name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
|
|
2541
|
-
value:
|
|
2556
|
+
value: true
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
if: {
|
|
2561
|
+
name: "appear.type",
|
|
2562
|
+
value: "slide in"
|
|
2563
|
+
},
|
|
2564
|
+
then: {
|
|
2565
|
+
name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
|
|
2566
|
+
value: true
|
|
2542
2567
|
}
|
|
2543
2568
|
},
|
|
2544
2569
|
{
|
|
2545
2570
|
if: {
|
|
2546
2571
|
name: "triggers.type",
|
|
2547
|
-
value: "
|
|
2572
|
+
value: "click"
|
|
2548
2573
|
},
|
|
2549
2574
|
then: {
|
|
2550
2575
|
name: "properties.lightboxBlock.properties.triggers.properties.duration.display.visible",
|
|
2551
|
-
value:
|
|
2576
|
+
value: true
|
|
2552
2577
|
}
|
|
2553
2578
|
},
|
|
2554
2579
|
{
|
|
2555
2580
|
if: {
|
|
2556
2581
|
name: "triggers.type",
|
|
2557
|
-
value: "
|
|
2582
|
+
value: "click"
|
|
2558
2583
|
},
|
|
2559
2584
|
then: {
|
|
2560
2585
|
name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
|
|
2561
|
-
value:
|
|
2586
|
+
value: true
|
|
2562
2587
|
}
|
|
2563
2588
|
}
|
|
2564
2589
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -1995,7 +1995,8 @@ const LightboxComponent = {
|
|
|
1995
1995
|
type: "string",
|
|
1996
1996
|
title: "FROM",
|
|
1997
1997
|
display: {
|
|
1998
|
-
type: "direction-control"
|
|
1998
|
+
type: "direction-control",
|
|
1999
|
+
visible: false
|
|
1999
2000
|
},
|
|
2000
2001
|
enum: ["top", "left", "right", "bottom"]
|
|
2001
2002
|
},
|
|
@@ -2025,7 +2026,8 @@ const LightboxComponent = {
|
|
|
2025
2026
|
switch: {
|
|
2026
2027
|
type: "string",
|
|
2027
2028
|
display: {
|
|
2028
|
-
type: "ratio-group"
|
|
2029
|
+
type: "ratio-group",
|
|
2030
|
+
visible: false
|
|
2029
2031
|
},
|
|
2030
2032
|
enum: ["image", "50/50"]
|
|
2031
2033
|
},
|
|
@@ -2033,7 +2035,8 @@ const LightboxComponent = {
|
|
|
2033
2035
|
type: "string",
|
|
2034
2036
|
label: "T",
|
|
2035
2037
|
display: {
|
|
2036
|
-
type: "step-selector"
|
|
2038
|
+
type: "step-selector",
|
|
2039
|
+
visible: false
|
|
2037
2040
|
},
|
|
2038
2041
|
enum: ["100ms", "250ms", "500ms", "1000ms", "1500ms", "2000ms"]
|
|
2039
2042
|
}
|
|
@@ -2116,7 +2119,8 @@ const LightboxComponent = {
|
|
|
2116
2119
|
type: "number",
|
|
2117
2120
|
label: "H",
|
|
2118
2121
|
display: {
|
|
2119
|
-
type: "numeric-input"
|
|
2122
|
+
type: "numeric-input",
|
|
2123
|
+
visible: false
|
|
2120
2124
|
}
|
|
2121
2125
|
},
|
|
2122
2126
|
width: {
|
|
@@ -2440,6 +2444,7 @@ const LightboxComponent = {
|
|
|
2440
2444
|
triggers: "clk",
|
|
2441
2445
|
grid: {
|
|
2442
2446
|
height: 60,
|
|
2447
|
+
width: 60,
|
|
2443
2448
|
gap: 8
|
|
2444
2449
|
},
|
|
2445
2450
|
offset: { x: 0, y: 0 },
|
|
@@ -2501,21 +2506,21 @@ const LightboxComponent = {
|
|
|
2501
2506
|
},
|
|
2502
2507
|
{
|
|
2503
2508
|
if: {
|
|
2504
|
-
name: "
|
|
2505
|
-
value: "
|
|
2509
|
+
name: "slider.direction",
|
|
2510
|
+
value: "vert"
|
|
2506
2511
|
},
|
|
2507
2512
|
then: {
|
|
2508
|
-
name: "properties.lightboxBlock.properties.
|
|
2509
|
-
value:
|
|
2513
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.width.display.visible",
|
|
2514
|
+
value: true
|
|
2510
2515
|
}
|
|
2511
2516
|
},
|
|
2512
2517
|
{
|
|
2513
2518
|
if: {
|
|
2514
2519
|
name: "slider.direction",
|
|
2515
|
-
value: "
|
|
2520
|
+
value: "horiz"
|
|
2516
2521
|
},
|
|
2517
2522
|
then: {
|
|
2518
|
-
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.
|
|
2523
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.height.display.visible",
|
|
2519
2524
|
value: true
|
|
2520
2525
|
}
|
|
2521
2526
|
},
|
|
@@ -2529,34 +2534,54 @@ const LightboxComponent = {
|
|
|
2529
2534
|
value: false
|
|
2530
2535
|
}
|
|
2531
2536
|
},
|
|
2537
|
+
{
|
|
2538
|
+
if: {
|
|
2539
|
+
name: "slider.direction",
|
|
2540
|
+
value: "horiz"
|
|
2541
|
+
},
|
|
2542
|
+
then: {
|
|
2543
|
+
name: "properties.lightboxBlock.properties.thumbnail.properties.grid.properties.width.display.visible",
|
|
2544
|
+
value: false
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2532
2547
|
{
|
|
2533
2548
|
if: {
|
|
2534
2549
|
name: "appear.type",
|
|
2535
|
-
value: "
|
|
2550
|
+
value: "mix"
|
|
2536
2551
|
},
|
|
2537
2552
|
then: {
|
|
2538
2553
|
name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
|
|
2539
|
-
value:
|
|
2554
|
+
value: true
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
if: {
|
|
2559
|
+
name: "appear.type",
|
|
2560
|
+
value: "slide in"
|
|
2561
|
+
},
|
|
2562
|
+
then: {
|
|
2563
|
+
name: "properties.lightboxBlock.properties.appear.properties.direction.display.visible",
|
|
2564
|
+
value: true
|
|
2540
2565
|
}
|
|
2541
2566
|
},
|
|
2542
2567
|
{
|
|
2543
2568
|
if: {
|
|
2544
2569
|
name: "triggers.type",
|
|
2545
|
-
value: "
|
|
2570
|
+
value: "click"
|
|
2546
2571
|
},
|
|
2547
2572
|
then: {
|
|
2548
2573
|
name: "properties.lightboxBlock.properties.triggers.properties.duration.display.visible",
|
|
2549
|
-
value:
|
|
2574
|
+
value: true
|
|
2550
2575
|
}
|
|
2551
2576
|
},
|
|
2552
2577
|
{
|
|
2553
2578
|
if: {
|
|
2554
2579
|
name: "triggers.type",
|
|
2555
|
-
value: "
|
|
2580
|
+
value: "click"
|
|
2556
2581
|
},
|
|
2557
2582
|
then: {
|
|
2558
2583
|
name: "properties.lightboxBlock.properties.triggers.properties.switch.display.visible",
|
|
2559
|
-
value:
|
|
2584
|
+
value: true
|
|
2560
2585
|
}
|
|
2561
2586
|
}
|
|
2562
2587
|
]
|