zs_library 0.9.7 → 0.9.8

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10555,17 +10555,17 @@ const To = {
10555
10555
  opacity: 1,
10556
10556
  inactiveOpacity: 0.42,
10557
10557
  inactiveScale: 0.82,
10558
- buttonSize: "20px",
10559
- inactiveButtonSize: "14px",
10558
+ buttonSize: "16px",
10559
+ inactiveButtonSize: "12px",
10560
10560
  closeButton: {
10561
10561
  backgroundColor: "rgba(255, 95, 86, 0.96)",
10562
10562
  textColor: "rgba(85, 20, 14, 0.85)",
10563
- iconSize: 13
10563
+ iconSize: 9
10564
10564
  },
10565
10565
  fullscreenButton: {
10566
10566
  backgroundColor: "rgba(48, 209, 88, 0.96)",
10567
10567
  textColor: "rgba(4, 58, 26, 0.9)",
10568
- iconSize: 12
10568
+ iconSize: 9
10569
10569
  }
10570
10570
  },
10571
10571
  scrollbar: {
@@ -10688,17 +10688,17 @@ const To = {
10688
10688
  opacity: 1,
10689
10689
  inactiveOpacity: 0.5,
10690
10690
  inactiveScale: 0.82,
10691
- buttonSize: "20px",
10692
- inactiveButtonSize: "14px",
10691
+ buttonSize: "16px",
10692
+ inactiveButtonSize: "12px",
10693
10693
  closeButton: {
10694
10694
  backgroundColor: "rgba(255, 95, 86, 0.96)",
10695
10695
  textColor: "rgba(85, 20, 14, 0.85)",
10696
- iconSize: 13
10696
+ iconSize: 9
10697
10697
  },
10698
10698
  fullscreenButton: {
10699
10699
  backgroundColor: "rgba(48, 209, 88, 0.96)",
10700
10700
  textColor: "rgba(4, 58, 26, 0.9)",
10701
- iconSize: 12
10701
+ iconSize: 9
10702
10702
  }
10703
10703
  },
10704
10704
  scrollbar: {
@@ -12413,7 +12413,7 @@ const co = ({ pageIndex: e, onItemClick: t, iconBuilder: o }) => {
12413
12413
  }, D = () => {
12414
12414
  var Ze;
12415
12415
  M.current = ((Ze = y.current) == null ? void 0 : Ze.getBoundingClientRect()) ?? null, S((Te) => !Te), E(!0);
12416
- }, G = ((ut = h == null ? void 0 : h.content) == null ? void 0 : ut.backgroundColor) ?? "rgba(128, 128, 128, 0.3)", B = ((Bt = h == null ? void 0 : h.content) == null ? void 0 : Bt.backdropFilter) ?? "blur(40px)", A = ((no = h == null ? void 0 : h.content) == null ? void 0 : no.boxShadowColor) ?? "rgba(0,0,0,0.3)", W = ((Ge = h == null ? void 0 : h.content) == null ? void 0 : Ge.boxShadowBorderColor) ?? "rgba(255,255,255,0.08)", j = ((Xe = h == null ? void 0 : h.content) == null ? void 0 : Xe.borderColor) ?? "rgba(255,255,255,0.15)", K = ((Rt = h == null ? void 0 : h.content) == null ? void 0 : Rt.borderRadius) ?? "20px", Q = ((Ft = h == null ? void 0 : h.mask) == null ? void 0 : Ft.backgroundColor) ?? "rgba(0,0,0,0.4)", J = ((ur = h == null ? void 0 : h.mask) == null ? void 0 : ur.backdropFilter) ?? "blur(20px)", ne = ((fr = h == null ? void 0 : h.header) == null ? void 0 : fr.textColor) ?? "rgba(255,255,255,0.9)", _ = h == null ? void 0 : h.floatingControls, ce = (_ == null ? void 0 : _.gap) ?? "7px", ue = (_ == null ? void 0 : _.padding) ?? "7px 8px", me = (_ == null ? void 0 : _.backgroundColor) ?? "rgba(20, 24, 31, 0.14)", Se = (_ == null ? void 0 : _.borderColor) ?? "rgba(255, 255, 255, 0.18)", ee = (_ == null ? void 0 : _.backdropFilter) ?? "blur(18px)", de = (_ == null ? void 0 : _.opacity) ?? 1, fe = (_ == null ? void 0 : _.inactiveOpacity) ?? 0.42, oe = (_ == null ? void 0 : _.inactiveScale) ?? 0.82, Z = (_ == null ? void 0 : _.buttonSize) ?? "20px", se = (_ == null ? void 0 : _.inactiveButtonSize) ?? "14px", pe = ((gr = _ == null ? void 0 : _.closeButton) == null ? void 0 : gr.backgroundColor) ?? "rgba(255, 95, 86, 0.96)", Me = ((pr = _ == null ? void 0 : _.closeButton) == null ? void 0 : pr.textColor) ?? "rgba(85, 20, 14, 0.85)", te = ((hr = _ == null ? void 0 : _.closeButton) == null ? void 0 : hr.iconSize) ?? 13, he = ((mr = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : mr.backgroundColor) ?? "rgba(48, 209, 88, 0.96)", xe = ((br = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : br.textColor) ?? "rgba(4, 58, 26, 0.9)", De = ((xr = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : xr.iconSize) ?? 12, re = ((vr = h == null ? void 0 : h.scrollbar) == null ? void 0 : vr.width) ?? "4px", ie = ((yr = h == null ? void 0 : h.scrollbar) == null ? void 0 : yr.trackColor) ?? "transparent", ve = ((wr = h == null ? void 0 : h.scrollbar) == null ? void 0 : wr.thumbColor) ?? "rgba(255,255,255,0.15)", ke = ((Cr = h == null ? void 0 : h.scrollbar) == null ? void 0 : Cr.thumbHoverColor) ?? "rgba(255,255,255,0.25)", ye = ((kr = h == null ? void 0 : h.scrollbar) == null ? void 0 : kr.borderRadius) ?? "2px", Ne = c ? t || z : t || k || z, Pe = s ? `${s.x}px ${s.y}px` : "center", Be = Number.parseFloat(K), zt = C ? (_ == null ? void 0 : _.fullscreenInset) ?? "12px" : (_ == null ? void 0 : _.inset) ?? (K.trim().endsWith("px") && Number.isFinite(Be) ? `${Math.max(12, Math.round(Be * 0.8))}px` : "12px");
12416
+ }, G = ((ut = h == null ? void 0 : h.content) == null ? void 0 : ut.backgroundColor) ?? "rgba(128, 128, 128, 0.3)", B = ((Bt = h == null ? void 0 : h.content) == null ? void 0 : Bt.backdropFilter) ?? "blur(40px)", A = ((no = h == null ? void 0 : h.content) == null ? void 0 : no.boxShadowColor) ?? "rgba(0,0,0,0.3)", W = ((Ge = h == null ? void 0 : h.content) == null ? void 0 : Ge.boxShadowBorderColor) ?? "rgba(255,255,255,0.08)", j = ((Xe = h == null ? void 0 : h.content) == null ? void 0 : Xe.borderColor) ?? "rgba(255,255,255,0.15)", K = ((Rt = h == null ? void 0 : h.content) == null ? void 0 : Rt.borderRadius) ?? "20px", Q = ((Ft = h == null ? void 0 : h.mask) == null ? void 0 : Ft.backgroundColor) ?? "rgba(0,0,0,0.4)", J = ((ur = h == null ? void 0 : h.mask) == null ? void 0 : ur.backdropFilter) ?? "blur(20px)", ne = ((fr = h == null ? void 0 : h.header) == null ? void 0 : fr.textColor) ?? "rgba(255,255,255,0.9)", _ = h == null ? void 0 : h.floatingControls, ce = (_ == null ? void 0 : _.gap) ?? "7px", ue = (_ == null ? void 0 : _.padding) ?? "7px 8px", me = (_ == null ? void 0 : _.backgroundColor) ?? "rgba(20, 24, 31, 0.14)", Se = (_ == null ? void 0 : _.borderColor) ?? "rgba(255, 255, 255, 0.18)", ee = (_ == null ? void 0 : _.backdropFilter) ?? "blur(18px)", de = (_ == null ? void 0 : _.opacity) ?? 1, fe = (_ == null ? void 0 : _.inactiveOpacity) ?? 0.42, oe = (_ == null ? void 0 : _.inactiveScale) ?? 0.82, Z = (_ == null ? void 0 : _.buttonSize) ?? "16px", se = (_ == null ? void 0 : _.inactiveButtonSize) ?? "12px", pe = ((gr = _ == null ? void 0 : _.closeButton) == null ? void 0 : gr.backgroundColor) ?? "rgba(255, 95, 86, 0.96)", Me = ((pr = _ == null ? void 0 : _.closeButton) == null ? void 0 : pr.textColor) ?? "rgba(85, 20, 14, 0.85)", te = ((hr = _ == null ? void 0 : _.closeButton) == null ? void 0 : hr.iconSize) ?? 9, he = ((mr = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : mr.backgroundColor) ?? "rgba(48, 209, 88, 0.96)", xe = ((br = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : br.textColor) ?? "rgba(4, 58, 26, 0.9)", De = ((xr = _ == null ? void 0 : _.fullscreenButton) == null ? void 0 : xr.iconSize) ?? 9, re = ((vr = h == null ? void 0 : h.scrollbar) == null ? void 0 : vr.width) ?? "4px", ie = ((yr = h == null ? void 0 : h.scrollbar) == null ? void 0 : yr.trackColor) ?? "transparent", ve = ((wr = h == null ? void 0 : h.scrollbar) == null ? void 0 : wr.thumbColor) ?? "rgba(255,255,255,0.15)", ke = ((Cr = h == null ? void 0 : h.scrollbar) == null ? void 0 : Cr.thumbHoverColor) ?? "rgba(255,255,255,0.25)", ye = ((kr = h == null ? void 0 : h.scrollbar) == null ? void 0 : kr.borderRadius) ?? "2px", Ne = c ? t || z : t || k || z, Pe = s ? `${s.x}px ${s.y}px` : "center", Be = Number.parseFloat(K), zt = C ? (_ == null ? void 0 : _.fullscreenInset) ?? "12px" : (_ == null ? void 0 : _.inset) ?? (K.trim().endsWith("px") && Number.isFinite(Be) ? `${Math.max(12, Math.round(Be * 0.8))}px` : "12px");
12417
12417
  return /* @__PURE__ */ a($e, { children: Ne && /* @__PURE__ */ a(
12418
12418
  gt.Root,
12419
12419
  {
@@ -12611,8 +12611,7 @@ const co = ({ pageIndex: e, onItemClick: t, iconBuilder: o }) => {
12611
12611
  backdrop-filter: ${ee};
12612
12612
  -webkit-backdrop-filter: ${ee};
12613
12613
  opacity: ${I ? de : fe};
12614
- transform: translateY(${I ? "0" : "-4px"})
12615
- scale(${I ? 1 : oe});
12614
+ transform: scale(${I ? 1 : oe});
12616
12615
  transform-origin: top left;
12617
12616
  transition:
12618
12617
  opacity 0.2s ease,
@@ -12624,7 +12623,7 @@ const co = ({ pageIndex: e, onItemClick: t, iconBuilder: o }) => {
12624
12623
  &:hover,
12625
12624
  &:focus-within {
12626
12625
  opacity: 1;
12627
- transform: translateY(0) scale(1);
12626
+ transform: scale(1);
12628
12627
  }
12629
12628
  `,
12630
12629
  f == null ? void 0 : f.floatingControls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zs_library",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "homepage": "https://zs-library.virs.xyz/",
5
5
  "bugs": {
6
6
  "url": "https://github.com/virzs/zs_library/issues"