npm package diff

Package: @chakra-ui/react

Versions: 2.10.1 - 2.10.2

File: package/dist/types/pin-input/use-pin-input.d.ts

Index: package/dist/types/pin-input/use-pin-input.d.ts
===================================================================
--- package/dist/types/pin-input/use-pin-input.d.ts
+++ package/dist/types/pin-input/use-pin-input.d.ts
@@ -1,18 +1,9 @@
 /// <reference types="react" />
 export declare const PinInputDescendantsProvider: import("react").Provider<import("../descendant").DescendantsManager<HTMLInputElement, {}>>, usePinInputDescendantsContext: () => import("../descendant").DescendantsManager<HTMLInputElement, {}>, usePinInputDescendants: () => import("../descendant").DescendantsManager<HTMLInputElement, {}>, usePinInputDescendant: (options?: {
     disabled?: boolean | undefined;
     id?: string | undefined;
-} | undefined) => {
-    descendants: import("../descendant").UseDescendantsReturn;
-    index: number;
-    /**
-     * If `true`, the pin input component signals to its fields that they should
-     * use `autocomplete="one-time-code"`.
-     */
-    enabledIndex: number;
-    register: (node: HTMLInputElement | null) => void;
-};
+} | undefined) => import("../descendant/use-descendant").UseDescendantReturn<HTMLInputElement, {}>;
 export type PinInputContext = Omit<UsePinInputReturn, "descendants"> & {
     /**
      * Sets the pin input component to the disabled state
      */
@@ -100,8 +91,9 @@
 };
 export type UsePinInputReturn = ReturnType<typeof usePinInput>;
 export interface UsePinInputFieldProps extends InputProps {
     ref?: React.Ref<HTMLInputElement>;
+    index?: number;
 }
 /**
  * @internal
  */