@algorithm-shift/design-system 1.2.951 → 1.2.953
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.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -57,7 +57,6 @@ function Modal({
|
|
|
57
57
|
{
|
|
58
58
|
className: cn(
|
|
59
59
|
"bg-white dark:bg-gray-800 rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden",
|
|
60
|
-
`bg-white dark:bg-gray-800 rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden`,
|
|
61
60
|
className,
|
|
62
61
|
`${sizeClasses[size]}`
|
|
63
62
|
),
|
|
@@ -231,7 +230,7 @@ function TabGroupComponent({
|
|
|
231
230
|
import React3 from "react";
|
|
232
231
|
import { Fragment as Fragment2, jsx as jsx10 } from "react/jsx-runtime";
|
|
233
232
|
function Repeater({
|
|
234
|
-
|
|
233
|
+
data = [],
|
|
235
234
|
count,
|
|
236
235
|
render,
|
|
237
236
|
emptyFallback = null,
|
|
@@ -241,8 +240,8 @@ function Repeater({
|
|
|
241
240
|
loadingText = "Loading..."
|
|
242
241
|
}) {
|
|
243
242
|
const list = React3.useMemo(
|
|
244
|
-
() => typeof count === "number" ?
|
|
245
|
-
[
|
|
243
|
+
() => typeof count === "number" ? data.slice(0, count) : data,
|
|
244
|
+
[data, count]
|
|
246
245
|
);
|
|
247
246
|
if (loading) {
|
|
248
247
|
return /* @__PURE__ */ jsx10("div", { className, children: loadingText });
|