@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 1.37 kB
Source Map (JSON)
{"version":3,"file":"input-element.style.cjs","names":["defineComponentStyle"],"sources":["../../../../src/components/input/input-element.style.ts"],"sourcesContent":["import { defineComponentStyle } from \"../../core\"\n\nexport const inputElementStyle = defineComponentStyle({\n base: {\n alignItems: \"center\",\n color: \"fg.subtle\",\n display: \"flex\",\n fontSize: \"1em\",\n height: \"full\",\n justifyContent: \"center\",\n position: \"absolute\",\n zIndex: \"kurillin\",\n },\n\n props: {\n /**\n * If `true`, the element clickable.\n *\n * @default false\n */\n clickable: {\n false: {\n pointerEvents: \"none\",\n },\n true: {\n pointerEvents: \"auto\",\n },\n },\n /**\n * The placement of the element.\n *\n * @default 'start'\n */\n placement: {\n end: {\n insetInlineEnd: \"0\",\n },\n start: {\n insetInlineStart: \"0\",\n },\n },\n },\n})\n\nexport type InputElementStyle = typeof inputElementStyle\n"],"mappings":";;;AAEA,MAAa,oBAAoBA,oCAAqB;CACpD,MAAM;EACJ,YAAY;EACZ,OAAO;EACP,SAAS;EACT,UAAU;EACV,QAAQ;EACR,gBAAgB;EAChB,UAAU;EACV,QAAQ;EACT;CAED,OAAO;EAML,WAAW;GACT,OAAO,EACL,eAAe,QAChB;GACD,MAAM,EACJ,eAAe,QAChB;GACF;EAMD,WAAW;GACT,KAAK,EACH,gBAAgB,KACjB;GACD,OAAO,EACL,kBAAkB,KACnB;GACF;EACF;CACF,CAAC"}