@reeverdev/ui 0.1.44 → 0.1.46
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1171,6 +1171,13 @@ interface ColorPickerProps {
|
|
|
1171
1171
|
size?: "sm" | "md" | "lg";
|
|
1172
1172
|
/** Additional class name */
|
|
1173
1173
|
className?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Variant of the picker
|
|
1176
|
+
* - "full": Shows popover with color picker, presets, and optional input
|
|
1177
|
+
* - "simple": Just shows the color swatch with native picker on click
|
|
1178
|
+
* @default "full"
|
|
1179
|
+
*/
|
|
1180
|
+
variant?: "full" | "simple";
|
|
1174
1181
|
}
|
|
1175
1182
|
declare const ColorPicker: React$1.ForwardRefExoticComponent<ColorPickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1176
1183
|
|
|
@@ -2687,6 +2694,11 @@ interface NumberFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
2687
2694
|
onChange?: (value: number | undefined) => void;
|
|
2688
2695
|
showButtons?: boolean;
|
|
2689
2696
|
formatOptions?: Intl.NumberFormatOptions;
|
|
2697
|
+
/**
|
|
2698
|
+
* Whether the input should take full width
|
|
2699
|
+
* @default false
|
|
2700
|
+
*/
|
|
2701
|
+
fullWidth?: boolean;
|
|
2690
2702
|
}
|
|
2691
2703
|
declare const NumberField: React$1.ForwardRefExoticComponent<NumberFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2692
2704
|
|
|
@@ -2733,6 +2745,11 @@ interface DateFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
|
|
|
2733
2745
|
maxDate?: Date;
|
|
2734
2746
|
dateFormat?: string;
|
|
2735
2747
|
showIcon?: boolean;
|
|
2748
|
+
/**
|
|
2749
|
+
* Whether the input should take full width
|
|
2750
|
+
* @default false
|
|
2751
|
+
*/
|
|
2752
|
+
fullWidth?: boolean;
|
|
2736
2753
|
}
|
|
2737
2754
|
declare const DateField: React$1.ForwardRefExoticComponent<DateFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2738
2755
|
|
|
@@ -2762,6 +2779,11 @@ interface TimeFieldProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "o
|
|
|
2762
2779
|
showSeconds?: boolean;
|
|
2763
2780
|
hourCycle?: 12 | 24;
|
|
2764
2781
|
disabled?: boolean;
|
|
2782
|
+
/**
|
|
2783
|
+
* Whether the input should take full width
|
|
2784
|
+
* @default false
|
|
2785
|
+
*/
|
|
2786
|
+
fullWidth?: boolean;
|
|
2765
2787
|
}
|
|
2766
2788
|
declare const TimeField: React$1.ForwardRefExoticComponent<TimeFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2767
2789
|
|
|
@@ -2784,6 +2806,11 @@ interface ColorFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElem
|
|
|
2784
2806
|
showSwatch?: boolean;
|
|
2785
2807
|
showPicker?: boolean;
|
|
2786
2808
|
allowAlpha?: boolean;
|
|
2809
|
+
/**
|
|
2810
|
+
* Whether the input should take full width
|
|
2811
|
+
* @default false
|
|
2812
|
+
*/
|
|
2813
|
+
fullWidth?: boolean;
|
|
2787
2814
|
}
|
|
2788
2815
|
declare const ColorField: React$1.ForwardRefExoticComponent<ColorFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2789
2816
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1171,6 +1171,13 @@ interface ColorPickerProps {
|
|
|
1171
1171
|
size?: "sm" | "md" | "lg";
|
|
1172
1172
|
/** Additional class name */
|
|
1173
1173
|
className?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Variant of the picker
|
|
1176
|
+
* - "full": Shows popover with color picker, presets, and optional input
|
|
1177
|
+
* - "simple": Just shows the color swatch with native picker on click
|
|
1178
|
+
* @default "full"
|
|
1179
|
+
*/
|
|
1180
|
+
variant?: "full" | "simple";
|
|
1174
1181
|
}
|
|
1175
1182
|
declare const ColorPicker: React$1.ForwardRefExoticComponent<ColorPickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1176
1183
|
|
|
@@ -2687,6 +2694,11 @@ interface NumberFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
2687
2694
|
onChange?: (value: number | undefined) => void;
|
|
2688
2695
|
showButtons?: boolean;
|
|
2689
2696
|
formatOptions?: Intl.NumberFormatOptions;
|
|
2697
|
+
/**
|
|
2698
|
+
* Whether the input should take full width
|
|
2699
|
+
* @default false
|
|
2700
|
+
*/
|
|
2701
|
+
fullWidth?: boolean;
|
|
2690
2702
|
}
|
|
2691
2703
|
declare const NumberField: React$1.ForwardRefExoticComponent<NumberFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2692
2704
|
|
|
@@ -2733,6 +2745,11 @@ interface DateFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
|
|
|
2733
2745
|
maxDate?: Date;
|
|
2734
2746
|
dateFormat?: string;
|
|
2735
2747
|
showIcon?: boolean;
|
|
2748
|
+
/**
|
|
2749
|
+
* Whether the input should take full width
|
|
2750
|
+
* @default false
|
|
2751
|
+
*/
|
|
2752
|
+
fullWidth?: boolean;
|
|
2736
2753
|
}
|
|
2737
2754
|
declare const DateField: React$1.ForwardRefExoticComponent<DateFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2738
2755
|
|
|
@@ -2762,6 +2779,11 @@ interface TimeFieldProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "o
|
|
|
2762
2779
|
showSeconds?: boolean;
|
|
2763
2780
|
hourCycle?: 12 | 24;
|
|
2764
2781
|
disabled?: boolean;
|
|
2782
|
+
/**
|
|
2783
|
+
* Whether the input should take full width
|
|
2784
|
+
* @default false
|
|
2785
|
+
*/
|
|
2786
|
+
fullWidth?: boolean;
|
|
2765
2787
|
}
|
|
2766
2788
|
declare const TimeField: React$1.ForwardRefExoticComponent<TimeFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2767
2789
|
|
|
@@ -2784,6 +2806,11 @@ interface ColorFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElem
|
|
|
2784
2806
|
showSwatch?: boolean;
|
|
2785
2807
|
showPicker?: boolean;
|
|
2786
2808
|
allowAlpha?: boolean;
|
|
2809
|
+
/**
|
|
2810
|
+
* Whether the input should take full width
|
|
2811
|
+
* @default false
|
|
2812
|
+
*/
|
|
2813
|
+
fullWidth?: boolean;
|
|
2787
2814
|
}
|
|
2788
2815
|
declare const ColorField: React$1.ForwardRefExoticComponent<ColorFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2789
2816
|
|