@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
76 lines (75 loc) • 1.99 kB
TypeScript
declare const _default: import("vue").DefineComponent<{
/**
* The id of the target input to be focused by the form label. If left empty, clicking the form label will focus the next sibling input
* @type String
* @default
* @name for
*/
for: {
type: StringConstructor;
default: string;
};
/**
* The placement of the form label
* @type left | right
* @default left
* @name placement
*/
placement: {
type: StringConstructor;
default: string;
};
/**
* The size variant of the form label
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: string;
};
}, {
labelRef: import("vue").Ref<HTMLLabelElement | null>;
currentFor: import("vue").Ref<string>;
classes: import("vue").ComputedRef<{
[x: string]: boolean;
}>;
onClick: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The id of the target input to be focused by the form label. If left empty, clicking the form label will focus the next sibling input
* @type String
* @default
* @name for
*/
for: {
type: StringConstructor;
default: string;
};
/**
* The placement of the form label
* @type left | right
* @default left
* @name placement
*/
placement: {
type: StringConstructor;
default: string;
};
/**
* The size variant of the form label
* @type sm | md | lg
* @default
* @name size
*/
size: {
type: StringConstructor;
default: string;
};
}>>, {
size: string;
placement: string;
for: string;
}, {}>;
export default _default;