/** * Props for a Base UI part whose `render` is a layout primitive (`Stack`, * `Group`, `Card`, ...). Layout props spread onto the part pass straight * through to the primitive, so the part accepts them too. * * Every key the Base UI part already ships stays Base UI's. A plain * intersection would narrow `className` and `render` to the primitive's * string and element forms, rejecting the state functions Base UI accepts. * The native attributes Base UI deliberately drops (`color`, `defaultValue`, * `defaultChecked`) stay dropped rather than returning through the primitive. */ export type WithLayoutProps = BaseProps & Omit; export type StyleProp = { property: K; values?: ReadonlyArray; /** Keywords accepted alongside a number, each emitted as its own rule. */ keywords?: readonly string[]; /** * How the raw value becomes a length: multiplied by a token variable, * multiplied by `1px`, or used as-is (`"none"`, for keyword values). */ unit: { variable: `--${string}`; } | "px" | "none"; }; //# sourceMappingURL=types.d.ts.map