@weing-dev/ui-kit-primitive 0.4.3 → 0.4.5
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/components/LNB/LNB.context.d.ts +1 -4
- package/dist/components/LNB/LNB.d.ts +1 -2
- package/dist/form.js +343 -338
- package/dist/index.js +2897 -2932
- package/dist/index.umd.cjs +22 -22
- package/dist/navigation.js +461 -501
- package/package.json +1 -1
|
@@ -11,12 +11,9 @@ export type LNBListItem = {
|
|
|
11
11
|
isOpen?: boolean;
|
|
12
12
|
isActive?: boolean;
|
|
13
13
|
};
|
|
14
|
-
export type LNBContextType =
|
|
15
|
-
onClick?: (href: string) => void;
|
|
16
|
-
};
|
|
14
|
+
export type LNBContextType = Record<string, never>;
|
|
17
15
|
export declare const initialState: LNBContextType;
|
|
18
16
|
export declare const LNBContext: React.Context<LNBContextType>;
|
|
19
17
|
export type LNBProviderProps = React.PropsWithChildren<{
|
|
20
|
-
onClick?: (href: string) => void;
|
|
21
18
|
className?: string;
|
|
22
19
|
}>;
|
|
@@ -12,12 +12,11 @@ type LNBItemProps = React.PropsWithChildren<{
|
|
|
12
12
|
icon?: React.ComponentProps<typeof Icon>["name"] | null;
|
|
13
13
|
subtitle?: string;
|
|
14
14
|
type: "full" | "secondary" | "list" | "title";
|
|
15
|
-
href: string;
|
|
16
15
|
disabled?: boolean;
|
|
17
16
|
hasChildren: boolean;
|
|
18
17
|
isOpen?: boolean;
|
|
19
18
|
isActive?: boolean;
|
|
20
|
-
}>;
|
|
19
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
21
20
|
declare const Item: (props: LNBItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
type LNBListProps = {
|
|
23
22
|
className?: string;
|