@aitronos/freddy-plugins 0.2.5 → 0.2.7

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
@@ -901,36 +901,28 @@ export declare function readableDateFormat(date: Date | string): string;
901
901
  */
902
902
  export declare const scrollToElement: (targetElement: string) => void;
903
903
 
904
- export declare const SearchInput: DefineComponent<ExtractPropTypes< {
905
- placeholder: {
906
- type: StringConstructor;
907
- default: () => string;
908
- };
909
- showLoaderForSearch: {
910
- type: BooleanConstructor;
911
- default: () => boolean;
912
- };
913
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
904
+ export declare const SearchInput: DefineComponent<SearchInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
914
905
  "update:searchInput": (inputValue: string | null) => any;
915
- }, string, PublicProps, Readonly<ExtractPropTypes< {
916
- placeholder: {
917
- type: StringConstructor;
918
- default: () => string;
919
- };
920
- showLoaderForSearch: {
921
- type: BooleanConstructor;
922
- default: () => boolean;
923
- };
924
- }>> & Readonly<{
906
+ }, string, PublicProps, Readonly<SearchInputProps> & Readonly<{
925
907
  "onUpdate:searchInput"?: ((inputValue: string | null) => any) | undefined;
926
908
  }>, {
927
909
  placeholder: string;
928
910
  showLoaderForSearch: boolean;
929
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
911
+ maxCharLimit: number;
912
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
930
913
  dropdownRef: HTMLDivElement;
931
914
  searchInput: HTMLInputElement;
932
915
  }, any>;
933
916
 
917
+ declare interface SearchInputProps {
918
+ /** Placeholder text for the search input */
919
+ placeholder?: string;
920
+ /** Whether to show a loading spinner */
921
+ showLoaderForSearch?: boolean;
922
+ /** Maximum number of characters allowed in the input */
923
+ maxCharLimit?: number;
924
+ }
925
+
934
926
  export declare const SendButton: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
935
927
 
936
928
  export declare const SkeletonLoader: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;