@bubo-squared/ui-framework 0.2.15 → 0.2.17

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.cts CHANGED
@@ -11,7 +11,7 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
11
11
  import { ClassValue } from 'clsx';
12
12
 
13
13
  declare const buttonVariants: (props?: ({
14
- variant?: "primary" | "secondary" | "outline" | "destructive" | null | undefined;
14
+ variant?: "primary" | "secondary" | "ghost" | "outline" | "destructive" | null | undefined;
15
15
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
16
16
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17
17
  interface ButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -27,12 +27,14 @@ interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
27
27
  declare const ButtonGroup: React.FC<ButtonGroupProps>;
28
28
 
29
29
  declare const iconButtonVariants: (props?: ({
30
- variant?: "primary" | "secondary" | "outline" | "destructive" | null | undefined;
30
+ variant?: "primary" | "secondary" | "ghost" | "outline" | "destructive" | null | undefined;
31
31
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
32
32
  } & class_variance_authority_types.ClassProp) | undefined) => string;
33
33
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
34
34
  asChild?: boolean;
35
35
  icon: React$1.ReactNode;
36
+ /** If true, renders a circular IconButton. */
37
+ round?: boolean;
36
38
  }
37
39
  declare const IconButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
38
40
 
@@ -375,6 +377,10 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
375
377
  inputValue?: string;
376
378
  defaultInputValue?: string;
377
379
  onInputChange?: (value: string) => void;
380
+ /** Optional className for the dropdown (options container). */
381
+ dropdownClassName?: string;
382
+ /** Optional className for the listbox (<ul>). */
383
+ listboxClassName?: string;
378
384
  }
379
385
  declare const Autocomplete: React$1.FC<AutocompleteProps>;
380
386
 
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
11
11
  import { ClassValue } from 'clsx';
12
12
 
13
13
  declare const buttonVariants: (props?: ({
14
- variant?: "primary" | "secondary" | "outline" | "destructive" | null | undefined;
14
+ variant?: "primary" | "secondary" | "ghost" | "outline" | "destructive" | null | undefined;
15
15
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
16
16
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17
17
  interface ButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -27,12 +27,14 @@ interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
27
27
  declare const ButtonGroup: React.FC<ButtonGroupProps>;
28
28
 
29
29
  declare const iconButtonVariants: (props?: ({
30
- variant?: "primary" | "secondary" | "outline" | "destructive" | null | undefined;
30
+ variant?: "primary" | "secondary" | "ghost" | "outline" | "destructive" | null | undefined;
31
31
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
32
32
  } & class_variance_authority_types.ClassProp) | undefined) => string;
33
33
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
34
34
  asChild?: boolean;
35
35
  icon: React$1.ReactNode;
36
+ /** If true, renders a circular IconButton. */
37
+ round?: boolean;
36
38
  }
37
39
  declare const IconButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
38
40
 
@@ -375,6 +377,10 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
375
377
  inputValue?: string;
376
378
  defaultInputValue?: string;
377
379
  onInputChange?: (value: string) => void;
380
+ /** Optional className for the dropdown (options container). */
381
+ dropdownClassName?: string;
382
+ /** Optional className for the listbox (<ul>). */
383
+ listboxClassName?: string;
378
384
  }
379
385
  declare const Autocomplete: React$1.FC<AutocompleteProps>;
380
386