import type { AllowedMarginProps } from "../../stitches/shared/getMarginProps"; import type { BreakpointProperty, DefaultProps, SizeProp } 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 { TransitionsProp } from "../../stitches/shared/getTransitionVariants"; import type { KabukiUIColors } from "../../stitches/theme/common/commonColors"; import type { AllowedTextProps } from "../../stitches/shared/getTextProps"; import type { AllowedFontProps } from "../../stitches/shared/getFontProps"; import type { ShapeProp } from "../../stitches/shared/getShapesVariants"; import type { BadgeVariantProp } from "./propFunctions/getBadgeVariants"; export type BadgeProps = HTMLAttributes & DefaultProps & AllowedMarginProps & AllowedPaddingProps & AllowedFlexProps & AllowedWidthProps & AllowedHeightProps & AllowedTextProps & AllowedFontProps & { label?: string; bgColor?: BreakpointProperty>; visible?: boolean; spacing?: BreakpointProperty; position?: BreakpointProperty; transition?: TransitionsProp; shape?: ShapeProp; size?: SizeProp; variant?: BadgeVariantProp; }; export type BadgePositions = "topLeft" | "topCenter" | "topRight" | "centerLeft" | "center" | "centerRight" | "bottomLeft" | "bottomCenter" | "bottomRight";