@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.
@@ -64,7 +64,7 @@ type LightboxSettings = {
64
64
  position: Alignment;
65
65
  fit: 'cover' | 'fit';
66
66
  align: 'start' | 'center' | 'end';
67
- triggers: 'click' | 'hover';
67
+ triggers: 'clk' | 'hov';
68
68
  grid: {
69
69
  height: number;
70
70
  width: number;
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 === "hover") {
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: "slide in",
2740
- duration: "500ms",
2739
+ type: "fade in",
2740
+ duration: "1000ms",
2741
2741
  direction: "right"
2742
2742
  },
2743
2743
  triggers: {
2744
2744
  type: "click",
2745
- switch: "image",
2745
+ switch: "50/50",
2746
2746
  repeat: "loop"
2747
2747
  },
2748
2748
  slider: {
2749
- type: "fade",
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: "cover",
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(0,0,0,0.9)",
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 === "hover") {
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: "slide in",
2738
- duration: "500ms",
2737
+ type: "fade in",
2738
+ duration: "1000ms",
2739
2739
  direction: "right"
2740
2740
  },
2741
2741
  triggers: {
2742
2742
  type: "click",
2743
- switch: "image",
2743
+ switch: "50/50",
2744
2744
  repeat: "loop"
2745
2745
  },
2746
2746
  slider: {
2747
- type: "fade",
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: "cover",
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(0,0,0,0.9)",
2783
+ color: "rgba(64,67,71,0.4)",
2784
2784
  blur: 0,
2785
2785
  closeIconUrl: null,
2786
2786
  closeIconAlign: "top-right",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.0-alpha.25",
3
+ "version": "0.1.0-alpha.26",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",