UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

1,644 lines (1,643 loc) • 110 kB
export declare const slotRecipes: { accordion: import("..").SlotRecipeDefinition<"root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator" | "itemBody", { variant: { outline: { item: { borderBottomWidth: "1px"; }; }; subtle: { itemTrigger: { px: "var(--accordion-padding-x)"; }; itemContent: { px: "var(--accordion-padding-x)"; }; item: { borderRadius: "var(--accordion-radius)"; _open: { bg: "colorPalette.subtle"; }; }; }; enclosed: { root: { borderWidth: "1px"; borderRadius: "var(--accordion-radius)"; divideY: string; overflow: "hidden"; }; itemTrigger: { px: "var(--accordion-padding-x)"; }; itemContent: { px: "var(--accordion-padding-x)"; }; item: { _open: { bg: "bg.subtle"; }; }; }; plain: {}; }; size: { sm: { root: { "--accordion-padding-x": "spacing.3"; "--accordion-padding-y": "spacing.2"; }; itemTrigger: { textStyle: "sm"; py: "var(--accordion-padding-y)"; }; }; md: { root: { "--accordion-padding-x": "spacing.4"; "--accordion-padding-y": "spacing.2"; }; itemTrigger: { textStyle: "md"; py: "var(--accordion-padding-y)"; }; }; lg: { root: { "--accordion-padding-x": "spacing.4.5"; "--accordion-padding-y": "spacing.2.5"; }; itemTrigger: { textStyle: "lg"; py: "var(--accordion-padding-y)"; }; }; }; }>; actionBar: import("..").SlotRecipeDefinition<"positioner" | "content" | "separator" | "selectionTrigger" | "closeTrigger", import("..").SlotRecipeVariantRecord<"positioner" | "content" | "separator" | "selectionTrigger" | "closeTrigger">>; alert: import("..").SlotRecipeDefinition<"root" | "content" | "title" | "description" | "indicator", { status: { info: { root: { colorPalette: "blue"; }; }; warning: { root: { colorPalette: "orange"; }; }; success: { root: { colorPalette: "green"; }; }; error: { root: { colorPalette: "red"; }; }; neutral: { root: { colorPalette: "gray"; }; }; }; inline: { true: { content: { display: "inline-flex"; flexDirection: "row"; alignItems: "center"; }; }; false: { content: { display: "flex"; flexDirection: "column"; }; }; }; variant: { subtle: { root: { bg: "colorPalette.subtle"; color: "colorPalette.fg"; }; }; surface: { root: { bg: "colorPalette.subtle"; color: "colorPalette.fg"; shadow: "inset 0 0 0px 1px var(--shadow-color)"; shadowColor: "colorPalette.muted"; }; indicator: { color: "colorPalette.fg"; }; }; outline: { root: { color: "colorPalette.fg"; shadow: "inset 0 0 0px 1px var(--shadow-color)"; shadowColor: "colorPalette.muted"; }; indicator: { color: "colorPalette.fg"; }; }; solid: { root: { bg: "colorPalette.solid"; color: "colorPalette.contrast"; }; indicator: { color: "colorPalette.contrast"; }; }; }; size: { sm: { root: { gap: "2"; px: "3"; py: "3"; textStyle: "xs"; }; indicator: { textStyle: "lg"; }; }; md: { root: { gap: "3"; px: "4"; py: "4"; textStyle: "sm"; }; indicator: { textStyle: "xl"; }; }; lg: { root: { gap: "3"; px: "4"; py: "4"; textStyle: "md"; }; indicator: { textStyle: "2xl"; }; }; }; }>; avatar: import("..").SlotRecipeDefinition<"root" | "image" | "fallback", { size: { full: { root: { "--avatar-size": "100%"; "--avatar-font-size": "100%"; }; }; "2xs": { root: { "--avatar-font-size": "fontSizes.2xs"; "--avatar-size": "sizes.6"; }; }; xs: { root: { "--avatar-font-size": "fontSizes.xs"; "--avatar-size": "sizes.8"; }; }; sm: { root: { "--avatar-font-size": "fontSizes.sm"; "--avatar-size": "sizes.9"; }; }; md: { root: { "--avatar-font-size": "fontSizes.md"; "--avatar-size": "sizes.10"; }; }; lg: { root: { "--avatar-font-size": "fontSizes.md"; "--avatar-size": "sizes.11"; }; }; xl: { root: { "--avatar-font-size": "fontSizes.lg"; "--avatar-size": "sizes.12"; }; }; "2xl": { root: { "--avatar-font-size": "fontSizes.xl"; "--avatar-size": "sizes.16"; }; }; }; variant: { solid: { root: { bg: "colorPalette.solid"; color: "colorPalette.contrast"; }; }; subtle: { root: { bg: "colorPalette.muted"; color: "colorPalette.fg"; }; }; outline: { root: { color: "colorPalette.fg"; borderWidth: "1px"; borderColor: "colorPalette.muted"; }; }; }; shape: { square: {}; rounded: { root: { "--avatar-radius": "radii.l3"; }; }; full: { root: { "--avatar-radius": "radii.full"; }; }; }; borderless: { true: { root: { "&[data-group-item]": { borderWidth: "0px"; }; }; }; }; }>; blockquote: import("..").SlotRecipeDefinition<"root" | "content" | "icon" | "caption", { justify: { start: { root: { alignItems: "flex-start"; textAlign: "start"; }; }; center: { root: { alignItems: "center"; textAlign: "center"; }; }; end: { root: { alignItems: "flex-end"; textAlign: "end"; }; }; }; variant: { subtle: { root: { paddingX: "5"; borderStartWidth: "4px"; borderStartColor: "colorPalette.muted"; }; icon: { color: "colorPalette.fg"; }; }; solid: { root: { paddingX: "5"; borderStartWidth: "4px"; borderStartColor: "colorPalette.solid"; }; icon: { color: "colorPalette.solid"; }; }; plain: { root: { paddingX: "5"; }; icon: { color: "colorPalette.solid"; }; }; }; }>; breadcrumb: import("..").SlotRecipeDefinition<"root" | "item" | "separator" | "link" | "currentLink" | "list" | "ellipsis", { variant: { underline: { link: { color: "colorPalette.fg"; textDecoration: "underline"; textUnderlineOffset: "0.2em"; textDecorationColor: "colorPalette.muted"; }; currentLink: { color: "colorPalette.fg"; }; }; plain: { link: { color: "fg.muted"; _hover: { color: "fg"; }; }; currentLink: { color: "fg"; }; }; }; size: { sm: { list: { gap: "1"; textStyle: "xs"; }; }; md: { list: { gap: "1.5"; textStyle: "sm"; }; }; lg: { list: { gap: "2"; textStyle: "md"; }; }; }; }>; card: import("..").SlotRecipeDefinition<"root" | "title" | "description" | "header" | "body" | "footer", { size: { sm: { root: { "--card-padding": "spacing.4"; }; title: { textStyle: "md"; }; }; md: { root: { "--card-padding": "spacing.6"; }; title: { textStyle: "lg"; }; }; lg: { root: { "--card-padding": "spacing.7"; }; title: { textStyle: "xl"; }; }; }; variant: { elevated: { root: { bg: "bg.panel"; boxShadow: "md"; }; }; outline: { root: { bg: "bg.panel"; borderWidth: "1px"; borderColor: "border"; }; }; subtle: { root: { bg: "bg.muted"; }; }; }; }>; checkbox: import("..").SlotRecipeDefinition<"root" | "indicator" | "control" | "label" | "group", { size: { xs: { root: { gap: "1.5"; }; label: { textStyle: "xs"; }; control: { boxSize: "3"; } | undefined; }; sm: { root: { gap: "2"; }; label: { textStyle: "sm"; }; control: { boxSize: "4"; } | undefined; }; md: { root: { gap: "2.5"; }; label: { textStyle: "sm"; }; control: { boxSize: "5"; p: "0.5"; } | undefined; }; lg: { root: { gap: "3"; }; label: { textStyle: "md"; }; control: { boxSize: "6"; p: "0.5"; } | undefined; }; }; variant: { outline: { control: { borderColor: "border"; "&:is([data-state=checked], [data-state=indeterminate])": { color: "colorPalette.fg"; borderColor: "colorPalette.solid"; }; } | undefined; }; solid: { control: { borderColor: "border"; "&:is([data-state=checked], [data-state=indeterminate])": { bg: "colorPalette.solid"; color: "colorPalette.contrast"; borderColor: "colorPalette.solid"; }; } | undefined; }; subtle: { control: { bg: "colorPalette.muted"; borderColor: "colorPalette.muted"; "&:is([data-state=checked], [data-state=indeterminate])": { color: "colorPalette.fg"; }; } | undefined; }; }; }>; checkboxCard: import("..").SlotRecipeDefinition<"root" | "content" | "description" | "indicator" | "control" | "label" | "addon", { size: { sm: { root: { textStyle: "sm"; }; control: { padding: "3"; gap: "1.5"; }; addon: { px: "3"; py: "1.5"; borderTopWidth: "1px"; }; indicator: { boxSize: "4"; } | undefined; }; md: { root: { textStyle: "sm"; }; control: { padding: "4"; gap: "2.5"; }; addon: { px: "4"; py: "2"; borderTopWidth: "1px"; }; indicator: { boxSize: "5"; p: "0.5"; } | undefined; }; lg: { root: { textStyle: "md"; }; control: { padding: "4"; gap: "3.5"; }; addon: { px: "4"; py: "2"; borderTopWidth: "1px"; }; indicator: { boxSize: "6"; p: "0.5"; } | undefined; }; }; variant: { surface: { root: { borderWidth: "1px"; borderColor: "border"; _checked: { bg: "colorPalette.subtle"; color: "colorPalette.fg"; borderColor: "colorPalette.muted"; }; _disabled: { bg: "bg.muted"; }; }; indicator: { borderColor: "border"; "&:is([data-state=checked], [data-state=indeterminate])": { bg: "colorPalette.solid"; color: "colorPalette.contrast"; borderColor: "colorPalette.solid"; }; } | undefined; }; subtle: { root: { bg: "bg.muted"; }; control: { _checked: { bg: "colorPalette.muted"; color: "colorPalette.fg"; }; }; indicator: { "&:is([data-state=checked], [data-state=indeterminate])": { color: "colorPalette.fg"; }; } | undefined; }; outline: { root: { borderWidth: "1px"; borderColor: "border"; _checked: { boxShadow: "0 0 0 1px var(--shadow-color)"; boxShadowColor: "colorPalette.solid"; borderColor: "colorPalette.solid"; }; }; indicator: { borderColor: "border"; "&:is([data-state=checked], [data-state=indeterminate])": { bg: "colorPalette.solid"; color: "colorPalette.contrast"; borderColor: "colorPalette.solid"; }; } | undefined; }; solid: { root: { borderWidth: "1px"; _checked: { bg: "colorPalette.solid"; color: "colorPalette.contrast"; borderColor: "colorPalette.solid"; }; }; indicator: { borderColor: "border"; color: "colorPalette.fg"; "&:is([data-state=checked], [data-state=indeterminate])": { borderColor: "colorPalette.solid"; }; } | undefined; }; }; justify: { start: { root: { "--checkbox-card-justify": "flex-start"; }; }; end: { root: { "--checkbox-card-justify": "flex-end"; }; }; center: { root: { "--checkbox-card-justify": "center"; }; }; }; align: { start: { root: { "--checkbox-card-align": "flex-start"; }; content: { textAlign: "start"; }; }; end: { root: { "--checkbox-card-align": "flex-end"; }; content: { textAlign: "end"; }; }; center: { root: { "--checkbox-card-align": "center"; }; content: { textAlign: "center"; }; }; }; orientation: { vertical: { control: { flexDirection: "column"; }; }; horizontal: { control: { flexDirection: "row"; }; }; }; }>; collapsible: import("..").SlotRecipeDefinition<"root" | "content" | "indicator" | "trigger", import("..").SlotRecipeVariantRecord<"root" | "content" | "indicator" | "trigger">>; dataList: import("..").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", { orientation: { horizontal: { root: { display: "flex"; flexDirection: "column"; }; item: { display: "inline-flex"; alignItems: "center"; gap: "4"; }; itemLabel: { minWidth: "120px"; }; }; vertical: { root: { display: "flex"; flexDirection: "column"; }; item: { display: "flex"; flexDirection: "column"; gap: "1"; }; }; }; size: { sm: { root: { gap: "3"; }; item: { textStyle: "xs"; }; }; md: { root: { gap: "4"; }; item: { textStyle: "sm"; }; }; lg: { root: { gap: "5"; }; item: { textStyle: "md"; }; }; }; variant: { subtle: { itemLabel: { color: "fg.muted"; }; }; bold: { itemLabel: { fontWeight: "medium"; }; itemValue: { color: "fg.muted"; }; }; }; }>; dialog: import("..").SlotRecipeDefinition<"positioner" | "content" | "closeTrigger" | "title" | "description" | "header" | "body" | "footer" | "trigger" | "backdrop", { placement: { center: { positioner: { alignItems: "center"; }; content: { "--dialog-base-margin": "auto"; mx: "auto"; }; }; top: { positioner: { alignItems: "flex-start"; }; content: { "--dialog-base-margin": "spacing.16"; mx: "auto"; }; }; bottom: { positioner: { alignItems: "flex-end"; }; content: { "--dialog-base-margin": "spacing.16"; mx: "auto"; }; }; }; scrollBehavior: { inside: { positioner: { overflow: "hidden"; }; content: { maxH: "calc(100% - 7.5rem)"; }; body: { overflow: "auto"; }; }; outside: { positioner: { overflow: "auto"; pointerEvents: "auto"; }; }; }; size: { xs: { content: { maxW: "sm"; }; }; sm: { content: { maxW: "md"; }; }; md: { content: { maxW: "lg"; }; }; lg: { content: { maxW: "2xl"; }; }; xl: { content: { maxW: "4xl"; }; }; cover: { positioner: { padding: "10"; }; content: { width: "100%"; height: "100%"; "--dialog-margin": "0"; }; }; full: { content: { maxW: "100vw"; minH: "100vh"; "--dialog-margin": "0"; borderRadius: "0"; }; }; }; motionPreset: { scale: { content: { _open: { animationName: "scale-in, fade-in"; }; _closed: { animationName: "scale-out, fade-out"; }; }; }; "slide-in-bottom": { content: { _open: { animationName: "slide-from-bottom, fade-in"; }; _closed: { animationName: "slide-to-bottom, fade-out"; }; }; }; "slide-in-top": { content: { _open: { animationName: "slide-from-top, fade-in"; }; _closed: { animationName: "slide-to-top, fade-out"; }; }; }; "slide-in-left": { content: { _open: { animationName: "slide-from-left, fade-in"; }; _closed: { animationName: "slide-to-left, fade-out"; }; }; }; "slide-in-right": { content: { _open: { animationName: "slide-from-right, fade-in"; }; _closed: { animationName: "slide-to-right, fade-out"; }; }; }; none: {}; }; }>; drawer: import("..").SlotRecipeDefinition<"positioner" | "content" | "closeTrigger" | "title" | "description" | "header" | "body" | "footer" | "trigger" | "backdrop", { size: { xs: { content: { maxW: "xs"; }; }; sm: { content: { maxW: "md"; }; }; md: { content: { maxW: "lg"; }; }; lg: { content: { maxW: "2xl"; }; }; xl: { content: { maxW: "4xl"; }; }; full: { content: { maxW: "100vw"; h: "100dvh"; }; }; }; placement: { start: { positioner: { justifyContent: "flex-start"; }; content: { _open: { animationName: { base: "slide-from-left-full, fade-in"; _rtl: "slide-from-right-full, fade-in"; }; }; _closed: { animationName: { base: "slide-to-left-full, fade-out"; _rtl: "slide-to-right-full, fade-out"; }; }; }; }; end: { positioner: { justifyContent: "flex-end"; }; content: { _open: { animationName: { base: "slide-from-right-full, fade-in"; _rtl: "slide-from-left-full, fade-in"; }; }; _closed: { animationName: { base: "slide-to-right-full, fade-out"; _rtl: "slide-to-right-full, fade-out"; }; }; }; }; top: { positioner: { alignItems: "flex-start"; }; content: { maxW: "100%"; _open: { animationName: "slide-from-top-full, fade-in"; }; _closed: { animationName: "slide-to-top-full, fade-out"; }; }; }; bottom: { positioner: { alignItems: "flex-end"; }; content: { maxW: "100%"; _open: { animationName: "slide-from-bottom-full, fade-in"; }; _closed: { animationName: "slide-to-bottom-full, fade-out"; }; }; }; }; contained: { true: { positioner: { padding: "4"; }; content: { borderRadius: "l3"; }; }; }; }>; editable: import("..").SlotRecipeDefinition<"root" | "control" | "label" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger" | "textarea", { size: { sm: { root: { textStyle: "sm"; }; preview: { minH: "8"; }; input: { minH: "8"; }; }; md: { root: { textStyle: "sm"; }; preview: { minH: "9"; }; input: { minH: "9"; }; }; lg: { root: { textStyle: "md"; }; preview: { minH: "10"; }; input: { minH: "10"; }; }; }; }>; emptyState: import("..").SlotRecipeDefinition<"root" | "content" | "title" | "description" | "indicator", { size: { sm: { root: { px: "4"; py: "6"; }; title: { textStyle: "md"; }; content: { gap: "4"; }; indicator: { textStyle: "2xl"; }; }; md: { root: { px: "8"; py: "12"; }; title: { textStyle: "lg"; }; content: { gap: "6"; }; indicator: { textStyle: "4xl"; }; }; lg: { root: { px: "12"; py: "16"; }; title: { textStyle: "xl"; }; content: { gap: "8"; }; indicator: { textStyle: "6xl"; }; }; }; }>; field: import("..").SlotRecipeDefinition<"root" | "label" | "input" | "textarea" | "select" | "errorText" | "helperText" | "requiredIndicator", { orientation: { vertical: { root: { flexDirection: "column"; alignItems: "flex-start"; }; }; horizontal: { root: { flexDirection: "row"; alignItems: "center"; justifyContent: "space-between"; }; label: { flex: "0 0 var(--field-label-width, 80px)"; }; }; }; }>; fieldset: import("..").SlotRecipeDefinition<"root" | "content" | "errorText" | "helperText" | "legend", { size: { sm: { root: { spaceY: "2"; }; content: { gap: "1.5"; }; legend: { textStyle: "sm"; }; }; md: { root: { spaceY: "4"; }; content: { gap: "4"; }; legend: { textStyle: "sm"; }; }; lg: { root: { spaceY: "6"; }; content: { gap: "4"; }; legend: { textStyle: "md"; }; }; }; }>; fileUpload: import("..").SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "trigger" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "clearTrigger" | "dropzoneContent" | "fileText", import("..").SlotRecipeVariantRecord<"root" | "item" | "itemContent" | "label" | "trigger" | "dropzone" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "clearTrigger" | "dropzoneContent" | "fileText">>; hoverCard: import("..").SlotRecipeDefinition<"positioner" | "content" | "trigger" | "arrow" | "arrowTip", { size: { xs: { content: { padding: "3"; }; }; sm: { content: { padding: "4"; }; }; md: { content: { padding: "5"; }; }; lg: { content: { padding: "6"; }; }; }; }>; list: import("..").SlotRecipeDefinition<"root" | "item" | "indicator", { variant: { marker: { root: { listStyle: "revert"; }; item: { _marker: { color: "fg.subtle"; }; }; }; plain: { item: { alignItems: "flex-start"; display: "inline-flex"; }; }; }; align: { center: { item: { alignItems: "center"; }; }; start: { item: { alignItems: "flex-start"; }; }; end: { item: { alignItems: "flex-end"; }; }; }; }>; menu: import("..").SlotRecipeDefinition<"item" | "itemIndicator" | "positioner" | "content" | "separator" | "indicator" | "trigger" | "itemGroup" | "arrow" | "arrowTip" | "contextTrigger" | "itemGroupLabel" | "itemText" | "triggerItem" | "itemCommand", { variant: { subtle: { item: { _highlighted: { bg: "bg.emphasized/60"; }; }; }; solid: { item: { _highlighted: { bg: "colorPalette.solid"; color: "colorPalette.contrast"; }; }; }; }; size: { sm: { content: { minW: "8rem"; padding: "1"; }; item: { gap: "1"; textStyle: "xs"; py: "1"; px: "1.5"; }; }; md: { content: { minW: "8rem"; padding: "1.5"; }; item: { gap: "2"; textStyle: "sm"; py: "1.5"; px: "2"; }; }; }; }>; nativeSelect: import("..").SlotRecipeDefinition<"root" | "indicator" | "field", { variant: { outline: { field: { bg: "transparent"; borderWidth: "1px"; borderColor: "border"; _expanded: { borderColor: "border.emphasized"; }; } | undefined; }; subtle: { field: { borderWidth: "1px"; borderColor: "transparent"; bg: "bg.muted"; } | undefined; }; plain: { field: { bg: "transparent"; color: "fg"; focusRingWidth: "2px"; }; }; }; size: { xs: { field: { textStyle: "xs"; ps: "2"; pe: "6"; height: "6"; }; indicator: { textStyle: "sm"; insetEnd: "1.5"; }; }; sm: { field: { textStyle: "sm"; ps: "2.5"; pe: "8"; height: "8"; }; indicator: { textStyle: "md"; insetEnd: "2"; }; }; md: { field: { textStyle: "sm"; ps: "3"; pe: "8"; height: "10"; }; indicator: { textStyle: "lg"; insetEnd: "2"; }; }; lg: { field: { textStyle: "md"; ps: "4"; pe: "8"; height: "11"; }; indicator: { textStyle: "xl"; insetEnd: "3"; }; }; xl: { field: { textStyle: "md"; ps: "4.5"; pe: "10"; height: "12"; }; indicator: { textStyle: "xl"; insetEnd: "3"; }; }; }; }>; numberInput: import("..").SlotRecipeDefinition<"root" | "control" | "label" | "input" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber", { size: { xs: { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; }; control: { fontSize: "2xs"; "--stepper-width": "sizes.4"; }; }; sm: { input: { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; }; control: { fontSize: "xs"; "--stepper-width": "sizes.5"; }; }; md: { input: { textStyle: "sm"; px: "3"; "--input-height": "sizes.10"; }; control: { fontSize: "sm"; "--stepper-width": "sizes.6"; }; }; lg: { input: { textStyle: "md"; px: "4"; "--input-height": "sizes.11"; }; control: { fontSize: "sm"; "--stepper-width": "sizes.6"; }; }; }; variant: { outline: { input: { bg: "transparent"; borderWidth: "1px"; borderColor: "border"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { borderWidth: "1px"; borderColor: "transparent"; bg: "bg.muted"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { bg: "transparent"; borderBottomWidth: "1px"; borderBottomColor: "border"; borderRadius: "0"; px: "0"; _focusVisible: { borderColor: "var(--focus-color)"; boxShadow: "0px 1px 0px 0px var(--focus-color)"; }; }; }; subtle: { input: { bg: "transparent"; borderWidth: "1px"; borderColor: "border"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { borderWidth: "1px"; borderColor: "transparent"; bg: "bg.muted"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { bg: "transparent"; borderBottomWidth: "1px"; borderBottomColor: "border"; borderRadius: "0"; px: "0"; _focusVisible: { borderColor: "var(--focus-color)"; boxShadow: "0px 1px 0px 0px var(--focus-color)"; }; }; }; flushed: { input: { bg: "transparent"; borderWidth: "1px"; borderColor: "border"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { borderWidth: "1px"; borderColor: "transparent"; bg: "bg.muted"; focusVisibleRing: "inside"; focusRingColor: "var(--focus-color)"; } | { bg: "transparent"; borderBottomWidth: "1px"; borderBottomColor: "border"; borderRadius: "0"; px: "0"; _focusVisible: { borderColor: "var(--focus-color)"; boxShadow: "0px 1px 0px 0px var(--focus-color)"; }; }; }; }; }>; pinInput: import("..").SlotRecipeDefinition<"root" | "control" | "label" | "input", { size: { sm: { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.7"; } | { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; } | { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; } | { textStyle: "sm"; px: "3"; "--input-height": "sizes.10"; } | { textStyle: "md"; px: "4"; "--input-height": "sizes.11"; } | { textStyle: "md"; px: "4.5"; "--input-height": "sizes.12"; } | { textStyle: "lg"; px: "5"; "--input-height": "sizes.16"; }; }; md: { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.7"; } | { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; } | { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; } | { textStyle: "sm"; px: "3"; "--input-height": "sizes.10"; } | { textStyle: "md"; px: "4"; "--input-height": "sizes.11"; } | { textStyle: "md"; px: "4.5"; "--input-height": "sizes.12"; } | { textStyle: "lg"; px: "5"; "--input-height": "sizes.16"; }; }; lg: { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.7"; } | { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; } | { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; } | { textStyle: "sm"; px: "3"; "--input-height": "sizes.10"; } | { textStyle: "md"; px: "4"; "--input-height": "sizes.11"; } | { textStyle: "md"; px: "4.5"; "--input-height": "sizes.12"; } | { textStyle: "lg"; px: "5"; "--input-height": "sizes.16"; }; }; xl: { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.7"; } | { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; } | { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; } | { textStyle: "sm"; px: "3"; "--input-height": "sizes.10"; } | { textStyle: "md"; px: "4"; "--input-height": "sizes.11"; } | { textStyle: "md"; px: "4.5"; "--input-height": "sizes.12"; } | { textStyle: "lg"; px: "5"; "--input-height": "sizes.16"; }; }; "2xl": { input: { textStyle: "xs"; px: "2"; "--input-height": "sizes.7"; } | { textStyle: "xs"; px: "2"; "--input-height": "sizes.8"; } | { textStyle: "sm"; px: "2.5"; "--input-height": "sizes.9"; } | { textStyle: "sm"; px: "3"; "--input-height": "sizes.10";