@kahi-ui/framework
Version:
Straight-forward Svelte UI for the Web
32 lines (31 loc) • 1.41 kB
TypeScript
import type { LiteralEnum, LiteralObject } from "./util";
import type { BreakpointEnum } from "./viewports";
/**
* Represents placement tokens to show content at specific x-axis relative locations that can be applied to Framework Components
*/
export declare enum TOKENS_PLACEMENT_X {
left = "left",
right = "right"
}
/**
* Represents placement tokens to show content at specific y-axis relative locations that can be applied to Framework Components
*/
export declare enum TOKENS_PLACEMENT_Y {
top = "top",
bottom = "bottom"
}
/**
* Represents placement tokens to show content at specific relative locations that can be applied to Framework Components
*/
export declare const TOKENS_PLACEMENT: {
readonly top: TOKENS_PLACEMENT_Y.top;
readonly bottom: TOKENS_PLACEMENT_Y.bottom;
readonly left: TOKENS_PLACEMENT_X.left;
readonly right: TOKENS_PLACEMENT_X.right;
};
export declare type PROPERTY_PLACEMENT = LiteralObject<typeof TOKENS_PLACEMENT>;
export declare type PROPERTY_PLACEMENT_BREAKPOINT = BreakpointEnum<keyof typeof TOKENS_PLACEMENT>;
export declare type PROPERTY_PLACEMENT_X = LiteralEnum<TOKENS_PLACEMENT_X>;
export declare type PROPERTY_PLACEMENT_X_BREAKPOINT = BreakpointEnum<TOKENS_PLACEMENT_X>;
export declare type PROPERTY_PLACEMENT_Y = LiteralEnum<TOKENS_PLACEMENT_Y>;
export declare type PROPERTY_PLACEMENT_Y_BREAKPOINT = BreakpointEnum<TOKENS_PLACEMENT_Y>;