@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
64 lines (63 loc) • 1.3 kB
JavaScript
//#region components/input/input_constants.js
var e = {
TEXT: "text",
TEXTAREA: "textarea",
PASSWORD: "password",
EMAIL: "email",
NUMBER: "number",
DATE: "date",
TIME: "time",
FILE: "file",
TEL: "tel",
SEARCH: "search",
COLOR: "color"
}, t = {
EXTRA_SMALL: "xs",
SMALL: "sm",
DEFAULT: "md",
LARGE: "lg",
EXTRA_LARGE: "xl"
}, n = {
xs: "100",
sm: "200",
md: "200",
lg: "400",
xl: "500"
}, r = {
input: {
xs: "d-input--xs",
sm: "d-input--sm",
lg: "d-input--lg",
xl: "d-input--xl"
},
textarea: {
xs: "d-textarea--xs",
sm: "d-textarea--sm",
lg: "d-textarea--lg",
xl: "d-textarea--xl"
}
}, i = {
error: "d-input--error",
warning: "d-input--warning",
success: "d-input--success"
}, a = {
lg: "d-description--lg",
xl: "d-description--xl"
}, o = {
xs: "d-label--xs",
sm: "d-label--sm",
md: "d-label--md",
lg: "d-label--lg",
xl: "d-label--xl"
}, s = {
INPUT_TYPES: e,
INPUT_SIZES: t,
INPUT_ICON_SIZES: n,
INPUT_SIZE_CLASSES: r,
INPUT_STATE_CLASSES: i,
DESCRIPTION_SIZE_CLASSES: a,
LABEL_SIZE_CLASSES: o
};
//#endregion
export { a as DESCRIPTION_SIZE_CLASSES, n as INPUT_ICON_SIZES, t as INPUT_SIZES, r as INPUT_SIZE_CLASSES, i as INPUT_STATE_CLASSES, e as INPUT_TYPES, o as LABEL_SIZE_CLASSES, s as default };
//# sourceMappingURL=input-constants.js.map