reykit 1.0.75 → 1.0.76

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.
@@ -2,8 +2,8 @@ import { ReactNode, ComponentProps, MouseEvent } from 'react';
2
2
  /**
3
3
  * Button component of cycle display children.
4
4
  *
5
- * @param childrens - Children array.
6
- * @param handleCycle - Handle cycle.
5
+ * @param props.childrens - Children array.
6
+ * @param props.handleCycle - Handle cycle.
7
7
  */
8
8
  export declare function CycleButton({ childrens, handleCycle, onClick, ...props }: {
9
9
  childrens: ReactNode[];
@@ -2,8 +2,8 @@ import { ComponentProps } from 'react';
2
2
  /**
3
3
  * Form component of prevent access link.
4
4
  *
5
- * @param handleFormData - Handle submited form data.
6
- * @param link - Access router link.
5
+ * @param props.handleFormData - Handle submited form data.
6
+ * @param props.link - Access router link.
7
7
  */
8
8
  export declare function Form({ handleFormData, link, onSubmit, ...props }: {
9
9
  handleFormData?: (formData: FormData) => any | Promise<any>;
@@ -6,6 +6,8 @@ type LoadingContextParams = {
6
6
  export declare const LoadingContext: import('react').Context<LoadingContextParams | null>;
7
7
  /**
8
8
  * Loading component of display rotate icon.
9
+ *
10
+ * @param props.children - The node tree of the mounting context.
9
11
  */
10
12
  export declare function Loading({ children }: {
11
13
  children: ReactNode;
@@ -2,6 +2,8 @@ import { ReactNode } from 'react';
2
2
  export { toast as notice } from 'sonner';
3
3
  /**
4
4
  * Top banner notice component.
5
+ *
6
+ * @param props.children - The node tree of the mounting context.
5
7
  */
6
8
  export declare function Notice({ children }: {
7
9
  children: ReactNode;
@@ -2,12 +2,12 @@ import { ReactNode, ComponentProps } from 'react';
2
2
  /**
3
3
  * Toggle component of with icon.
4
4
  *
5
- * @param openIcon - Open icon.
6
- * @param closeIcon - Close icon.
7
- * @param handleOpen - Handle open.
8
- * @param defaultOpen - Default open state.
9
- * @param rotate - Whether rotate icon.
10
- * @param listenOpen - Switch icon for listening status value.
5
+ * @param props.openIcon - Open icon.
6
+ * @param props.closeIcon - Close icon.
7
+ * @param props.handleOpen - Handle open.
8
+ * @param props.defaultOpen - Default open state.
9
+ * @param props.rotate - Whether rotate icon.
10
+ * @param props.listenOpen - Switch icon for listening status value.
11
11
  */
12
12
  export declare function IconToggle({ openIcon, closeIcon, handleOpen, defaultOpen, rotate, listenOpen, className, onClick, ...props }: {
13
13
  openIcon: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [