UNPKG

@nurl/panda-preset

Version:

Official Panda-CSS preset for the Ganglion Design System.

66 lines (65 loc) 2.02 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/recipes/shared/input.base.ts var input_base_exports = {}; __export(input_base_exports, { INPUT_COLOR: () => INPUT_COLOR, inputControl: () => inputControl }); module.exports = __toCommonJS(input_base_exports); var import_states = require("./states.cjs"); var INPUT_COLOR = "neutral.text.300"; var inputControl = { appearance: "none", bgColor: "inherit", borderImage: "initial", borderRadius: "md", border: "1px solid", borderColor: "action.border.initial", color: INPUT_COLOR, h: "full", paddingInlineStart: "4", paddingInlineEnd: "10", position: "relative", transitionDuration: "150ms", transitionProperty: "border-color", w: "full", _hover: { borderColor: "neutral.border.200" }, _disabled: { ...import_states.formStates._disabled, bgColor: "neutral.bg.initial", borderColor: "action.border.initial", color: "neutral.text.100" }, _userInvalid: { borderColor: "danger.border.initial", _hover: { borderColor: "danger.border.initial" } }, ...import_states.focusStates }; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { INPUT_COLOR, inputControl }); //# sourceMappingURL=input.base.cjs.map