UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

184 lines (183 loc) • 4.04 kB
import { ComponentSlotStyle } from "../../core/system/index.types.js"; import "../../index.js"; //#region src/components/radio-card/radio-card.style.d.ts declare const radioCardStyle: ComponentSlotStyle<"group" | "root" | "indicator" | "description" | "addon", { /** * The justify indicator of the component * * @default 'start' */ justify: { end: { addon: { me: "calc({bleed-size} * -1)"; ms: "calc({space-x} * -1)"; }; indicator: { right: "{space-x}"; }; root: { "&:has([data-indicator])": { "--bleed-size": "calc({indicator-size} + ({space-x} * 2))"; }; "--bleed-size": "{space-x}"; pe: "{bleed-size}"; }; }; start: { addon: { me: "calc({space-x} * -1)"; ms: "calc({bleed-size} * -1)"; }; indicator: { left: "{space-x}"; }; root: { "&:has([data-indicator])": { "--bleed-size": "calc({indicator-size} + ({space-x} * 2))"; }; "--bleed-size": "{space-x}"; ps: "{bleed-size}"; }; }; }; /** * The shape of the component * * @default 'circle' */ shape: { circle?: { indicator: { rounded: "full"; _before: { rounded: "full"; }; }; } | undefined; rounded?: { indicator: { rounded: "l1"; _before: { rounded: "calc({radii.l1} / 2)"; }; }; } | undefined; square?: { indicator: { rounded: "0"; _before: { rounded: "0"; }; }; } | undefined; }; }, { sm: { indicator: { _before: { boxSize: "1.5"; }; } | undefined; root: { "--description-size": "fontSizes.xs"; "--space-x": "spaces.3"; "--space-y": "spaces.2"; "--indicator-size"?: "sizes.3.5" | undefined; "--label-size"?: "fontSizes.sm" | undefined; }; }; md: { indicator: { _before: { boxSize: "2"; }; } | undefined; root: { "--description-size": "fontSizes.sm"; "--space-x": "spaces.4"; "--space-y": "spaces.3"; "--indicator-size"?: "sizes.4" | undefined; "--label-size"?: "fontSizes.md" | undefined; }; }; lg: { indicator: { _before: { boxSize: "3"; }; } | undefined; root: { "--description-size": "fontSizes.md"; "--space-x": "spaces.5"; "--space-y": "spaces.4"; "--indicator-size"?: "sizes.5" | undefined; "--label-size"?: "fontSizes.lg" | undefined; }; }; xl: { indicator: { _before: { boxSize: "3"; }; } | undefined; root: { "--description-size": "fontSizes.md"; "--space-x": "spaces.6"; "--space-y": "spaces.5"; "--indicator-size"?: "sizes.5" | undefined; "--label-size"?: "fontSizes.lg" | undefined; }; }; }, { base: { indicator: { _checked: { _before: { bg: "colorScheme.solid"; }; }; } | undefined; }; outline: { root: { _checked: { "--indicator-border-color": "colorScheme.outline"; "--root-border-color": "colorScheme.outline"; }; }; }; subtle: { indicator: { _checked: { bg: "bg"; }; }; root: { _checked: { "--addon-border-color": "colorScheme.muted"; "--indicator-border-color": "colorScheme.emphasized"; "--root-border-color": "transparent"; bg: "colorScheme.subtle"; }; }; }; surface: { indicator: { _checked: { bg: "bg"; }; }; root: { _checked: { "--indicator-border-color": "colorScheme.emphasized"; "--root-border-color": "colorScheme.muted"; bg: "colorScheme.subtle"; }; }; }; }>; type RadioCardStyle = typeof radioCardStyle; //#endregion export { RadioCardStyle, radioCardStyle }; //# sourceMappingURL=radio-card.style.d.ts.map