UNPKG

@kahi-ui/framework

Version:

Straight-forward Svelte UI for the Web

28 lines (27 loc) 1.27 kB
import type { LiteralEnum, LiteralObject } from "./util"; import type { BreakpointEnum } from "./viewports"; /** * Represents the modes of horizontal-based orientation tokens that can be applied to Framework Components */ export declare enum TOKENS_ORIENTATION_X { vertical = "vertical" } /** * Represents the modes of vertical-based orientation tokens that can be applied to Framework Components */ export declare enum TOKENS_ORIENTATION_Y { horizontal = "horizontal" } /** * Represents the modes of orientation tokens that can be applied to Framework Components */ export declare const TOKENS_ORIENTATION: { readonly horizontal: TOKENS_ORIENTATION_Y.horizontal; readonly vertical: TOKENS_ORIENTATION_X.vertical; }; export declare type PROPERTY_ORIENTATION = LiteralObject<typeof TOKENS_ORIENTATION>; export declare type PROPERTY_ORIENTATION_BREAKPOINT = BreakpointEnum<keyof typeof TOKENS_ORIENTATION>; export declare type PROPERTY_ORIENTATION_X = LiteralEnum<TOKENS_ORIENTATION_X>; export declare type PROPERTY_ORIENTATION_X_BREAKPOINT = BreakpointEnum<TOKENS_ORIENTATION_X>; export declare type PROPERTY_ORIENTATION_Y = LiteralEnum<TOKENS_ORIENTATION_Y>; export declare type PROPERTY_ORIENTATION_Y_BREAKPOINT = BreakpointEnum<TOKENS_ORIENTATION_Y>;