UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

1 lines 2.23 kB
{"version":3,"file":"breadcrumb.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/breadcrumb/breadcrumb.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const breadcrumbStyle = defineComponentSlotStyle({\n base: {\n ellipsis: {\n color: \"fg.muted\",\n },\n item: {\n alignItems: \"center\",\n display: \"inline-flex\",\n },\n link: {\n rounded: \"l1\",\n textDecoration: \"none\",\n transitionDuration: \"moderate\",\n transitionProperty: \"common\",\n },\n list: {\n alignItems: \"center\",\n display: \"flex\",\n wordBreak: \"break-word\",\n },\n root: {},\n separator: {\n color: \"fg.muted\",\n },\n },\n\n variants: {\n plain: {\n link: {\n _notCurrent: {\n color: \"fg.muted\",\n _hover: {\n color: \"fg\",\n },\n },\n },\n },\n underline: {\n link: {\n _notCurrent: {\n _hover: {\n textDecoration: \"underline\",\n },\n },\n },\n },\n },\n\n sizes: {\n sm: {\n list: {\n fontSize: \"sm\",\n gap: \"1\",\n },\n },\n md: {\n list: {\n fontSize: \"md\",\n gap: \"1.5\",\n },\n },\n lg: {\n list: {\n fontSize: \"lg\",\n gap: \"2\",\n },\n },\n },\n\n defaultProps: {\n size: \"md\",\n variant: \"plain\",\n },\n})\n\nexport type BreadcrumbStyle = typeof breadcrumbStyle\n"],"mappings":";;;AAEA,MAAa,kBAAkBA,wCAAyB;CACtD,MAAM;EACJ,UAAU,EACR,OAAO,YACR;EACD,MAAM;GACJ,YAAY;GACZ,SAAS;GACV;EACD,MAAM;GACJ,SAAS;GACT,gBAAgB;GAChB,oBAAoB;GACpB,oBAAoB;GACrB;EACD,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,WAAW;GACZ;EACD,MAAM,EAAE;EACR,WAAW,EACT,OAAO,YACR;EACF;CAED,UAAU;EACR,OAAO,EACL,MAAM,EACJ,aAAa;GACX,OAAO;GACP,QAAQ,EACN,OAAO,MACR;GACF,EACF,EACF;EACD,WAAW,EACT,MAAM,EACJ,aAAa,EACX,QAAQ,EACN,gBAAgB,aACjB,EACF,EACF,EACF;EACF;CAED,OAAO;EACL,IAAI,EACF,MAAM;GACJ,UAAU;GACV,KAAK;GACN,EACF;EACD,IAAI,EACF,MAAM;GACJ,UAAU;GACV,KAAK;GACN,EACF;EACD,IAAI,EACF,MAAM;GACJ,UAAU;GACV,KAAK;GACN,EACF;EACF;CAED,cAAc;EACZ,MAAM;EACN,SAAS;EACV;CACF,CAAC"}