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.26 kB
{"version":3,"file":"slide.style.cjs","names":["defineComponentStyle"],"sources":["../../../../src/components/slide/slide.style.ts"],"sourcesContent":["import { defineComponentStyle } from \"../../core\"\n\nexport const slideStyle = defineComponentStyle({\n base: {\n position: \"fixed\",\n zIndex: \"guldo\",\n },\n\n props: {\n /**\n * The placement of the slide.\n *\n * @default 'inline-end'\n */\n placement: {\n \"block-end\": { bottom: \"0\", left: \"0\", right: \"0\", w: \"vw\" },\n \"block-start\": { left: \"0\", right: \"0\", top: \"0\", w: \"vw\" },\n \"inline-end\": { bottom: \"0\", h: \"dvh\", right: \"0\", top: \"0\" },\n \"inline-start\": { bottom: \"0\", h: \"dvh\", left: \"0\", top: \"0\" },\n },\n },\n\n defaultProps: {\n placement: \"inline-end\",\n },\n})\n\nexport type SlideStyle = typeof slideStyle\n"],"mappings":";;;AAEA,MAAa,aAAaA,oCAAqB;CAC7C,MAAM;EACJ,UAAU;EACV,QAAQ;EACT;CAED,OAAO,EAML,WAAW;EACT,aAAa;GAAE,QAAQ;GAAK,MAAM;GAAK,OAAO;GAAK,GAAG;GAAM;EAC5D,eAAe;GAAE,MAAM;GAAK,OAAO;GAAK,KAAK;GAAK,GAAG;GAAM;EAC3D,cAAc;GAAE,QAAQ;GAAK,GAAG;GAAO,OAAO;GAAK,KAAK;GAAK;EAC7D,gBAAgB;GAAE,QAAQ;GAAK,GAAG;GAAO,MAAM;GAAK,KAAK;GAAK;EAC/D,EACF;CAED,cAAc,EACZ,WAAW,cACZ;CACF,CAAC"}