@segmentify/ui 0.0.67 → 0.0.69
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.
|
@@ -8,8 +8,13 @@ declare function SelectTrigger({ className, size, children, ...props }: React.Co
|
|
|
8
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
type SelectContentProps = React.ComponentProps<typeof SelectPrimitive.Content> & {
|
|
10
10
|
isPortal?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* When true, positions the menu relative to the selected item (native macOS-style).
|
|
13
|
+
* When false (default), uses popper positioning below the trigger.
|
|
14
|
+
*/
|
|
15
|
+
alignItemWithTrigger?: boolean;
|
|
11
16
|
};
|
|
12
|
-
declare function SelectContent({ className, children, position, isPortal, align, style, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function SelectContent({ className, children, position, isPortal, align, alignItemWithTrigger, side, sideOffset, style, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
18
|
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
19
|
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
15
20
|
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ interface BaseSearchInputProps {
|
|
|
5
5
|
placeholder: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
inputClassName?: string;
|
|
8
|
+
autoFocus?: boolean;
|
|
8
9
|
}
|
|
9
10
|
type WithLabelProps = O.Merge<BaseSearchInputProps, {
|
|
10
11
|
label: string;
|
|
@@ -15,5 +16,5 @@ type WithoutLabelProps = O.Merge<BaseSearchInputProps, {
|
|
|
15
16
|
name?: string;
|
|
16
17
|
}>;
|
|
17
18
|
type SearchInputProps = WithLabelProps | WithoutLabelProps;
|
|
18
|
-
declare function DebouncedInput({ value, onChange, className, inputClassName, name, placeholder, label }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function DebouncedInput({ value, onChange, className, inputClassName, name, placeholder, label, autoFocus, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
export { DebouncedInput };
|
|
@@ -3,6 +3,7 @@ interface SearchProps {
|
|
|
3
3
|
filterColumn?: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
label?: string;
|
|
6
|
+
autoFocus?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare function Search({ placeholder, filterColumn, className, label }: SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function Search({ placeholder, filterColumn, className, label, autoFocus }: SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|