@komensal/ui 0.11.9 → 0.12.1
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/index.d.ts +13 -1
- package/dist/index.js +223 -195
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,15 @@ interface AuthHeaderProps {
|
|
|
36
36
|
}
|
|
37
37
|
declare const AuthHeader: ({ children, desktopLogoSrc, logoAlt, mobileClassName, mobileLogoSrc }: AuthHeaderProps) => React.JSX.Element;
|
|
38
38
|
|
|
39
|
+
interface BreadcrumbItem {
|
|
40
|
+
label: string;
|
|
41
|
+
onClick?: () => void;
|
|
42
|
+
}
|
|
43
|
+
interface BreadcrumbProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
44
|
+
items: BreadcrumbItem[];
|
|
45
|
+
}
|
|
46
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
|
|
39
48
|
declare const buttonVariants: (props?: ({
|
|
40
49
|
hoverStyle?: "none" | "highlight" | "shine" | null | undefined;
|
|
41
50
|
size?: "icon" | "lg" | "sm" | "xs" | "default" | null | undefined;
|
|
@@ -348,6 +357,9 @@ interface SelectInputProps<Label extends string, Value extends string> {
|
|
|
348
357
|
}
|
|
349
358
|
declare const SelectInput: <Label extends string, Value extends string>(props: SelectInputProps<Label, Value>) => JSX.Element;
|
|
350
359
|
|
|
360
|
+
type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
|
|
361
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
|
|
351
363
|
declare const sizes: {
|
|
352
364
|
lg: string;
|
|
353
365
|
md: string;
|
|
@@ -973,4 +985,4 @@ declare const toast: {
|
|
|
973
985
|
};
|
|
974
986
|
declare function registerToastEmitter(fn: ToastEmitter): void;
|
|
975
987
|
|
|
976
|
-
export { AddTile, type AddTileProps, Alert, AuthHeader, Button, type ButtonProps, Chip, type ChipProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Form, FormControl, FormField, FormItem, FormMessage, GoogleMapPicker, type GoogleMapPickerProps, Input, InputField, InputOTP, InputOTPGroup, InputOTPSlot, type InputProps, Label, LabelField, MapPickerField, OTPField, type Options, PasswordChecklist, type PasswordRule, type PasswordRulesConfig, Popover, PopoverContent, PopoverTrigger, type ResolvedAddress, SelectField, SelectInput, Spinner, type SpinnerProps, StepHeader, Stepper, type StepperStep, Switch, type SwitchProps, Toast, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Tooltip, Wrapper, type WrapperProps, buttonVariants, chipVariants, cn, inputBase, inputCompact, inputDisabled, inputFocus, inputPlaceholder, registerToastEmitter, setUiLanguage, toast, uiI18n, useFormField };
|
|
988
|
+
export { AddTile, type AddTileProps, Alert, AuthHeader, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Chip, type ChipProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Form, FormControl, FormField, FormItem, FormMessage, GoogleMapPicker, type GoogleMapPickerProps, Input, InputField, InputOTP, InputOTPGroup, InputOTPSlot, type InputProps, Label, LabelField, MapPickerField, OTPField, type Options, PasswordChecklist, type PasswordRule, type PasswordRulesConfig, Popover, PopoverContent, PopoverTrigger, type ResolvedAddress, SelectField, SelectInput, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, StepHeader, Stepper, type StepperStep, Switch, type SwitchProps, Toast, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Tooltip, Wrapper, type WrapperProps, buttonVariants, chipVariants, cn, inputBase, inputCompact, inputDisabled, inputFocus, inputPlaceholder, registerToastEmitter, setUiLanguage, toast, uiI18n, useFormField };
|