@cntrl-site/components 0.1.0-alpha.25 → 0.1.0-alpha.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
|
@@ -2138,7 +2138,7 @@ const Lightbox = ({ isOpen, onClose, content, styles: lightboxStyles, settings,
|
|
|
2138
2138
|
},
|
|
2139
2139
|
onMouseEnter: () => {
|
|
2140
2140
|
var _a;
|
|
2141
|
-
if (thumbnail.triggers === "
|
|
2141
|
+
if (thumbnail.triggers === "hov") {
|
|
2142
2142
|
(_a = lightboxRef.current) == null ? void 0 : _a.go(index);
|
|
2143
2143
|
}
|
|
2144
2144
|
},
|
|
@@ -2736,24 +2736,24 @@ const LightboxComponent = {
|
|
|
2736
2736
|
},
|
|
2737
2737
|
lightboxBlock: {
|
|
2738
2738
|
appear: {
|
|
2739
|
-
type: "
|
|
2740
|
-
duration: "
|
|
2739
|
+
type: "fade in",
|
|
2740
|
+
duration: "1000ms",
|
|
2741
2741
|
direction: "right"
|
|
2742
2742
|
},
|
|
2743
2743
|
triggers: {
|
|
2744
2744
|
type: "click",
|
|
2745
|
-
switch: "
|
|
2745
|
+
switch: "50/50",
|
|
2746
2746
|
repeat: "loop"
|
|
2747
2747
|
},
|
|
2748
2748
|
slider: {
|
|
2749
|
-
type: "
|
|
2749
|
+
type: "slide",
|
|
2750
2750
|
direction: "horiz",
|
|
2751
2751
|
duration: "1000ms"
|
|
2752
2752
|
},
|
|
2753
2753
|
thumbnail: {
|
|
2754
2754
|
isActive: true,
|
|
2755
2755
|
position: "bottom-center",
|
|
2756
|
-
fit: "
|
|
2756
|
+
fit: "fit",
|
|
2757
2757
|
align: "center",
|
|
2758
2758
|
triggers: "clk",
|
|
2759
2759
|
grid: {
|
|
@@ -2782,7 +2782,7 @@ const LightboxComponent = {
|
|
|
2782
2782
|
hover: "#cccccc"
|
|
2783
2783
|
},
|
|
2784
2784
|
area: {
|
|
2785
|
-
color: "rgba(
|
|
2785
|
+
color: "rgba(64,67,71,0.4)",
|
|
2786
2786
|
blur: 0,
|
|
2787
2787
|
closeIconUrl: null,
|
|
2788
2788
|
closeIconAlign: "top-right",
|
package/dist/index.mjs
CHANGED
|
@@ -2136,7 +2136,7 @@ const Lightbox = ({ isOpen, onClose, content, styles: lightboxStyles, settings,
|
|
|
2136
2136
|
},
|
|
2137
2137
|
onMouseEnter: () => {
|
|
2138
2138
|
var _a;
|
|
2139
|
-
if (thumbnail.triggers === "
|
|
2139
|
+
if (thumbnail.triggers === "hov") {
|
|
2140
2140
|
(_a = lightboxRef.current) == null ? void 0 : _a.go(index);
|
|
2141
2141
|
}
|
|
2142
2142
|
},
|
|
@@ -2734,24 +2734,24 @@ const LightboxComponent = {
|
|
|
2734
2734
|
},
|
|
2735
2735
|
lightboxBlock: {
|
|
2736
2736
|
appear: {
|
|
2737
|
-
type: "
|
|
2738
|
-
duration: "
|
|
2737
|
+
type: "fade in",
|
|
2738
|
+
duration: "1000ms",
|
|
2739
2739
|
direction: "right"
|
|
2740
2740
|
},
|
|
2741
2741
|
triggers: {
|
|
2742
2742
|
type: "click",
|
|
2743
|
-
switch: "
|
|
2743
|
+
switch: "50/50",
|
|
2744
2744
|
repeat: "loop"
|
|
2745
2745
|
},
|
|
2746
2746
|
slider: {
|
|
2747
|
-
type: "
|
|
2747
|
+
type: "slide",
|
|
2748
2748
|
direction: "horiz",
|
|
2749
2749
|
duration: "1000ms"
|
|
2750
2750
|
},
|
|
2751
2751
|
thumbnail: {
|
|
2752
2752
|
isActive: true,
|
|
2753
2753
|
position: "bottom-center",
|
|
2754
|
-
fit: "
|
|
2754
|
+
fit: "fit",
|
|
2755
2755
|
align: "center",
|
|
2756
2756
|
triggers: "clk",
|
|
2757
2757
|
grid: {
|
|
@@ -2780,7 +2780,7 @@ const LightboxComponent = {
|
|
|
2780
2780
|
hover: "#cccccc"
|
|
2781
2781
|
},
|
|
2782
2782
|
area: {
|
|
2783
|
-
color: "rgba(
|
|
2783
|
+
color: "rgba(64,67,71,0.4)",
|
|
2784
2784
|
blur: 0,
|
|
2785
2785
|
closeIconUrl: null,
|
|
2786
2786
|
closeIconAlign: "top-right",
|