lkd-web-kit 0.6.1 → 0.6.3

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.
@@ -31,7 +31,7 @@ const InfinityLoader = ({
31
31
  const showLoader = infinity.isLoading || infinity.isFetchingNextPage;
32
32
  const showEndMessage = infinity.data && infinity.data.pages.length > 1 && !infinity.hasNextPage;
33
33
  if (!showLoader && !showEndMessage) {
34
- return null;
34
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref });
35
35
  }
36
36
  return /* @__PURE__ */ jsxRuntime.jsx(
37
37
  core.Center,
@@ -27,7 +27,7 @@ const InfinityLoader = ({
27
27
  const showLoader = infinity.isLoading || infinity.isFetchingNextPage;
28
28
  const showEndMessage = infinity.data && infinity.data.pages.length > 1 && !infinity.hasNextPage;
29
29
  if (!showLoader && !showEndMessage) {
30
- return null;
30
+ return /* @__PURE__ */ jsx("div", { ref });
31
31
  }
32
32
  return /* @__PURE__ */ jsx(
33
33
  Center,
@@ -28,7 +28,8 @@ const withController = (WrappedComponent, getControllerProps) => {
28
28
  ...renderProps,
29
29
  props: {
30
30
  ...props,
31
- validate: void 0
31
+ validate: void 0,
32
+ onValueChange: void 0
32
33
  },
33
34
  field: {
34
35
  ...renderProps.field,
@@ -24,7 +24,8 @@ const withController = (WrappedComponent, getControllerProps) => {
24
24
  ...renderProps,
25
25
  props: {
26
26
  ...props,
27
- validate: void 0
27
+ validate: void 0,
28
+ onValueChange: void 0
28
29
  },
29
30
  field: {
30
31
  ...renderProps.field,
package/dist/index.d.ts CHANGED
@@ -315,7 +315,7 @@ export declare function indexBy<T, K, C extends string>(arr: T[], getKey: (item:
315
315
 
316
316
  export declare type IndexByResult<T> = Record<string, T | undefined>;
317
317
 
318
- export declare const InfinityLoader: ({ root, infinity, rootMargin, endMessage, loaderProps, ...props }: InfinityLoaderProps) => JSX.Element | null;
318
+ export declare const InfinityLoader: ({ root, infinity, rootMargin, endMessage, loaderProps, ...props }: InfinityLoaderProps) => JSX.Element;
319
319
 
320
320
  export declare interface InfinityLoaderProps extends CenterProps {
321
321
  infinity: InfiniteQueryHookResult<InfiniteData<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",
@@ -53,14 +53,14 @@
53
53
  "vitest": "^3.2.4"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mantine/core": "^8.2.5",
57
- "@mantine/dates": "^8.2.5",
58
- "@mantine/hooks": "^8.2.5",
59
- "@mantine/notifications": "^8.2.5",
60
- "@tanstack/react-query": "^5.85.3",
56
+ "@mantine/core": "^8.2.7",
57
+ "@mantine/dates": "^8.2.7",
58
+ "@mantine/hooks": "^8.2.7",
59
+ "@mantine/notifications": "^8.2.7",
60
+ "@tanstack/react-query": "^5.85.5",
61
61
  "clsx": "^2.1.1",
62
- "ky": "^1.8.2",
63
- "next": "^15.4.6",
62
+ "ky": "^1.9.0",
63
+ "next": "^15.5.0",
64
64
  "react": "^19.1.1",
65
65
  "react-dom": "^19.1.1",
66
66
  "react-hook-form": "^7.62.0",