reykit 1.0.256 → 1.0.257

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 +14 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49695,7 +49695,7 @@ function T4({
49695
49695
  auto: c,
49696
49696
  autoHideControls: p,
49697
49697
  showCenterControls: h,
49698
- children: /* @__PURE__ */ g.jsx(pY, { className: r, ...y, children: a })
49698
+ children: /* @__PURE__ */ g.jsx(pY, { className: ne("h-full w-full", r), ...y, children: a })
49699
49699
  }
49700
49700
  );
49701
49701
  }
@@ -50684,15 +50684,16 @@ function U4({
50684
50684
  /* @__PURE__ */ g.jsx(
50685
50685
  lN,
50686
50686
  {
50687
- className: "size-full block object-cover cursor-pointer",
50687
+ ...u,
50688
+ className: ne("size-full block object-cover", u.className),
50688
50689
  render: /* @__PURE__ */ g.jsx(
50689
50690
  "img",
50690
50691
  {
50691
50692
  src: a,
50692
- loading: r
50693
+ loading: r,
50694
+ className: "cursor-pointer"
50693
50695
  }
50694
50696
  ),
50695
- ...u,
50696
50697
  nativeButton: !1
50697
50698
  }
50698
50699
  ),
@@ -50700,13 +50701,13 @@ function U4({
50700
50701
  CR,
50701
50702
  {
50702
50703
  showCloseButton: !1,
50703
- className: "!max-w-none w-auto h-auto p-0 border-0 bg-transparent shadow-none rounded-none cursor-pointer",
50704
+ className: "block !max-w-none w-auto h-auto p-0 border-0 bg-transparent shadow-none rounded-none cursor-pointer",
50704
50705
  children: /* @__PURE__ */ g.jsx(
50705
50706
  "img",
50706
50707
  {
50707
50708
  src: a,
50708
50709
  onClick: () => p(!1),
50709
- className: "max-w-[90vw] max-h-[90vh] w-auto h-auto object-contain"
50710
+ className: "block max-w-[90vw] max-h-[90vh] w-auto h-auto object-contain"
50710
50711
  }
50711
50712
  )
50712
50713
  }
@@ -50722,27 +50723,28 @@ function V4({
50722
50723
  /* @__PURE__ */ g.jsx(
50723
50724
  lN,
50724
50725
  {
50725
- className: "size-full block object-cover cursor-pointer",
50726
+ ...u,
50727
+ className: ne("size-full block object-cover", u.className),
50726
50728
  render: /* @__PURE__ */ g.jsx(
50727
50729
  "video",
50728
50730
  {
50729
50731
  src: a,
50730
50732
  controls: !1,
50731
50733
  preload: r,
50732
- playsInline: !0
50734
+ playsInline: !0,
50735
+ className: "cursor-pointer"
50733
50736
  }
50734
50737
  ),
50735
- ...u,
50736
50738
  nativeButton: !1
50737
50739
  }
50738
50740
  ),
50739
- /* @__PURE__ */ g.jsx(CR, { className: "!max-w-none w-auto h-auto p-0 border-0 bg-transparent shadow-none rounded-none", children: /* @__PURE__ */ g.jsx(
50741
+ /* @__PURE__ */ g.jsx(CR, { className: "block !max-w-none w-max h-auto p-0 border-0 bg-transparent shadow-none rounded-none", children: /* @__PURE__ */ g.jsx(
50740
50742
  H4,
50741
50743
  {
50742
50744
  path: a,
50743
50745
  fit: "contain",
50744
50746
  auto: !0,
50745
- className: "max-w-[90vw] max-h-[90vh] w-auto h-auto"
50747
+ className: "block max-w-[90vw] max-h-[90vh] w-auto h-auto"
50746
50748
  }
50747
50749
  ) })
50748
50750
  ] });
@@ -50843,7 +50845,7 @@ function H4({
50843
50845
  language: u,
50844
50846
  ...c
50845
50847
  }) {
50846
- return u = u ?? yx(), /* @__PURE__ */ g.jsxs(T4, { ...c, className: ne("overflow-hidden rounded-xl", c.className), children: [
50848
+ return u = u ?? yx(), /* @__PURE__ */ g.jsxs(T4, { ...c, children: [
50847
50849
  /* @__PURE__ */ g.jsx(C4, { src: a, fit: r }),
50848
50850
  /* @__PURE__ */ g.jsxs(w4, { className: "flex items-center justify-between gap-4", children: [
50849
50851
  /* @__PURE__ */ g.jsx(M4, { language: u }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.256",
3
+ "version": "1.0.257",
4
4
  "description": "General-purpose JavaScript utility method package.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [