@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 2.57 kB
Source Map (JSON)
{"version":3,"file":"blockquote.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/blockquote/blockquote.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const blockquoteStyle = defineComponentSlotStyle({\n base: {\n caption: {\n color: \"muted\",\n fontSize: \"sm\",\n },\n cite: {},\n content: {},\n icon: {\n fontSize: \"xl\",\n left: \"0\",\n position: \"absolute\",\n top: \"0.5\",\n },\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"sm\",\n position: \"relative\",\n },\n },\n\n props: {\n /**\n * The alignment of the blockquote.\n *\n * @default 'start'\n */\n justify: {\n center: {\n root: {\n alignItems: \"center\",\n textAlign: \"center\",\n },\n },\n end: {\n root: {\n alignItems: \"end\",\n textAlign: \"end\",\n },\n },\n start: {\n root: {\n alignItems: \"start\",\n textAlign: \"start\",\n },\n },\n },\n },\n\n variants: {\n plain: {\n icon: {\n color: \"colorScheme.solid\",\n },\n root: {\n _hasIcon: {\n ps: \"lg\",\n },\n },\n },\n solid: {\n icon: {\n color: \"colorScheme.solid\",\n },\n root: {\n borderStart: \"4px solid {colorScheme.solid}\",\n px: \"md\",\n },\n },\n subtle: {\n icon: {\n color: \"colorScheme.fg\",\n },\n root: {\n borderStart: \"4px solid {colorScheme.muted}\",\n px: \"md\",\n },\n },\n },\n\n defaultProps: {\n variant: \"subtle\",\n justify: \"start\",\n },\n})\n\nexport type BlockquoteStyle = typeof blockquoteStyle\n"],"mappings":";;;AAEA,MAAa,kBAAkBA,wCAAyB;CACtD,MAAM;EACJ,SAAS;GACP,OAAO;GACP,UAAU;GACX;EACD,MAAM,EAAE;EACR,SAAS,EAAE;EACX,MAAM;GACJ,UAAU;GACV,MAAM;GACN,UAAU;GACV,KAAK;GACN;EACD,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACL,UAAU;GACX;EACF;CAED,OAAO,EAML,SAAS;EACP,QAAQ,EACN,MAAM;GACJ,YAAY;GACZ,WAAW;GACZ,EACF;EACD,KAAK,EACH,MAAM;GACJ,YAAY;GACZ,WAAW;GACZ,EACF;EACD,OAAO,EACL,MAAM;GACJ,YAAY;GACZ,WAAW;GACZ,EACF;EACF,EACF;CAED,UAAU;EACR,OAAO;GACL,MAAM,EACJ,OAAO,qBACR;GACD,MAAM,EACJ,UAAU,EACR,IAAI,MACL,EACF;GACF;EACD,OAAO;GACL,MAAM,EACJ,OAAO,qBACR;GACD,MAAM;IACJ,aAAa;IACb,IAAI;IACL;GACF;EACD,QAAQ;GACN,MAAM,EACJ,OAAO,kBACR;GACD,MAAM;IACJ,aAAa;IACb,IAAI;IACL;GACF;EACF;CAED,cAAc;EACZ,SAAS;EACT,SAAS;EACV;CACF,CAAC"}