kku-ui 0.9.96 → 0.9.97

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.
@@ -1,16 +1,17 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { KButton, KInputProps } from '../../..';
4
- declare function KInputGroup({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare const inputGroupVariants: (props?: ({
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
7
+ declare function KInputGroup({ className, size, ...props }: ComponentProps<"div"> & VariantProps<typeof inputGroupVariants>): import("react/jsx-runtime").JSX.Element;
5
8
  declare const inputGroupAddonVariants: (props?: ({
6
9
  align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | null | undefined;
7
11
  } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
12
  declare function InputGroupAddon({ className, align, ...props }: ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
- declare const inputGroupButtonVariants: (props?: ({
10
- size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
12
- declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<ComponentProps<typeof KButton>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
13
+ declare function InputGroupButton({ className, size, variant, ...props }: ComponentProps<typeof KButton>): import("react/jsx-runtime").JSX.Element;
13
14
  declare function InputGroupText({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
14
15
  declare function InputGroupInput({ className, ...props }: KInputProps): import("react/jsx-runtime").JSX.Element;
15
16
  declare function InputGroupTextarea({ className, ...props }: ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
16
- export { KInputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
17
+ export { KInputGroup, InputGroupAddon, InputGroupText, InputGroupButton, InputGroupInput, InputGroupTextarea, };