@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 6.91 kB
Source Map (JSON)
{"version":3,"file":"keyframes.cjs","names":["defineTokens"],"sources":["../../../../src/theme/tokens/keyframes.ts"],"sourcesContent":["import { defineTokens } from \"../../core\"\n\nexport const keyframes = defineTokens.keyframes({\n bounce: {\n \"0%, 100%\": {\n animationTimingFunction: \"cubic-bezier(0.8, 0, 1, 1)\",\n transform: \"translateY(-25%)\",\n },\n \"50%\": {\n animationTimingFunction: \"cubic-bezier(0, 0, 0.2, 1)\",\n transform: \"none\",\n },\n },\n ping: {\n \"75%, 100%\": {\n opacity: \"0\",\n transform: \"scale({animation-scale, 2})\",\n },\n },\n pulse: {\n \"50%\": { opacity: \"0.5\" },\n },\n spin: {\n from: {\n transform: \"rotate(0deg)\",\n },\n to: {\n transform: \"rotate(360deg)\",\n },\n },\n\n \"bg-position\": {\n from: {\n bgPosition: \"{animation-from, 1rem} 0\",\n },\n to: {\n bgPosition: \"{animation-to, 0} 0\",\n },\n },\n position: {\n from: {\n insetBlockStart: \"{animation-from-y}\",\n insetInlineStart: \"{animation-from-x}\",\n },\n to: {\n insetBlockStart: \"{animation-to-y}\",\n insetInlineStart: \"{animation-to-x}\",\n },\n },\n\n translate: {\n from: {\n translate: \"{animation-from-x, 0} {animation-from-y, 0}\",\n },\n to: {\n translate: \"{animation-to-x, 0} {animation-to-y, 0}\",\n },\n },\n\n \"fade-in\": {\n from: { opacity: \"{animation-from-opacity, 0}\" },\n to: { opacity: \"{animation-to-opacity, 1}\" },\n },\n \"fade-out\": {\n from: { opacity: \"{animation-from-opacity, 1}\" },\n to: { opacity: \"{animation-to-opacity, 0}\" },\n },\n\n \"scale-in\": {\n from: { scale: \"{animation-from-scale, 0.95}\" },\n to: { scale: \"{animation-to-scale, 1}\" },\n },\n \"scale-out\": {\n from: { scale: \"{animation-from-scale, 1}\" },\n to: { scale: \"{animation-to-scale, 0.95}\" },\n },\n\n \"collapse-height\": {\n from: { height: \"{animation-height}\" },\n to: { height: \"0\" },\n },\n \"collapse-width\": {\n from: { width: \"{animation-width}\" },\n to: { width: \"0\" },\n },\n \"expand-height\": {\n from: { height: \"0\" },\n to: { height: \"{animation-height}\" },\n },\n \"expand-width\": {\n from: { width: \"0\" },\n to: { width: \"{animation-width}\" },\n },\n\n \"slide-from-bottom-full\": {\n from: { translate: \"0 {animation-from, 100%}\" },\n to: { translate: \"0 {animation-to, 0}\" },\n },\n \"slide-from-left-full\": {\n from: { translate: \"{animation-from, -100%} 0\" },\n to: { translate: \"{animation-to, 0} 0\" },\n },\n \"slide-from-right-full\": {\n from: { translate: \"{animation-from, 100%} 0\" },\n to: { translate: \"{animation-to, 0} 0\" },\n },\n \"slide-from-top-full\": {\n from: { translate: \"0 {animation-from, -100%}\" },\n to: { translate: \"0 {animation-to, 0}\" },\n },\n \"slide-to-bottom-full\": {\n from: { translate: \"0 {animation-from, 0}\" },\n to: { translate: \"0 {animation-to, 100%}\" },\n },\n \"slide-to-left-full\": {\n from: { translate: \"{animation-from, 0} 0\" },\n to: { translate: \"{animation-to, -100%} 0\" },\n },\n \"slide-to-right-full\": {\n from: { translate: \"{animation-from, 0} 0\" },\n to: { translate: \"{animation-to, 100%} 0\" },\n },\n \"slide-to-top-full\": {\n from: { translate: \"0 {animation-from, 0}\" },\n to: { translate: \"0 {animation-to, -100%}\" },\n },\n\n \"slide-from-bottom\": {\n from: { translate: \"0 {animation-from, 0.5rem}\" },\n to: { translate: \"0 {animation-to, 0}\" },\n },\n \"slide-from-left\": {\n from: { translate: \"{animation-from, -0.5rem} 0\" },\n to: { translate: \"{animation-to, 0} 0\" },\n },\n \"slide-from-right\": {\n from: { translate: \"{animation-from, 0.5rem} 0\" },\n to: { translate: \"{animation-to, 0} 0\" },\n },\n \"slide-from-top\": {\n from: { translate: \"0 {animation-from, -0.5rem}\" },\n to: { translate: \"0 {animation-to, 0}\" },\n },\n \"slide-to-bottom\": {\n from: { translate: \"0 {animation-from, 0}\" },\n to: { translate: \"0 {animation-to, 0.5rem}\" },\n },\n \"slide-to-left\": {\n from: { translate: \"{animation-from, 0} 0\" },\n to: { translate: \"{animation-to, -0.5rem} 0\" },\n },\n \"slide-to-right\": {\n from: { translate: \"{animation-from, 0} 0\" },\n to: { translate: \"{animation-to, 0.5rem} 0\" },\n },\n \"slide-to-top\": {\n from: { translate: \"0 {animation-from, 0}\" },\n to: { translate: \"0 {animation-to, -0.5rem}\" },\n },\n})\n"],"mappings":";;;AAEA,MAAa,YAAYA,4BAAa,UAAU;CAC9C,QAAQ;EACN,YAAY;GACV,yBAAyB;GACzB,WAAW;GACZ;EACD,OAAO;GACL,yBAAyB;GACzB,WAAW;GACZ;EACF;CACD,MAAM,EACJ,aAAa;EACX,SAAS;EACT,WAAW;EACZ,EACF;CACD,OAAO,EACL,OAAO,EAAE,SAAS,OAAO,EAC1B;CACD,MAAM;EACJ,MAAM,EACJ,WAAW,gBACZ;EACD,IAAI,EACF,WAAW,kBACZ;EACF;CAED,eAAe;EACb,MAAM,EACJ,YAAY,4BACb;EACD,IAAI,EACF,YAAY,uBACb;EACF;CACD,UAAU;EACR,MAAM;GACJ,iBAAiB;GACjB,kBAAkB;GACnB;EACD,IAAI;GACF,iBAAiB;GACjB,kBAAkB;GACnB;EACF;CAED,WAAW;EACT,MAAM,EACJ,WAAW,+CACZ;EACD,IAAI,EACF,WAAW,2CACZ;EACF;CAED,WAAW;EACT,MAAM,EAAE,SAAS,+BAA+B;EAChD,IAAI,EAAE,SAAS,6BAA6B;EAC7C;CACD,YAAY;EACV,MAAM,EAAE,SAAS,+BAA+B;EAChD,IAAI,EAAE,SAAS,6BAA6B;EAC7C;CAED,YAAY;EACV,MAAM,EAAE,OAAO,gCAAgC;EAC/C,IAAI,EAAE,OAAO,2BAA2B;EACzC;CACD,aAAa;EACX,MAAM,EAAE,OAAO,6BAA6B;EAC5C,IAAI,EAAE,OAAO,8BAA8B;EAC5C;CAED,mBAAmB;EACjB,MAAM,EAAE,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