@rovula/ui 0.0.38 → 0.0.40

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.
@@ -35,7 +35,7 @@ export type DropdownProps = {
35
35
  selectedOption: Options | null | undefined;
36
36
  onClick: (option: Options) => void;
37
37
  }) => ReactNode;
38
- } & Omit<InputProps, "value">;
38
+ } & Omit<InputProps, "value" | "onSelect">;
39
39
  declare const Dropdown: React.ForwardRefExoticComponent<{
40
40
  id?: string | undefined;
41
41
  label?: string | undefined;
@@ -60,5 +60,5 @@ declare const Dropdown: React.ForwardRefExoticComponent<{
60
60
  selectedOption: Options | null | undefined;
61
61
  onClick: (option: Options) => void;
62
62
  }) => ReactNode) | undefined;
63
- } & Omit<InputProps, "value"> & React.RefAttributes<HTMLInputElement>>;
63
+ } & Omit<InputProps, "onSelect" | "value"> & React.RefAttributes<HTMLInputElement>>;
64
64
  export default Dropdown;
@@ -26,7 +26,7 @@ declare const meta: {
26
26
  selectedOption: Options | null | undefined;
27
27
  onClick: (option: Options) => void;
28
28
  }) => React.ReactNode) | undefined;
29
- } & Omit<import("../..").InputProps, "value"> & React.RefAttributes<HTMLInputElement>>;
29
+ } & Omit<import("../..").InputProps, "onSelect" | "value"> & React.RefAttributes<HTMLInputElement>>;
30
30
  tags: string[];
31
31
  parameters: {
32
32
  layout: string;
@@ -49,7 +49,7 @@ declare const meta: {
49
49
  options: Options[];
50
50
  value?: Options | undefined;
51
51
  onChangeText?: React.ChangeEventHandler<HTMLInputElement> | undefined;
52
- onSelect?: (((value: Options) => void) & React.ReactEventHandler<HTMLInputElement>) | undefined;
52
+ onSelect?: ((value: Options) => void) | undefined;
53
53
  renderOptions?: ((value: {
54
54
  optionsFiltered: Options[];
55
55
  selectedOption: Options | null | undefined;
@@ -200,7 +200,7 @@ declare const meta: {
200
200
  onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
201
201
  onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
202
202
  onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
203
- onSelect?: (((value: Options) => void) & React.ReactEventHandler<HTMLInputElement>) | undefined;
203
+ onSelect?: ((value: Options) => void) | undefined;
204
204
  onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
205
205
  onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
206
206
  onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
@@ -56,7 +56,7 @@ export const buttonVariants = cva([
56
56
  },
57
57
  size: {
58
58
  sm: "px-md py-1 [&_svg]:size-[18px] typography-buttonMS rounded-sm gap-1",
59
- md: "px-lg py-2 [&_svg]:size-5 typography-buttonL rounded-md",
59
+ md: "px-lg py-2 [&_svg]:size-5 typography-buttonMS rounded-md",
60
60
  lg: "px-xl py-4 [&_svg]:size-6 typography-buttonL rounded-md",
61
61
  },
62
62
  variant: {