@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
257 lines (256 loc) • 7 kB
TypeScript
import { ComponentSlotStyle } from "../../core/system/index.types.js";
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
import "../../index.js";
//#region src/components/file-input/file-input.style.d.ts
declare const fileInputStyle: ComponentSlotStyle<"tag" | "root", CSSPropObject<CSSSlotObject<"tag" | "root">>, {
xs: {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
sm: {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
md: {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
lg: {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
xl: {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
"2xl": {
root: {
"&:has(+ [data-input-element])"?: {
pe: string | undefined;
} | {
[]: {
pe: string | undefined;
};
} | undefined;
"& ~ [data-input-element]"?: {
minW: string | undefined;
} | undefined;
"--height"?: string | undefined;
"[data-input-element] + &"?: {
ps: string | undefined;
} | {
[]: {
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;
py: "{--space-y}";
};
};
}, {
filled: {
root: {
bg: "bg.panel";
border: "1px solid transparent";
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
};
flushed: {
root: {
"&:not([data-input-element] + &)": {
ps: "0px";
} | {
[]: {
ps: "0px";
};
};
bg?: "transparent" | undefined;
borderBottomColor?: "colorScheme.muted" | undefined;
borderBottomWidth?: "1px" | undefined;
rounded?: "0px" | undefined;
_focusVisible?: {
borderColor: "{focus-border-color}";
boxShadow: "0px 1px 0px 0px {focus-border-color}";
outline: "none";
} | undefined;
_invalid?: {
borderColor: "{error-border-color}";
_focusVisible: {
boxShadow: "0px 1px 0px 0px {error-border-color}";
};
} | undefined;
};
};
outline: {
root: {
border: "1px solid {colors.border}";
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
};
plain: {
root: {
focusRingColor: "{focus-border-color}";
focusVisibleRing: "inside";
_invalid: {
borderColor: "{error-border-color}";
focusRingColor: "{error-border-color}";
};
} | undefined;
};
}>;
type FileInputStyle = typeof fileInputStyle;
//#endregion
export { FileInputStyle, fileInputStyle };
//# sourceMappingURL=file-input.style.d.ts.map