reykit 1.0.213 → 1.0.214

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49262,7 +49262,10 @@ function vk({
49262
49262
  "overflow-hidden border md:h-[90%] md:max-h-[90%]",
49263
49263
  "place-items-center flex p-0 rounded-2xl shadow-md my-1 md:mx-2"
49264
49264
  ),
49265
- children: N === "image" ? /* @__PURE__ */ x.jsx(K4, { path: A }) : N === "video" ? /* @__PURE__ */ x.jsx($4, { path: A }) : null
49265
+ children: Math.min(
49266
+ Math.abs(M - v + 1),
49267
+ a.length - Math.abs(M - v + 1)
49268
+ ) > 5 ? null : N === "image" ? /* @__PURE__ */ x.jsx(K4, { path: A }) : N === "video" ? /* @__PURE__ */ x.jsx($4, { path: A }) : null
49266
49269
  },
49267
49270
  M
49268
49271
  )) }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.213",
3
+ "version": "1.0.214",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [