@grandbazar/ui-baza 1.1.3 → 1.1.4
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 +8 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -717,16 +717,16 @@ declare type TTagProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
717
717
|
disabled?: boolean;
|
|
718
718
|
};
|
|
719
719
|
|
|
720
|
-
declare type TTextFieldAreaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
720
|
+
declare type TTextFieldAreaProps = TWithRef<React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
721
721
|
isInvalid?: boolean;
|
|
722
722
|
floatingLabel?: string;
|
|
723
723
|
floatingLabelSuffix?: string;
|
|
724
|
-
}
|
|
724
|
+
}, HTMLTextAreaElement>;
|
|
725
725
|
|
|
726
|
-
declare type TTextFieldInputProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
726
|
+
declare type TTextFieldInputProps = TWithRef<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
727
727
|
isInvalid?: boolean;
|
|
728
728
|
floatingLabel?: string;
|
|
729
|
-
}
|
|
729
|
+
}, HTMLInputElement>;
|
|
730
730
|
|
|
731
731
|
declare type TTextFieldLabelProps = React.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
732
732
|
isRequired?: boolean;
|
|
@@ -736,6 +736,10 @@ declare type TTextFieldRootProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
736
736
|
size?: TArrayElement<typeof TEXT_FIELD_SIZES>;
|
|
737
737
|
};
|
|
738
738
|
|
|
739
|
+
declare type TWithRef<TProps, TElement = HTMLElement> = TProps & {
|
|
740
|
+
ref?: React.Ref<TElement>;
|
|
741
|
+
};
|
|
742
|
+
|
|
739
743
|
/**
|
|
740
744
|
* Manages month and year navigation state for DatePicker.
|
|
741
745
|
* Provides navigation handlers and current month/year values.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grandbazar/ui-baza",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|