UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

67 lines (66 loc) 1.48 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const INPUT_TYPES = { TEXT: "text", TEXTAREA: "textarea", PASSWORD: "password", EMAIL: "email", NUMBER: "number", DATE: "date", TIME: "time", FILE: "file", TEL: "tel", SEARCH: "search" }; const INPUT_SIZES = { EXTRA_SMALL: "xs", SMALL: "sm", DEFAULT: "md", LARGE: "lg", EXTRA_LARGE: "xl" }; const INPUT_ICON_SIZES = { xs: "100", sm: "200", md: "200", lg: "400", xl: "500" }; const INPUT_SIZE_CLASSES = { 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" } }; const INPUT_STATE_CLASSES = { error: "d-input--error", warning: "d-input--warning", success: "d-input--success" }; const DESCRIPTION_SIZE_CLASSES = { lg: "d-description--lg", xl: "d-description--xl" }; const LABEL_SIZE_CLASSES = { xs: "d-label--xs", sm: "d-label--sm", md: "d-label--md", lg: "d-label--lg", xl: "d-label--xl" }; exports.DESCRIPTION_SIZE_CLASSES = DESCRIPTION_SIZE_CLASSES; exports.INPUT_ICON_SIZES = INPUT_ICON_SIZES; exports.INPUT_SIZES = INPUT_SIZES; exports.INPUT_SIZE_CLASSES = INPUT_SIZE_CLASSES; exports.INPUT_STATE_CLASSES = INPUT_STATE_CLASSES; exports.INPUT_TYPES = INPUT_TYPES; exports.LABEL_SIZE_CLASSES = LABEL_SIZE_CLASSES; //# sourceMappingURL=input_constants.cjs.map