UNPKG

@yamada-ui/react

Version:

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

205 lines (204 loc) • 4.79 kB
import { ComponentStyle } from "../../core/system/index.types.js"; import { CSSObject, CSSPropObject } from "../../core/css/index.types.js"; import "../../index.js"; //#region src/components/input/input-addon.style.d.ts declare const inputAddonStyle: ComponentStyle<CSSPropObject<CSSObject>, { xs: { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.2"; "--space-y": "spaces.1.5"; fontSize: "xs"; px: "{space-x}"; }; sm: { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.2.5"; "--space-y": "spaces.2"; fontSize: "sm"; px: "{space-x}"; }; md: { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.3"; "--space-y": "spaces.2"; fontSize: "md"; px: "{space-x}"; }; lg: { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.3.5"; "--space-y": "spaces.2.5"; fontSize: "lg"; px: "{space-x}"; }; xl: { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.4"; "--space-y": "spaces.3"; fontSize: "xl"; px: "{space-x}"; }; "2xl": { "&:has(+ [data-input-element])": { pe: string | undefined; } | { [x: string]: { pe: string | undefined; }; }; "& ~ [data-input-element]": { minW: string | undefined; }; "--height": string | undefined; "[data-input-element] + &": { ps: string | undefined; } | { [x: string]: { ps: string | undefined; }; }; "[data-input-element]:has(~ &)": { minW: string | undefined; }; minH: string | undefined; "--space-x": "spaces.4"; "--space-y": "spaces.3"; fontSize: "xl"; px: "{space-x}"; }; }, { filled: { layerStyle: "surface"; border: "1px solid transparent"; }; flushed: { bg: "transparent"; borderBottomColor: "colorScheme.muted"; borderBottomWidth: "1px"; color: "colorScheme.fg"; rounded: "0px"; _peerFocusVisible: { borderColor: "{focus-border-color}"; boxShadow: "0px 1px 0px 0px {focus-border-color}"; }; _peerInvalid: { borderColor: "{error-border-color}"; _peerFocusVisible: { boxShadow: "0px 1px 0px 0px {error-border-color}"; }; }; }; outline: { layerStyle: "surface"; }; plain: {}; }>; type InputAddonStyle = typeof inputAddonStyle; //#endregion export { InputAddonStyle, inputAddonStyle }; //# sourceMappingURL=input-addon.style.d.ts.map