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.49 kB
{"version":3,"file":"empty-state.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/empty-state/empty-state.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const emptyState = defineComponentSlotStyle({\n base: {\n content: {\n alignItems: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n },\n description: {\n color: \"fg.muted\",\n fontSize: \"sm\",\n },\n indicator: {\n alignItems: \"center\",\n color: \"fg.muted\",\n display: \"flex\",\n justifyContent: \"center\",\n },\n root: {\n alignItems: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n w: \"full\",\n },\n title: {\n fontWeight: \"semibold\",\n },\n },\n\n sizes: {\n sm: {\n content: {\n gap: \"xs\",\n },\n indicator: {\n fontSize: \"4xl\",\n },\n root: {\n gap: \"sm\",\n py: \"sm\",\n },\n title: {\n fontSize: \"md\",\n },\n },\n md: {\n content: {\n gap: \"sm\",\n },\n indicator: {\n fontSize: \"5xl\",\n },\n root: {\n gap: \"md\",\n py: \"md\",\n },\n title: {\n fontSize: \"lg\",\n },\n },\n lg: {\n content: {\n gap: \"md\",\n },\n indicator: {\n fontSize: \"6xl\",\n },\n root: {\n gap: \"lg\",\n py: \"lg\",\n },\n title: {\n fontSize: \"xl\",\n },\n },\n },\n\n defaultProps: {\n size: \"md\",\n },\n})\n\nexport type EmptyState = typeof emptyState\n"],"mappings":";;;AAEA,MAAa,aAAaA,wCAAyB;CACjD,MAAM;EACJ,SAAS;GACP,YAAY;GACZ,SAAS;GACT,eAAe;GACf,gBAAgB;GACjB;EACD,aAAa;GACX,OAAO;GACP,UAAU;GACX;EACD,WAAW;GACT,YAAY;GACZ,OAAO;GACP,SAAS;GACT,gBAAgB;GACjB;EACD,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;GACf,gBAAgB;GAChB,GAAG;GACJ;EACD,OAAO,EACL,YAAY,YACb;EACF;CAED,OAAO;EACL,IAAI;GACF,SAAS,EACP,KAAK,MACN;GACD,WAAW,EACT,UAAU,OACX;GACD,MAAM;IACJ,KAAK;IACL,IAAI;IACL;GACD,OAAO,EACL,UAAU,MACX;GACF;EACD,IAAI;GACF,SAAS,EACP,KAAK,MACN;GACD,WAAW,EACT,UAAU,OACX;GACD,MAAM;IACJ,KAAK;IACL,IAAI;IACL;GACD,OAAO,EACL,UAAU,MACX;GACF;EACD,IAAI;GACF,SAAS,EACP,KAAK,MACN;GACD,WAAW,EACT,UAAU,OACX;GACD,MAAM;IACJ,KAAK;IACL,IAAI;IACL;GACD,OAAO,EACL,UAAU,MACX;GACF;EACF;CAED,cAAc,EACZ,MAAM,MACP;CACF,CAAC"}