UNPKG

@yamada-ui/react

Version:

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

1 lines 1.19 kB
{"version":3,"file":"link-box.style.cjs","names":["defineComponentSlotStyle","focusRingStyle"],"sources":["../../../../src/components/link-box/link-box.style.ts"],"sourcesContent":["import { defineComponentSlotStyle, focusRingStyle } from \"../../core\"\n\nexport const linkBoxStyle = defineComponentSlotStyle({\n base: {\n overlay: {\n focusVisibleRing: \"none\",\n position: \"static\",\n _before: {\n boxSize: \"full\",\n cursor: \"inherit\",\n display: \"block\",\n inset: \"0\",\n position: \"absolute\",\n zIndex: \"0\",\n },\n _focusVisible: { _before: focusRingStyle.outline },\n },\n root: {\n \"a[href]:not([data-link-box-overlay]), abbr[title]\": {\n position: \"relative\",\n zIndex: \"yamcha\",\n },\n position: \"relative\",\n },\n },\n})\n\nexport type LinkBoxStyle = typeof linkBoxStyle\n"],"mappings":";;;;AAEA,MAAa,eAAeA,wCAAyB,EACnD,MAAM;CACJ,SAAS;EACP,kBAAkB;EAClB,UAAU;EACV,SAAS;GACP,SAAS;GACT,QAAQ;GACR,SAAS;GACT,OAAO;GACP,UAAU;GACV,QAAQ;GACT;EACD,eAAe,EAAE,SAASC,kCAAe,SAAS;EACnD;CACD,MAAM;EACJ,qDAAqD;GACnD,UAAU;GACV,QAAQ;GACT;EACD,UAAU;EACX;CACF,EACF,CAAC"}