@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
230 lines (229 loc) • 6.15 kB
TypeScript
import { ComponentStyle } from "../../core/system/index.types.js";
import { CSSObject, CSSPropObject } from "../../core/css/index.types.js";
import "../../index.js";
//#region src/components/textarea/textarea.style.d.ts
declare const textareaStyle: ComponentStyle<CSSPropObject<CSSObject>, {
xs: {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.2" | undefined;
"--space-y"?: "spaces.1.5" | undefined;
fontSize?: "xs" | undefined;
px?: "{space-x}" | undefined;
};
sm: {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.2.5" | undefined;
"--space-y"?: "spaces.2" | undefined;
fontSize?: "sm" | undefined;
px?: "{space-x}" | undefined;
};
md: {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.3" | undefined;
"--space-y"?: "spaces.2" | undefined;
fontSize?: "md" | undefined;
px?: "{space-x}" | undefined;
};
lg: {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.3.5" | undefined;
"--space-y"?: "spaces.2.5" | undefined;
fontSize?: "lg" | undefined;
px?: "{space-x}" | undefined;
};
xl: {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.4" | undefined;
"--space-y"?: "spaces.3" | undefined;
fontSize?: "xl" | undefined;
px?: "{space-x}" | undefined;
};
"2xl": {
py: "{--space-y}";
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[x: string]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[x: string]: {
ps: string | undefined;
};
} | undefined;
"[data-input-element]:has(~ &)"?: {
minW: string | undefined;
} | undefined;
minH?: string | undefined;
"--space-x"?: "spaces.4" | undefined;
"--space-y"?: "spaces.3" | undefined;
fontSize?: "xl" | undefined;
px?: "{space-x}" | undefined;
};
}, {
filled: {
bg: "bg.panel";
border: "1px solid transparent";
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
flushed: {
bg: "transparent";
borderBottomColor: "colorScheme.muted";
borderBottomWidth: "1px";
rounded: "0px";
_focusVisible: {
borderColor: "{focus-border-color}";
boxShadow: "0px 1px 0px 0px {focus-border-color}";
outline: "none";
};
_invalid: {
borderColor: "{error-border-color}";
_focusVisible: {
boxShadow: "0px 1px 0px 0px {error-border-color}";
};
};
} | undefined;
outline: {
border: "1px solid {colors.border}";
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
plain: {
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
}>;
type TextareaStyle = typeof textareaStyle;
//#endregion
export { TextareaStyle, textareaStyle };
//# sourceMappingURL=textarea.style.d.ts.map