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.38 kB
{"version":3,"file":"status.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/status/status.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const statusStyle = defineComponentSlotStyle({\n base: {\n indicator: {\n bg: \"colorScheme.solid\",\n flexShrink: 0,\n forcedColorAdjust: \"none\",\n rounded: \"full\",\n },\n label: {},\n root: {\n alignItems: \"center\",\n display: \"inline-flex\",\n gap: \"sm\",\n },\n },\n\n sizes: {\n sm: {\n indicator: { boxSize: \"2\" },\n label: { fontSize: \"sm\" },\n },\n md: {\n indicator: { boxSize: \"2.5\" },\n label: { fontSize: \"md\" },\n },\n lg: {\n indicator: { boxSize: \"3\" },\n label: { fontSize: \"lg\" },\n },\n },\n\n defaultProps: {\n size: \"md\",\n },\n})\n\nexport type StatusStyle = typeof statusStyle\n"],"mappings":";;;AAEA,MAAa,cAAcA,wCAAyB;CAClD,MAAM;EACJ,WAAW;GACT,IAAI;GACJ,YAAY;GACZ,mBAAmB;GACnB,SAAS;GACV;EACD,OAAO,EAAE;EACT,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,KAAK;GACN;EACF;CAED,OAAO;EACL,IAAI;GACF,WAAW,EAAE,SAAS,KAAK;GAC3B,OAAO,EAAE,UAAU,MAAM;GAC1B;EACD,IAAI;GACF,WAAW,EAAE,SAAS,OAAO;GAC7B,OAAO,EAAE,UAAU,MAAM;GAC1B;EACD,IAAI;GACF,WAAW,EAAE,SAAS,KAAK;GAC3B,OAAO,EAAE,UAAU,MAAM;GAC1B;EACF;CAED,cAAc,EACZ,MAAM,MACP;CACF,CAAC"}