dist directory

This commit is contained in:
2024-03-12 05:28:28 +01:00
parent a385e96520
commit a27c84b7a9
283 changed files with 24264 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
import type { FlowbiteTheme } from './types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
theme: {
type: import("vue").PropType<FlowbiteTheme>;
default: string;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: import("vue").PropType<FlowbiteTheme>;
default: string;
};
}>>, {
theme: FlowbiteTheme;
}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -0,0 +1,40 @@
import { type PropType } from 'vue';
import type { FlowbiteTheme, ThemableChildrenApply } from '@/components/utils/FlowbiteThemable/types';
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
apply: {
type: PropType<ThemableChildrenApply[]>;
required: true;
};
tag: {
type: StringConstructor;
default: string;
};
theme: {
type: PropType<FlowbiteTheme>;
default: undefined;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
apply: {
type: PropType<ThemableChildrenApply[]>;
required: true;
};
tag: {
type: StringConstructor;
default: string;
};
theme: {
type: PropType<FlowbiteTheme>;
default: undefined;
};
}>>, {
tag: string;
theme: FlowbiteTheme;
}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};

View File

@@ -0,0 +1,14 @@
import { type Ref } from 'vue';
import type { FlowbiteTheme } from '../types';
type UseFlowbiteThemableReturns = {
backgroundClasses: Ref<string>;
borderClasses: Ref<string>;
color: Ref<FlowbiteTheme | undefined>;
disabledClasses: Ref<string>;
focusClasses: Ref<string>;
hoverClasses: Ref<string>;
isActive: Ref<boolean>;
textClasses: Ref<string>;
};
export declare function useFlowbiteThemable(_theme?: FlowbiteTheme): UseFlowbiteThemableReturns;
export {};

View File

@@ -0,0 +1,12 @@
import { type Ref } from 'vue';
import type { ThemableChildrenApply } from '../types';
import type { FlowbiteTheme } from '@/components/utils/FlowbiteThemable/types';
type UseFlowbiteThemableChildReturns = {
classes: Ref<string>;
};
type UseFlowbiteThemableChildProps = {
apply: Ref<ThemableChildrenApply[]>;
theme?: Ref<FlowbiteTheme | undefined>;
};
export declare function useFlowbiteThemableChildClasses(props: UseFlowbiteThemableChildProps): UseFlowbiteThemableChildReturns;
export {};

View File

@@ -0,0 +1 @@
export declare const FLOWBITE_THEMABLE_INJECTION_KEY = "flowbite-themable-injection-key";

View File

@@ -0,0 +1,5 @@
export type FlowbiteTheme = 'blue' | 'green' | 'red' | 'pink' | 'purple';
export type FlowbiteThemablePayload = {
theme: FlowbiteTheme;
};
export type ThemableChildrenApply = 'background' | 'disabled' | 'hover' | 'text' | 'border' | 'focus';