@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 1.39 kB
Source Map (JSON)
{"version":3,"file":"infinite-scroll-area.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/infinite-scroll-area/infinite-scroll-area.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const infiniteScrollAreaStyle = defineComponentSlotStyle({\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"row\",\n w: \"full\",\n },\n trigger: {\n alignItems: \"center\",\n display: \"flex\",\n flex: 1,\n justifyContent: \"center\",\n w: \"full\",\n },\n },\n\n props: {\n /**\n * The orientation of the infinite scroll.\n *\n * @default 'vertical'\n */\n orientation: {\n horizontal: {\n root: { flexDirection: \"row\", gap: \"md\" },\n },\n vertical: {\n root: { flexDirection: \"column\", gap: \"lg\" },\n },\n },\n },\n\n defaultProps: {\n orientation: \"vertical\",\n },\n})\n\nexport type InfiniteScrollAreaStyle = typeof infiniteScrollAreaStyle\n"],"mappings":";;;AAEA,MAAa,0BAA0BA,wCAAyB;CAC9D,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,GAAG;GACJ;EACD,SAAS;GACP,YAAY;GACZ,SAAS;GACT,MAAM;GACN,gBAAgB;GAChB,GAAG;GACJ;EACF;CAED,OAAO,EAML,aAAa;EACX,YAAY,EACV,MAAM;GAAE,eAAe;GAAO,KAAK;GAAM,EAC1C;EACD,UAAU,EACR,MAAM;GAAE,eAAe;GAAU,KAAK;GAAM,EAC7C;EACF,EACF;CAED,cAAc,EACZ,aAAa,YACd;CACF,CAAC"}