import type { AllowedMarginProps } from "../../stitches/shared/getMarginProps"; import type { BreakpointProperty, DefaultProps } from "../../stitches/stitches.types"; import type { HTMLAttributes } from "svelte/elements"; import type { AllowedWidthProps } from "../../stitches/shared/getWidthProps"; import type { AllowedPaddingProps } from "../../stitches/shared/getPaddingProps"; import type { AllowedFlexProps } from "../../stitches/shared/getFlexProps"; import type { AllowedHeightProps } from "../../stitches/shared/getHeightProps"; import type { LiteralUnion } from "../../types/LiteralUnion"; import type { SvelteComponentType } from "../../types/SvelteComponentType"; import type { TransitionsProp } from "../../stitches/shared/getTransitionVariants"; export type FixedProps = HTMLAttributes & DefaultProps & AllowedMarginProps & AllowedPaddingProps & AllowedFlexProps & AllowedWidthProps & AllowedHeightProps & { type: BreakpointProperty; /** * margin spacing */ spacing?: BreakpointProperty; /** * Fixed positioning */ position?: BreakpointProperty; component?: LiteralUnion; transition?: TransitionsProp; }; export type FixedTypes = "fixed" | "absolute" | "sticky" | "relative" | "static"; export type FixedPositions = "topLeft" | "topCenter" | "topRight" | "centerLeft" | "center" | "centerRight" | "bottomLeft" | "bottomCenter" | "bottomRight";