@bubo-squared/ui-framework 0.2.19 → 0.2.21

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
@@ -75,7 +75,7 @@ type MessageButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>,
75
75
  };
76
76
  declare const MessageButton: React$1.FC<MessageButtonProps>;
77
77
 
78
- declare const Accordion: React$1.ForwardRefExoticComponent<Omit<Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "children" | "type" | "title" | "collapsible"> & {
78
+ declare const Accordion: React$1.ForwardRefExoticComponent<Omit<Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "children" | "title" | "type" | "collapsible"> & {
79
79
  title: React$1.ReactNode;
80
80
  expandIcon?: React$1.ReactNode;
81
81
  defaultOpen?: boolean;
@@ -131,7 +131,7 @@ declare const Typography: <T extends ElementType = "span">(props: TypographyProp
131
131
 
132
132
  declare const badgeVariants: (props?: ({
133
133
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
134
- variant?: "primary" | "secondary" | "disabled" | "success" | "error" | "active" | "informal" | "warning" | "double-default" | "double-current" | null | undefined;
134
+ variant?: "error" | "primary" | "secondary" | "disabled" | "success" | "active" | "informal" | "warning" | "double-default" | "double-current" | null | undefined;
135
135
  } & class_variance_authority_types.ClassProp) | undefined) => string;
136
136
  type BadgeVariant = "primary" | "secondary" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
137
137
  type BadgeSize = "sm" | "md" | "lg" | "xl";
@@ -147,7 +147,7 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
147
147
 
148
148
  declare const badgeDigitVariants: (props?: ({
149
149
  size?: "sm" | "md" | null | undefined;
150
- variant?: "primary" | "secondary" | "disabled" | "success" | "error" | "informal" | "warning" | null | undefined;
150
+ variant?: "error" | "primary" | "secondary" | "disabled" | "success" | "informal" | "warning" | null | undefined;
151
151
  } & class_variance_authority_types.ClassProp) | undefined) => string;
152
152
  type BadgeDigitSize = "sm" | "md";
153
153
  type BadgeDigitVariant = "primary" | "secondary" | "informal" | "success" | "warning" | "error" | "disabled";
@@ -160,7 +160,7 @@ interface BadgeDigitProps extends React$1.HTMLAttributes<HTMLDivElement>, Varian
160
160
  declare const BadgeDigit: React$1.ForwardRefExoticComponent<BadgeDigitProps & React$1.RefAttributes<HTMLDivElement>>;
161
161
 
162
162
  declare const badgeDotVariants: (props?: ({
163
- status?: "disabled" | "error" | "informal" | "warning" | "success/online" | null | undefined;
163
+ status?: "error" | "disabled" | "informal" | "warning" | "success/online" | null | undefined;
164
164
  } & class_variance_authority_types.ClassProp) | undefined) => string;
165
165
  interface BadgeDotProps extends VariantProps<typeof badgeDotVariants> {
166
166
  className?: string;
@@ -329,7 +329,7 @@ interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof Checkbox
329
329
  name?: string;
330
330
  label?: string;
331
331
  }
332
- declare function Checkbox({ label, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
332
+ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
333
333
 
334
334
  type TextInputSize = "sm" | "md" | "lg" | "xl";
335
335
  type TextInputStatus = "default" | "success" | "error";
@@ -352,7 +352,7 @@ interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
352
352
  leadingIcon?: React$1.ReactNode | null;
353
353
  trailingIcon?: React$1.ReactNode | null;
354
354
  }
355
- declare const TextInput: React$1.FC<TextInputProps>;
355
+ declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
356
356
 
357
357
  interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled" | "value" | "defaultValue" | "onChange"> {
358
358
  label?: string;
@@ -382,7 +382,7 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
382
382
  /** Optional className for the listbox (<ul>). */
383
383
  listboxClassName?: string;
384
384
  }
385
- declare const Autocomplete: React$1.FC<AutocompleteProps>;
385
+ declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
386
386
 
387
387
  type SelectStatus = "default" | "success" | "error";
388
388
  interface SelectOption {
@@ -391,7 +391,7 @@ interface SelectOption {
391
391
  }
392
392
  declare const selectTriggerVariants: (props?: ({
393
393
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
394
- status?: "success" | "error" | "default" | null | undefined;
394
+ status?: "error" | "success" | "default" | null | undefined;
395
395
  } & class_variance_authority_types.ClassProp) | undefined) => string;
396
396
  interface SelectProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onChange">, VariantProps<typeof selectTriggerVariants> {
397
397
  label?: string;
@@ -415,7 +415,7 @@ interface SelectProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
415
415
  /** Force the menu open (used mainly for docs/Storybook states). */
416
416
  showMenu?: boolean;
417
417
  }
418
- declare const Select: React$1.FC<SelectProps>;
418
+ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
419
419
 
420
420
  type FieldStatus = "default" | "success" | "error";
421
421
  interface FieldProps {
@@ -455,7 +455,7 @@ interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputE
455
455
  leadingIcon?: React$1.ReactNode;
456
456
  disabled?: boolean;
457
457
  }
458
- declare const PasswordInput: React$1.FC<PasswordInputProps>;
458
+ declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
459
459
 
460
460
  type PhoneInputProps = Omit<React$1.ComponentProps<"input">, "onChange" | "value" | "ref" | "size"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange"> & {
461
461
  onChange?: (value: RPNInput.Value) => void;
@@ -501,7 +501,7 @@ interface RadioGroupProps extends Omit<RadioGroupPrimitive.RadioGroupProps, "chi
501
501
  disabled?: boolean;
502
502
  onValueChange?: (value: string) => void;
503
503
  }
504
- declare const RadioGroup: React$1.FC<RadioGroupProps>;
504
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
505
505
 
506
506
  type SearchInputSize = "sm" | "md" | "lg" | "xl";
507
507
  interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled"> {
@@ -517,7 +517,7 @@ interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
517
517
  size?: SearchInputSize;
518
518
  disabled?: boolean;
519
519
  }
520
- declare const SearchInput: React$1.FC<SearchInputProps>;
520
+ declare const SearchInput: React$1.ForwardRefExoticComponent<SearchInputProps & React$1.RefAttributes<HTMLInputElement>>;
521
521
 
522
522
  type SliderDisplay = "flat" | "numeric" | "tooltip";
523
523
  type SliderTooltipPlacement = "top" | "bottom";
@@ -560,7 +560,7 @@ type SliderRangeProps = SliderBaseProps & {
560
560
  onValueChange?: (value: [number, number]) => void;
561
561
  };
562
562
  type SliderProps = SliderSingleProps | SliderRangeProps;
563
- declare const Slider: React$1.FC<SliderProps>;
563
+ declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLDivElement>>;
564
564
 
565
565
  type TextAreaType = "responsive" | "character-limit" | "plain";
566
566
  interface TextAreaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "disabled"> {
@@ -593,7 +593,7 @@ interface TextAreaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
593
593
  */
594
594
  disabled?: boolean;
595
595
  }
596
- declare const TextArea: React$1.FC<TextAreaProps>;
596
+ declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
597
597
 
598
598
  interface ToggleProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
599
599
  /**
@@ -603,7 +603,7 @@ interface ToggleProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>
603
603
  name?: string;
604
604
  label?: string;
605
605
  }
606
- declare const Toggle: React$1.FC<ToggleProps>;
606
+ declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.RefAttributes<HTMLInputElement>>;
607
607
 
608
608
  type WebsiteInputHierarchy = "leading" | "trailing";
609
609
  interface WebsiteInputProps extends Omit<TextInputProps, "leadingIcon" | "trailingIcon"> {
@@ -622,7 +622,7 @@ interface WebsiteInputProps extends Omit<TextInputProps, "leadingIcon" | "traili
622
622
  */
623
623
  icon?: React$1.ReactNode | null;
624
624
  }
625
- declare const WebsiteInput: React$1.FC<WebsiteInputProps>;
625
+ declare const WebsiteInput: React$1.ForwardRefExoticComponent<WebsiteInputProps & React$1.RefAttributes<HTMLInputElement>>;
626
626
 
627
627
  type PopoverPlacement = "top" | "topLeft" | "topRight" | "bottom" | "bottomLeft" | "bottomRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom";
628
628
  interface PopoverProps {
@@ -664,6 +664,7 @@ interface TooltipProps {
664
664
  open?: boolean;
665
665
  defaultOpen?: boolean;
666
666
  onOpenChange?: (open: boolean) => void;
667
+ delayDuration?: number;
667
668
  }
668
669
  declare const Tooltip: React$1.FC<TooltipProps>;
669
670
 
package/dist/index.d.ts CHANGED
@@ -75,7 +75,7 @@ type MessageButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>,
75
75
  };
76
76
  declare const MessageButton: React$1.FC<MessageButtonProps>;
77
77
 
78
- declare const Accordion: React$1.ForwardRefExoticComponent<Omit<Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "children" | "type" | "title" | "collapsible"> & {
78
+ declare const Accordion: React$1.ForwardRefExoticComponent<Omit<Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "children" | "title" | "type" | "collapsible"> & {
79
79
  title: React$1.ReactNode;
80
80
  expandIcon?: React$1.ReactNode;
81
81
  defaultOpen?: boolean;
@@ -131,7 +131,7 @@ declare const Typography: <T extends ElementType = "span">(props: TypographyProp
131
131
 
132
132
  declare const badgeVariants: (props?: ({
133
133
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
134
- variant?: "primary" | "secondary" | "disabled" | "success" | "error" | "active" | "informal" | "warning" | "double-default" | "double-current" | null | undefined;
134
+ variant?: "error" | "primary" | "secondary" | "disabled" | "success" | "active" | "informal" | "warning" | "double-default" | "double-current" | null | undefined;
135
135
  } & class_variance_authority_types.ClassProp) | undefined) => string;
136
136
  type BadgeVariant = "primary" | "secondary" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
137
137
  type BadgeSize = "sm" | "md" | "lg" | "xl";
@@ -147,7 +147,7 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
147
147
 
148
148
  declare const badgeDigitVariants: (props?: ({
149
149
  size?: "sm" | "md" | null | undefined;
150
- variant?: "primary" | "secondary" | "disabled" | "success" | "error" | "informal" | "warning" | null | undefined;
150
+ variant?: "error" | "primary" | "secondary" | "disabled" | "success" | "informal" | "warning" | null | undefined;
151
151
  } & class_variance_authority_types.ClassProp) | undefined) => string;
152
152
  type BadgeDigitSize = "sm" | "md";
153
153
  type BadgeDigitVariant = "primary" | "secondary" | "informal" | "success" | "warning" | "error" | "disabled";
@@ -160,7 +160,7 @@ interface BadgeDigitProps extends React$1.HTMLAttributes<HTMLDivElement>, Varian
160
160
  declare const BadgeDigit: React$1.ForwardRefExoticComponent<BadgeDigitProps & React$1.RefAttributes<HTMLDivElement>>;
161
161
 
162
162
  declare const badgeDotVariants: (props?: ({
163
- status?: "disabled" | "error" | "informal" | "warning" | "success/online" | null | undefined;
163
+ status?: "error" | "disabled" | "informal" | "warning" | "success/online" | null | undefined;
164
164
  } & class_variance_authority_types.ClassProp) | undefined) => string;
165
165
  interface BadgeDotProps extends VariantProps<typeof badgeDotVariants> {
166
166
  className?: string;
@@ -329,7 +329,7 @@ interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof Checkbox
329
329
  name?: string;
330
330
  label?: string;
331
331
  }
332
- declare function Checkbox({ label, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
332
+ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
333
333
 
334
334
  type TextInputSize = "sm" | "md" | "lg" | "xl";
335
335
  type TextInputStatus = "default" | "success" | "error";
@@ -352,7 +352,7 @@ interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
352
352
  leadingIcon?: React$1.ReactNode | null;
353
353
  trailingIcon?: React$1.ReactNode | null;
354
354
  }
355
- declare const TextInput: React$1.FC<TextInputProps>;
355
+ declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
356
356
 
357
357
  interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled" | "value" | "defaultValue" | "onChange"> {
358
358
  label?: string;
@@ -382,7 +382,7 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
382
382
  /** Optional className for the listbox (<ul>). */
383
383
  listboxClassName?: string;
384
384
  }
385
- declare const Autocomplete: React$1.FC<AutocompleteProps>;
385
+ declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
386
386
 
387
387
  type SelectStatus = "default" | "success" | "error";
388
388
  interface SelectOption {
@@ -391,7 +391,7 @@ interface SelectOption {
391
391
  }
392
392
  declare const selectTriggerVariants: (props?: ({
393
393
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
394
- status?: "success" | "error" | "default" | null | undefined;
394
+ status?: "error" | "success" | "default" | null | undefined;
395
395
  } & class_variance_authority_types.ClassProp) | undefined) => string;
396
396
  interface SelectProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onChange">, VariantProps<typeof selectTriggerVariants> {
397
397
  label?: string;
@@ -415,7 +415,7 @@ interface SelectProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
415
415
  /** Force the menu open (used mainly for docs/Storybook states). */
416
416
  showMenu?: boolean;
417
417
  }
418
- declare const Select: React$1.FC<SelectProps>;
418
+ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
419
419
 
420
420
  type FieldStatus = "default" | "success" | "error";
421
421
  interface FieldProps {
@@ -455,7 +455,7 @@ interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputE
455
455
  leadingIcon?: React$1.ReactNode;
456
456
  disabled?: boolean;
457
457
  }
458
- declare const PasswordInput: React$1.FC<PasswordInputProps>;
458
+ declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
459
459
 
460
460
  type PhoneInputProps = Omit<React$1.ComponentProps<"input">, "onChange" | "value" | "ref" | "size"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange"> & {
461
461
  onChange?: (value: RPNInput.Value) => void;
@@ -501,7 +501,7 @@ interface RadioGroupProps extends Omit<RadioGroupPrimitive.RadioGroupProps, "chi
501
501
  disabled?: boolean;
502
502
  onValueChange?: (value: string) => void;
503
503
  }
504
- declare const RadioGroup: React$1.FC<RadioGroupProps>;
504
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
505
505
 
506
506
  type SearchInputSize = "sm" | "md" | "lg" | "xl";
507
507
  interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "disabled"> {
@@ -517,7 +517,7 @@ interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
517
517
  size?: SearchInputSize;
518
518
  disabled?: boolean;
519
519
  }
520
- declare const SearchInput: React$1.FC<SearchInputProps>;
520
+ declare const SearchInput: React$1.ForwardRefExoticComponent<SearchInputProps & React$1.RefAttributes<HTMLInputElement>>;
521
521
 
522
522
  type SliderDisplay = "flat" | "numeric" | "tooltip";
523
523
  type SliderTooltipPlacement = "top" | "bottom";
@@ -560,7 +560,7 @@ type SliderRangeProps = SliderBaseProps & {
560
560
  onValueChange?: (value: [number, number]) => void;
561
561
  };
562
562
  type SliderProps = SliderSingleProps | SliderRangeProps;
563
- declare const Slider: React$1.FC<SliderProps>;
563
+ declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLDivElement>>;
564
564
 
565
565
  type TextAreaType = "responsive" | "character-limit" | "plain";
566
566
  interface TextAreaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "disabled"> {
@@ -593,7 +593,7 @@ interface TextAreaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
593
593
  */
594
594
  disabled?: boolean;
595
595
  }
596
- declare const TextArea: React$1.FC<TextAreaProps>;
596
+ declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
597
597
 
598
598
  interface ToggleProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
599
599
  /**
@@ -603,7 +603,7 @@ interface ToggleProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>
603
603
  name?: string;
604
604
  label?: string;
605
605
  }
606
- declare const Toggle: React$1.FC<ToggleProps>;
606
+ declare const Toggle: React$1.ForwardRefExoticComponent<ToggleProps & React$1.RefAttributes<HTMLInputElement>>;
607
607
 
608
608
  type WebsiteInputHierarchy = "leading" | "trailing";
609
609
  interface WebsiteInputProps extends Omit<TextInputProps, "leadingIcon" | "trailingIcon"> {
@@ -622,7 +622,7 @@ interface WebsiteInputProps extends Omit<TextInputProps, "leadingIcon" | "traili
622
622
  */
623
623
  icon?: React$1.ReactNode | null;
624
624
  }
625
- declare const WebsiteInput: React$1.FC<WebsiteInputProps>;
625
+ declare const WebsiteInput: React$1.ForwardRefExoticComponent<WebsiteInputProps & React$1.RefAttributes<HTMLInputElement>>;
626
626
 
627
627
  type PopoverPlacement = "top" | "topLeft" | "topRight" | "bottom" | "bottomLeft" | "bottomRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom";
628
628
  interface PopoverProps {
@@ -664,6 +664,7 @@ interface TooltipProps {
664
664
  open?: boolean;
665
665
  defaultOpen?: boolean;
666
666
  onOpenChange?: (open: boolean) => void;
667
+ delayDuration?: number;
667
668
  }
668
669
  declare const Tooltip: React$1.FC<TooltipProps>;
669
670