@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
30 lines (29 loc) • 1.09 kB
TypeScript
import { Property } from "../node_modules/csstype/index.js";
import { VuiTheme } from "../theme/types.js";
import "../theme/index.js";
import { SystemProp } from "@xstyled/system";
//#region src/system/interactivity.d.ts
type AppearanceProp = SystemProp<Property.Appearance, VuiTheme>;
type AppearanceProps = {
appearance?: AppearanceProp;
};
type CursorProp = SystemProp<Property.Cursor, VuiTheme>;
type CursorProps = {
cursor?: CursorProp;
};
type PointerEventsProp = SystemProp<Property.PointerEvents, VuiTheme>;
type PointerEventsProps = {
pointerEvents?: PointerEventsProp;
};
type ResizeProp = SystemProp<Property.Resize, VuiTheme>;
type ResizeProps = {
resize?: ResizeProp;
};
type UserSelectProp = SystemProp<Property.UserSelect, VuiTheme>;
type UserSelectProps = {
userSelect?: UserSelectProp;
};
type InteractivityProps = AppearanceProps & CursorProps & PointerEventsProps & ResizeProps & UserSelectProps;
//#endregion
export { AppearanceProps, CursorProps, InteractivityProps, PointerEventsProps, ResizeProps, UserSelectProps };
//# sourceMappingURL=interactivity.d.ts.map