@aitronos/freddy-plugins 0.2.6 → 0.3.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/CHANGELOG.md +8 -0
- package/dist/freddy-plugins.css +1 -1
- package/dist/index.cjs +35 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +23 -22
- package/dist/index.js +1145 -1097
- package/dist/index.js.map +1 -1
- package/package.json +9 -3
package/dist/index.d.ts
CHANGED
|
@@ -254,6 +254,8 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
254
254
|
|
|
255
255
|
export declare const AdvancedModal: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
256
256
|
|
|
257
|
+
export declare const AnimeSpaceman: DefineComponent<SpacemanLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SpacemanLogoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
258
|
+
|
|
257
259
|
export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
258
260
|
|
|
259
261
|
/**
|
|
@@ -712,9 +714,9 @@ onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
|
712
714
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
713
715
|
"onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
|
|
714
716
|
}>, {
|
|
717
|
+
label: string;
|
|
715
718
|
type: "default" | "leading-dropdown" | "trailing-dropdown" | "leading-text" | "payment" | "trailing-button" | "clear" | "freddy-input";
|
|
716
719
|
placeholder: string;
|
|
717
|
-
label: string;
|
|
718
720
|
size: "sm" | "md" | "lg";
|
|
719
721
|
disabled: boolean;
|
|
720
722
|
destructive: boolean;
|
|
@@ -901,36 +903,28 @@ export declare function readableDateFormat(date: Date | string): string;
|
|
|
901
903
|
*/
|
|
902
904
|
export declare const scrollToElement: (targetElement: string) => void;
|
|
903
905
|
|
|
904
|
-
export declare const SearchInput: DefineComponent<
|
|
905
|
-
placeholder: {
|
|
906
|
-
type: StringConstructor;
|
|
907
|
-
default: () => string;
|
|
908
|
-
};
|
|
909
|
-
showLoaderForSearch: {
|
|
910
|
-
type: BooleanConstructor;
|
|
911
|
-
default: () => boolean;
|
|
912
|
-
};
|
|
913
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
906
|
+
export declare const SearchInput: DefineComponent<SearchInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
914
907
|
"update:searchInput": (inputValue: string | null) => any;
|
|
915
|
-
}, string, PublicProps, Readonly<
|
|
916
|
-
placeholder: {
|
|
917
|
-
type: StringConstructor;
|
|
918
|
-
default: () => string;
|
|
919
|
-
};
|
|
920
|
-
showLoaderForSearch: {
|
|
921
|
-
type: BooleanConstructor;
|
|
922
|
-
default: () => boolean;
|
|
923
|
-
};
|
|
924
|
-
}>> & Readonly<{
|
|
908
|
+
}, string, PublicProps, Readonly<SearchInputProps> & Readonly<{
|
|
925
909
|
"onUpdate:searchInput"?: ((inputValue: string | null) => any) | undefined;
|
|
926
910
|
}>, {
|
|
927
911
|
placeholder: string;
|
|
928
912
|
showLoaderForSearch: boolean;
|
|
929
|
-
|
|
913
|
+
maxCharLimit: number;
|
|
914
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
930
915
|
dropdownRef: HTMLDivElement;
|
|
931
916
|
searchInput: HTMLInputElement;
|
|
932
917
|
}, any>;
|
|
933
918
|
|
|
919
|
+
declare interface SearchInputProps {
|
|
920
|
+
/** Placeholder text for the search input */
|
|
921
|
+
placeholder?: string;
|
|
922
|
+
/** Whether to show a loading spinner */
|
|
923
|
+
showLoaderForSearch?: boolean;
|
|
924
|
+
/** Maximum number of characters allowed in the input */
|
|
925
|
+
maxCharLimit?: number;
|
|
926
|
+
}
|
|
927
|
+
|
|
934
928
|
export declare const SendButton: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
935
929
|
|
|
936
930
|
export declare const SkeletonLoader: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -947,6 +941,13 @@ export declare interface Snack {
|
|
|
947
941
|
|
|
948
942
|
export declare const SnackBar: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
949
943
|
|
|
944
|
+
declare interface SpacemanLogoProps {
|
|
945
|
+
/** Custom CSS class to apply to the component */
|
|
946
|
+
customClass?: string;
|
|
947
|
+
/** Custom inline styles to apply */
|
|
948
|
+
customStyle?: string | Record<string, string>;
|
|
949
|
+
}
|
|
950
|
+
|
|
950
951
|
export declare const Spinner: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
951
952
|
|
|
952
953
|
export declare const Switch: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|