@weaverse/react 0.7.65 → 0.7.67

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.d.ts CHANGED
@@ -22,6 +22,9 @@ declare let ArrowRight: (props: HTMLAttributes<SVGElement>) => JSX.Element;
22
22
  declare let Image: (props: HTMLAttributes<SVGElement>) => JSX.Element;
23
23
  declare let ShoppingCart: (props: HTMLAttributes<SVGElement>) => JSX.Element;
24
24
  declare let Storefront: (props: HTMLAttributes<SVGElement>) => JSX.Element;
25
+ declare let Package: (props: HTMLAttributes<SVGElement>) => JSX.Element;
26
+ declare let Backpack: (props: HTMLAttributes<SVGElement>) => JSX.Element;
27
+ declare let Newspaper: (props: HTMLAttributes<SVGElement>) => JSX.Element;
25
28
  declare let Eye: (props: HTMLAttributes<SVGElement>) => JSX.Element;
26
29
 
27
30
  declare const PhosphorIcons_CircleNotch: typeof CircleNotch;
@@ -33,6 +36,9 @@ declare const PhosphorIcons_ArrowRight: typeof ArrowRight;
33
36
  declare const PhosphorIcons_Image: typeof Image;
34
37
  declare const PhosphorIcons_ShoppingCart: typeof ShoppingCart;
35
38
  declare const PhosphorIcons_Storefront: typeof Storefront;
39
+ declare const PhosphorIcons_Package: typeof Package;
40
+ declare const PhosphorIcons_Backpack: typeof Backpack;
41
+ declare const PhosphorIcons_Newspaper: typeof Newspaper;
36
42
  declare const PhosphorIcons_Eye: typeof Eye;
37
43
  declare namespace PhosphorIcons {
38
44
  export {
@@ -45,6 +51,9 @@ declare namespace PhosphorIcons {
45
51
  PhosphorIcons_Image as Image,
46
52
  PhosphorIcons_ShoppingCart as ShoppingCart,
47
53
  PhosphorIcons_Storefront as Storefront,
54
+ PhosphorIcons_Package as Package,
55
+ PhosphorIcons_Backpack as Backpack,
56
+ PhosphorIcons_Newspaper as Newspaper,
48
57
  PhosphorIcons_Eye as Eye,
49
58
  };
50
59
  }
@@ -65,6 +74,7 @@ interface SliderProps {
65
74
  className?: string;
66
75
  gap?: number;
67
76
  arrowOffset: number;
77
+ slidesPerView: number;
68
78
  }
69
79
  interface SliderArrowsProps {
70
80
  currentSlide: number;
package/dist/index.js CHANGED
@@ -296,16 +296,19 @@ var Image = import_react5.default.forwardRef(
296
296
  "data-blink-src": src
297
297
  });
298
298
  if (clickAction === "openLink" && linkTo) {
299
- let target = openLinkInNewTab ? "_blank" : "_self";
300
299
  content = /* @__PURE__ */ import_react5.default.createElement("a", {
301
300
  href: linkTo,
302
- target
303
- }, content);
301
+ target: openLinkInNewTab ? "_blank" : "_self",
302
+ rel: "noreferrer"
303
+ }, /* @__PURE__ */ import_react5.default.createElement("img", {
304
+ alt,
305
+ "data-blink-src": src
306
+ }));
304
307
  }
305
308
  return /* @__PURE__ */ import_react5.default.createElement("div", {
306
309
  ref,
307
- ...rest,
308
- style
310
+ style,
311
+ ...rest
309
312
  }, content);
310
313
  }
311
314
  );
@@ -313,6 +316,8 @@ var css4 = {
313
316
  "@desktop": {
314
317
  display: "flex",
315
318
  overflow: "hidden",
319
+ justifyContent: "center",
320
+ alignItems: "center",
316
321
  img: {
317
322
  width: "100%",
318
323
  height: "100%",
@@ -322,8 +327,8 @@ var css4 = {
322
327
  }
323
328
  };
324
329
  Image.defaultProps = {
325
- src: "https://ucarecdn.com/cf54e41e-36a0-4547-a140-a302e0387890/",
326
- alt: "Image alt text",
330
+ src: "https://ucarecdn.com/dac0f414-2b1f-46df-99ce-41554f0f653a/",
331
+ alt: "Alternative information",
327
332
  objectFit: "cover",
328
333
  objectPosition: "center center",
329
334
  clickAction: "none",
@@ -675,10 +680,13 @@ var phosphor_exports = {};
675
680
  __export(phosphor_exports, {
676
681
  ArrowLeft: () => ArrowLeft,
677
682
  ArrowRight: () => ArrowRight,
683
+ Backpack: () => Backpack,
678
684
  CircleNotch: () => CircleNotch,
679
685
  Eye: () => Eye,
680
686
  Image: () => Image2,
681
687
  Minus: () => Minus,
688
+ Newspaper: () => Newspaper,
689
+ Package: () => Package,
682
690
  Plus: () => Plus,
683
691
  ShoppingCart: () => ShoppingCart,
684
692
  Storefront: () => Storefront,
@@ -901,34 +909,192 @@ var Storefront = (props) => {
901
909
  stroke: "currentColor",
902
910
  strokeLinecap: "round",
903
911
  strokeLinejoin: "round",
904
- strokeWidth: "8"
912
+ strokeWidth: "12"
905
913
  }), /* @__PURE__ */ import_react14.default.createElement("path", {
906
914
  d: "M54,40H202a8.1,8.1,0,0,1,7.7,5.8L224,96H32L46.3,45.8A8.1,8.1,0,0,1,54,40Z",
907
915
  fill: "none",
908
916
  stroke: "currentColor",
909
917
  strokeLinecap: "round",
910
918
  strokeLinejoin: "round",
911
- strokeWidth: "8"
919
+ strokeWidth: "12"
912
920
  }), /* @__PURE__ */ import_react14.default.createElement("path", {
913
921
  d: "M96,96v16a32,32,0,0,1-64,0V96",
914
922
  fill: "none",
915
923
  stroke: "currentColor",
916
924
  strokeLinecap: "round",
917
925
  strokeLinejoin: "round",
918
- strokeWidth: "8"
926
+ strokeWidth: "12"
919
927
  }), /* @__PURE__ */ import_react14.default.createElement("path", {
920
928
  d: "M160,96v16a32,32,0,0,1-64,0V96",
921
929
  fill: "none",
922
930
  stroke: "currentColor",
923
931
  strokeLinecap: "round",
924
932
  strokeLinejoin: "round",
925
- strokeWidth: "8"
933
+ strokeWidth: "12"
926
934
  }), /* @__PURE__ */ import_react14.default.createElement("path", {
927
935
  d: "M224,96v16a32,32,0,0,1-64,0V96",
928
936
  fill: "none",
929
937
  stroke: "currentColor",
930
938
  strokeLinecap: "round",
931
939
  strokeLinejoin: "round",
940
+ strokeWidth: "12"
941
+ }));
942
+ };
943
+ var Package = (props) => {
944
+ return /* @__PURE__ */ import_react14.default.createElement("svg", {
945
+ xmlns: "http://www.w3.org/2000/svg",
946
+ width: "192",
947
+ height: "192",
948
+ fill: "currentColor",
949
+ viewBox: "0 0 256 256",
950
+ ...props
951
+ }, /* @__PURE__ */ import_react14.default.createElement("rect", {
952
+ width: "256",
953
+ height: "256",
954
+ fill: "none"
955
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
956
+ d: "M224,177.3V78.7a8.1,8.1,0,0,0-4.1-7l-88-49.5a7.8,7.8,0,0,0-7.8,0l-88,49.5a8.1,8.1,0,0,0-4.1,7v98.6a8.1,8.1,0,0,0,4.1,7l88,49.5a7.8,7.8,0,0,0,7.8,0l88-49.5A8.1,8.1,0,0,0,224,177.3Z",
957
+ fill: "none",
958
+ stroke: "currentColor",
959
+ strokeLinecap: "round",
960
+ strokeLinejoin: "round",
961
+ strokeWidth: "8"
962
+ }), /* @__PURE__ */ import_react14.default.createElement("polyline", {
963
+ points: "177 152.5 177 100.5 80 47",
964
+ fill: "none",
965
+ stroke: "currentColor",
966
+ strokeLinecap: "round",
967
+ strokeLinejoin: "round",
968
+ strokeWidth: "8"
969
+ }), /* @__PURE__ */ import_react14.default.createElement("polyline", {
970
+ points: "222.9 74.6 128.9 128 33.1 74.6",
971
+ fill: "none",
972
+ stroke: "currentColor",
973
+ strokeLinecap: "round",
974
+ strokeLinejoin: "round",
975
+ strokeWidth: "8"
976
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
977
+ x1: "128.9",
978
+ y1: "128",
979
+ x2: "128",
980
+ y2: "234.8",
981
+ fill: "none",
982
+ stroke: "currentColor",
983
+ strokeLinecap: "round",
984
+ strokeLinejoin: "round",
985
+ strokeWidth: "8"
986
+ }));
987
+ };
988
+ var Backpack = (props) => {
989
+ return /* @__PURE__ */ import_react14.default.createElement("svg", {
990
+ xmlns: "http://www.w3.org/2000/svg",
991
+ width: "192",
992
+ height: "192",
993
+ fill: "currentColor",
994
+ viewBox: "0 0 256 256",
995
+ ...props
996
+ }, /* @__PURE__ */ import_react14.default.createElement("rect", {
997
+ width: "256",
998
+ height: "256",
999
+ fill: "none"
1000
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
1001
+ d: "M96,48h64a48,48,0,0,1,48,48V216a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V96A48,48,0,0,1,96,48Z",
1002
+ fill: "none",
1003
+ stroke: "currentColor",
1004
+ strokeLinecap: "round",
1005
+ strokeLinejoin: "round",
1006
+ strokeWidth: "12"
1007
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
1008
+ d: "M80,224V152a16,16,0,0,1,16-16h64a16,16,0,0,1,16,16v72",
1009
+ fill: "none",
1010
+ stroke: "currentColor",
1011
+ strokeLinecap: "round",
1012
+ strokeLinejoin: "round",
1013
+ strokeWidth: "12"
1014
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
1015
+ d: "M96,48V32a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V48",
1016
+ fill: "none",
1017
+ stroke: "currentColor",
1018
+ strokeLinecap: "round",
1019
+ strokeLinejoin: "round",
1020
+ strokeWidth: "12"
1021
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
1022
+ x1: "112",
1023
+ y1: "88",
1024
+ x2: "144",
1025
+ y2: "88",
1026
+ fill: "none",
1027
+ stroke: "currentColor",
1028
+ strokeLinecap: "round",
1029
+ strokeLinejoin: "round",
1030
+ strokeWidth: "12"
1031
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
1032
+ x1: "80",
1033
+ y1: "168",
1034
+ x2: "176",
1035
+ y2: "168",
1036
+ fill: "none",
1037
+ stroke: "currentColor",
1038
+ strokeLinecap: "round",
1039
+ strokeLinejoin: "round",
1040
+ strokeWidth: "12"
1041
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
1042
+ x1: "144",
1043
+ y1: "168",
1044
+ x2: "144",
1045
+ y2: "184",
1046
+ fill: "none",
1047
+ stroke: "currentColor",
1048
+ strokeLinecap: "round",
1049
+ strokeLinejoin: "round",
1050
+ strokeWidth: "12"
1051
+ }));
1052
+ };
1053
+ var Newspaper = (props) => {
1054
+ return /* @__PURE__ */ import_react14.default.createElement("svg", {
1055
+ xmlns: "http://www.w3.org/2000/svg",
1056
+ width: "192",
1057
+ height: "192",
1058
+ fill: "currentColor",
1059
+ viewBox: "0 0 256 256",
1060
+ ...props
1061
+ }, /* @__PURE__ */ import_react14.default.createElement("rect", {
1062
+ width: "256",
1063
+ height: "256",
1064
+ fill: "none"
1065
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
1066
+ x1: "96",
1067
+ y1: "112",
1068
+ x2: "176",
1069
+ y2: "112",
1070
+ fill: "none",
1071
+ stroke: "currentColor",
1072
+ strokeLinecap: "round",
1073
+ strokeLinejoin: "round",
1074
+ strokeWidth: "8"
1075
+ }), /* @__PURE__ */ import_react14.default.createElement("line", {
1076
+ x1: "96",
1077
+ y1: "144",
1078
+ x2: "176",
1079
+ y2: "144",
1080
+ fill: "none",
1081
+ stroke: "currentColor",
1082
+ strokeLinecap: "round",
1083
+ strokeLinejoin: "round",
1084
+ strokeWidth: "8"
1085
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
1086
+ d: "M32,200a16,16,0,0,0,16-16V64a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V184a16,16,0,0,1-16,16Z",
1087
+ fill: "none",
1088
+ stroke: "currentColor",
1089
+ strokeLinecap: "round",
1090
+ strokeLinejoin: "round",
1091
+ strokeWidth: "8"
1092
+ }), /* @__PURE__ */ import_react14.default.createElement("path", {
1093
+ d: "M32,200a16,16,0,0,1-16-16h0V88",
1094
+ fill: "none",
1095
+ stroke: "currentColor",
1096
+ strokeLinecap: "round",
1097
+ strokeLinejoin: "round",
932
1098
  strokeWidth: "8"
933
1099
  }));
934
1100
  };
@@ -1820,12 +1986,12 @@ var import_clsx6 = __toESM(require("clsx"));
1820
1986
  var import_react36 = require("keen-slider/react");
1821
1987
  var import_react37 = __toESM(require("react"));
1822
1988
  function Slider(props) {
1823
- let { children, className, gap, arrowOffset } = props;
1989
+ let { children, className, gap, slidesPerView, arrowOffset } = props;
1824
1990
  let [currentSlide, setCurrentSlide] = (0, import_react37.useState)(0);
1825
1991
  let [created, setCreated] = (0, import_react37.useState)(false);
1826
1992
  let [ref, instanceRef] = (0, import_react36.useKeenSlider)(
1827
1993
  {
1828
- slides: { perView: 4, spacing: gap },
1994
+ slides: { perView: slidesPerView, spacing: gap },
1829
1995
  breakpoints: {
1830
1996
  "(max-width: 1024px)": {
1831
1997
  slides: { perView: 3, spacing: gap }
package/dist/index.mjs CHANGED
@@ -264,16 +264,19 @@ var Image = React5.forwardRef(
264
264
  "data-blink-src": src
265
265
  });
266
266
  if (clickAction === "openLink" && linkTo) {
267
- let target = openLinkInNewTab ? "_blank" : "_self";
268
267
  content = /* @__PURE__ */ React5.createElement("a", {
269
268
  href: linkTo,
270
- target
271
- }, content);
269
+ target: openLinkInNewTab ? "_blank" : "_self",
270
+ rel: "noreferrer"
271
+ }, /* @__PURE__ */ React5.createElement("img", {
272
+ alt,
273
+ "data-blink-src": src
274
+ }));
272
275
  }
273
276
  return /* @__PURE__ */ React5.createElement("div", {
274
277
  ref,
275
- ...rest,
276
- style
278
+ style,
279
+ ...rest
277
280
  }, content);
278
281
  }
279
282
  );
@@ -281,6 +284,8 @@ var css4 = {
281
284
  "@desktop": {
282
285
  display: "flex",
283
286
  overflow: "hidden",
287
+ justifyContent: "center",
288
+ alignItems: "center",
284
289
  img: {
285
290
  width: "100%",
286
291
  height: "100%",
@@ -290,8 +295,8 @@ var css4 = {
290
295
  }
291
296
  };
292
297
  Image.defaultProps = {
293
- src: "https://ucarecdn.com/cf54e41e-36a0-4547-a140-a302e0387890/",
294
- alt: "Image alt text",
298
+ src: "https://ucarecdn.com/dac0f414-2b1f-46df-99ce-41554f0f653a/",
299
+ alt: "Alternative information",
295
300
  objectFit: "cover",
296
301
  objectPosition: "center center",
297
302
  clickAction: "none",
@@ -643,10 +648,13 @@ var phosphor_exports = {};
643
648
  __export(phosphor_exports, {
644
649
  ArrowLeft: () => ArrowLeft,
645
650
  ArrowRight: () => ArrowRight,
651
+ Backpack: () => Backpack,
646
652
  CircleNotch: () => CircleNotch,
647
653
  Eye: () => Eye,
648
654
  Image: () => Image2,
649
655
  Minus: () => Minus,
656
+ Newspaper: () => Newspaper,
657
+ Package: () => Package,
650
658
  Plus: () => Plus,
651
659
  ShoppingCart: () => ShoppingCart,
652
660
  Storefront: () => Storefront,
@@ -869,34 +877,192 @@ var Storefront = (props) => {
869
877
  stroke: "currentColor",
870
878
  strokeLinecap: "round",
871
879
  strokeLinejoin: "round",
872
- strokeWidth: "8"
880
+ strokeWidth: "12"
873
881
  }), /* @__PURE__ */ React15.createElement("path", {
874
882
  d: "M54,40H202a8.1,8.1,0,0,1,7.7,5.8L224,96H32L46.3,45.8A8.1,8.1,0,0,1,54,40Z",
875
883
  fill: "none",
876
884
  stroke: "currentColor",
877
885
  strokeLinecap: "round",
878
886
  strokeLinejoin: "round",
879
- strokeWidth: "8"
887
+ strokeWidth: "12"
880
888
  }), /* @__PURE__ */ React15.createElement("path", {
881
889
  d: "M96,96v16a32,32,0,0,1-64,0V96",
882
890
  fill: "none",
883
891
  stroke: "currentColor",
884
892
  strokeLinecap: "round",
885
893
  strokeLinejoin: "round",
886
- strokeWidth: "8"
894
+ strokeWidth: "12"
887
895
  }), /* @__PURE__ */ React15.createElement("path", {
888
896
  d: "M160,96v16a32,32,0,0,1-64,0V96",
889
897
  fill: "none",
890
898
  stroke: "currentColor",
891
899
  strokeLinecap: "round",
892
900
  strokeLinejoin: "round",
893
- strokeWidth: "8"
901
+ strokeWidth: "12"
894
902
  }), /* @__PURE__ */ React15.createElement("path", {
895
903
  d: "M224,96v16a32,32,0,0,1-64,0V96",
896
904
  fill: "none",
897
905
  stroke: "currentColor",
898
906
  strokeLinecap: "round",
899
907
  strokeLinejoin: "round",
908
+ strokeWidth: "12"
909
+ }));
910
+ };
911
+ var Package = (props) => {
912
+ return /* @__PURE__ */ React15.createElement("svg", {
913
+ xmlns: "http://www.w3.org/2000/svg",
914
+ width: "192",
915
+ height: "192",
916
+ fill: "currentColor",
917
+ viewBox: "0 0 256 256",
918
+ ...props
919
+ }, /* @__PURE__ */ React15.createElement("rect", {
920
+ width: "256",
921
+ height: "256",
922
+ fill: "none"
923
+ }), /* @__PURE__ */ React15.createElement("path", {
924
+ d: "M224,177.3V78.7a8.1,8.1,0,0,0-4.1-7l-88-49.5a7.8,7.8,0,0,0-7.8,0l-88,49.5a8.1,8.1,0,0,0-4.1,7v98.6a8.1,8.1,0,0,0,4.1,7l88,49.5a7.8,7.8,0,0,0,7.8,0l88-49.5A8.1,8.1,0,0,0,224,177.3Z",
925
+ fill: "none",
926
+ stroke: "currentColor",
927
+ strokeLinecap: "round",
928
+ strokeLinejoin: "round",
929
+ strokeWidth: "8"
930
+ }), /* @__PURE__ */ React15.createElement("polyline", {
931
+ points: "177 152.5 177 100.5 80 47",
932
+ fill: "none",
933
+ stroke: "currentColor",
934
+ strokeLinecap: "round",
935
+ strokeLinejoin: "round",
936
+ strokeWidth: "8"
937
+ }), /* @__PURE__ */ React15.createElement("polyline", {
938
+ points: "222.9 74.6 128.9 128 33.1 74.6",
939
+ fill: "none",
940
+ stroke: "currentColor",
941
+ strokeLinecap: "round",
942
+ strokeLinejoin: "round",
943
+ strokeWidth: "8"
944
+ }), /* @__PURE__ */ React15.createElement("line", {
945
+ x1: "128.9",
946
+ y1: "128",
947
+ x2: "128",
948
+ y2: "234.8",
949
+ fill: "none",
950
+ stroke: "currentColor",
951
+ strokeLinecap: "round",
952
+ strokeLinejoin: "round",
953
+ strokeWidth: "8"
954
+ }));
955
+ };
956
+ var Backpack = (props) => {
957
+ return /* @__PURE__ */ React15.createElement("svg", {
958
+ xmlns: "http://www.w3.org/2000/svg",
959
+ width: "192",
960
+ height: "192",
961
+ fill: "currentColor",
962
+ viewBox: "0 0 256 256",
963
+ ...props
964
+ }, /* @__PURE__ */ React15.createElement("rect", {
965
+ width: "256",
966
+ height: "256",
967
+ fill: "none"
968
+ }), /* @__PURE__ */ React15.createElement("path", {
969
+ d: "M96,48h64a48,48,0,0,1,48,48V216a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V96A48,48,0,0,1,96,48Z",
970
+ fill: "none",
971
+ stroke: "currentColor",
972
+ strokeLinecap: "round",
973
+ strokeLinejoin: "round",
974
+ strokeWidth: "12"
975
+ }), /* @__PURE__ */ React15.createElement("path", {
976
+ d: "M80,224V152a16,16,0,0,1,16-16h64a16,16,0,0,1,16,16v72",
977
+ fill: "none",
978
+ stroke: "currentColor",
979
+ strokeLinecap: "round",
980
+ strokeLinejoin: "round",
981
+ strokeWidth: "12"
982
+ }), /* @__PURE__ */ React15.createElement("path", {
983
+ d: "M96,48V32a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V48",
984
+ fill: "none",
985
+ stroke: "currentColor",
986
+ strokeLinecap: "round",
987
+ strokeLinejoin: "round",
988
+ strokeWidth: "12"
989
+ }), /* @__PURE__ */ React15.createElement("line", {
990
+ x1: "112",
991
+ y1: "88",
992
+ x2: "144",
993
+ y2: "88",
994
+ fill: "none",
995
+ stroke: "currentColor",
996
+ strokeLinecap: "round",
997
+ strokeLinejoin: "round",
998
+ strokeWidth: "12"
999
+ }), /* @__PURE__ */ React15.createElement("line", {
1000
+ x1: "80",
1001
+ y1: "168",
1002
+ x2: "176",
1003
+ y2: "168",
1004
+ fill: "none",
1005
+ stroke: "currentColor",
1006
+ strokeLinecap: "round",
1007
+ strokeLinejoin: "round",
1008
+ strokeWidth: "12"
1009
+ }), /* @__PURE__ */ React15.createElement("line", {
1010
+ x1: "144",
1011
+ y1: "168",
1012
+ x2: "144",
1013
+ y2: "184",
1014
+ fill: "none",
1015
+ stroke: "currentColor",
1016
+ strokeLinecap: "round",
1017
+ strokeLinejoin: "round",
1018
+ strokeWidth: "12"
1019
+ }));
1020
+ };
1021
+ var Newspaper = (props) => {
1022
+ return /* @__PURE__ */ React15.createElement("svg", {
1023
+ xmlns: "http://www.w3.org/2000/svg",
1024
+ width: "192",
1025
+ height: "192",
1026
+ fill: "currentColor",
1027
+ viewBox: "0 0 256 256",
1028
+ ...props
1029
+ }, /* @__PURE__ */ React15.createElement("rect", {
1030
+ width: "256",
1031
+ height: "256",
1032
+ fill: "none"
1033
+ }), /* @__PURE__ */ React15.createElement("line", {
1034
+ x1: "96",
1035
+ y1: "112",
1036
+ x2: "176",
1037
+ y2: "112",
1038
+ fill: "none",
1039
+ stroke: "currentColor",
1040
+ strokeLinecap: "round",
1041
+ strokeLinejoin: "round",
1042
+ strokeWidth: "8"
1043
+ }), /* @__PURE__ */ React15.createElement("line", {
1044
+ x1: "96",
1045
+ y1: "144",
1046
+ x2: "176",
1047
+ y2: "144",
1048
+ fill: "none",
1049
+ stroke: "currentColor",
1050
+ strokeLinecap: "round",
1051
+ strokeLinejoin: "round",
1052
+ strokeWidth: "8"
1053
+ }), /* @__PURE__ */ React15.createElement("path", {
1054
+ d: "M32,200a16,16,0,0,0,16-16V64a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V184a16,16,0,0,1-16,16Z",
1055
+ fill: "none",
1056
+ stroke: "currentColor",
1057
+ strokeLinecap: "round",
1058
+ strokeLinejoin: "round",
1059
+ strokeWidth: "8"
1060
+ }), /* @__PURE__ */ React15.createElement("path", {
1061
+ d: "M32,200a16,16,0,0,1-16-16h0V88",
1062
+ fill: "none",
1063
+ stroke: "currentColor",
1064
+ strokeLinecap: "round",
1065
+ strokeLinejoin: "round",
900
1066
  strokeWidth: "8"
901
1067
  }));
902
1068
  };
@@ -1788,12 +1954,12 @@ import clsx6 from "clsx";
1788
1954
  import { useKeenSlider as useKeenSlider2 } from "keen-slider/react";
1789
1955
  import React28, { useState as useState2 } from "react";
1790
1956
  function Slider(props) {
1791
- let { children, className, gap, arrowOffset } = props;
1957
+ let { children, className, gap, slidesPerView, arrowOffset } = props;
1792
1958
  let [currentSlide, setCurrentSlide] = useState2(0);
1793
1959
  let [created, setCreated] = useState2(false);
1794
1960
  let [ref, instanceRef] = useKeenSlider2(
1795
1961
  {
1796
- slides: { perView: 4, spacing: gap },
1962
+ slides: { perView: slidesPerView, spacing: gap },
1797
1963
  breakpoints: {
1798
1964
  "(max-width: 1024px)": {
1799
1965
  slides: { perView: 3, spacing: gap }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.65",
2
+ "version": "0.7.67",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@radix-ui/react-dialog": "^1.0.2",
36
36
  "@stitches/react": "^1.2.8",
37
- "@weaverse/core": "0.7.65",
37
+ "@weaverse/core": "0.7.67",
38
38
  "clsx": "^1.2.1",
39
39
  "keen-slider": "^6.8.5"
40
40
  }