@aivex/ui 1.1.0-dev.11 → 1.1.0-dev.13

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.
@@ -1,6 +1,7 @@
1
- import { type InputHTMLAttributes, type Ref } from "react";
2
- export interface ChipsCheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
1
+ import React, { type InputHTMLAttributes, type Ref } from "react";
2
+ export interface ChipsCheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "onClick"> {
3
3
  ref?: Ref<HTMLInputElement>;
4
+ onClick?: React.MouseEventHandler<HTMLLabelElement>;
4
5
  }
5
- declare function ChipsCheckbox({ className, disabled, checked, defaultChecked, onChange, id, ref, ...props }: ChipsCheckboxProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function ChipsCheckbox({ className, disabled, checked, defaultChecked, onChange, onClick, id, ref, ...props }: ChipsCheckboxProps): import("react/jsx-runtime").JSX.Element;
6
7
  export { ChipsCheckbox };
@@ -5,19 +5,17 @@ declare const navTileVariants: (props?: ({
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export interface NavTileProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navTileVariants> {
7
7
  icon?: ReactNode;
8
- label?: string;
9
8
  ref?: Ref<HTMLButtonElement>;
10
9
  }
11
- declare function NavTile({ className, active, icon, label, children, ref, ...props }: NavTileProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function NavTile({ className, active, icon, children, ref, ...props }: NavTileProps): import("react/jsx-runtime").JSX.Element;
12
11
  declare const navItemVariants: (props?: ({
13
- selected?: boolean | null | undefined;
12
+ active?: boolean | null | undefined;
14
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
14
  export interface NavItemProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navItemVariants> {
16
15
  icon?: ReactNode;
17
- label?: string;
18
16
  ref?: Ref<HTMLButtonElement>;
19
17
  }
20
- declare function NavItem({ className, selected, icon, label, children, ref, ...props }: NavItemProps): import("react/jsx-runtime").JSX.Element;
18
+ declare function NavItem({ className, active, icon, children, ref, ...props }: NavItemProps): import("react/jsx-runtime").JSX.Element;
21
19
  export interface NavProps extends HTMLAttributes<HTMLElement> {
22
20
  ref?: Ref<HTMLElement>;
23
21
  }