@bookers/ui 0.6.0 → 0.8.0

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.ts CHANGED
@@ -101,6 +101,7 @@ export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLA
101
101
 
102
102
  export declare const alertVariants: (props?: ({
103
103
  variant?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
104
+ size?: "sm" | "md" | null | undefined;
104
105
  } & ClassProp) | undefined) => string;
105
106
 
106
107
  export declare const AspectRatio: React_2.ForwardRefExoticComponent<AspectRatioProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -155,8 +156,12 @@ export declare type CalendarProps = DayPickerProps;
155
156
 
156
157
  export declare const Checkbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLInputElement>>;
157
158
 
158
- export declare interface CheckboxProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, VariantProps<typeof checkboxVariants> {
159
+ export declare interface CheckboxProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "className">, VariantProps<typeof checkboxVariants> {
159
160
  isError?: boolean;
161
+ /** Layout and positioning on the root wrapper (e.g. `mt-1`, `self-start`). */
162
+ className?: string;
163
+ /** Visual overrides on the native checkbox input. */
164
+ inputClassName?: string;
160
165
  }
161
166
 
162
167
  export declare const checkboxVariants: (props?: ({
@@ -736,8 +741,12 @@ export declare const radioGroupVariants: (props?: ({
736
741
  orientation?: "horizontal" | "vertical" | null | undefined;
737
742
  } & ClassProp) | undefined) => string;
738
743
 
739
- export declare interface RadioProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, VariantProps<typeof radioVariants> {
744
+ export declare interface RadioProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "className">, VariantProps<typeof radioVariants> {
740
745
  isError?: boolean;
746
+ /** Layout and positioning on the root wrapper (e.g. `mt-1`, `self-start`). */
747
+ className?: string;
748
+ /** Visual overrides on the native radio input. */
749
+ inputClassName?: string;
741
750
  }
742
751
 
743
752
  export declare const radioVariants: (props?: ({
@@ -813,8 +822,12 @@ export declare interface StringColumnFilterState {
813
822
 
814
823
  export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLInputElement>>;
815
824
 
816
- export declare interface SwitchProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, VariantProps<typeof switchTrackVariants> {
825
+ export declare interface SwitchProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "className">, VariantProps<typeof switchTrackVariants> {
817
826
  isError?: boolean;
827
+ /** Layout and positioning on the root wrapper (e.g. `mt-1`, `self-start`). */
828
+ className?: string;
829
+ /** Classes on the native switch input overlay (hit area). */
830
+ inputClassName?: string;
818
831
  }
819
832
 
820
833
  export declare const switchTrackVariants: (props?: ({