PHP 8.2.30
Preview: keyframes.ts Size: 654 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@emotion/react/src/keyframes.ts

import { CSSInterpolation } from '@emotion/serialize'
import css from './css'

type Keyframes = {
  name: string
  styles: string
  anim: 1
  toString: () => string
} & string

export function keyframes(
  template: TemplateStringsArray,
  ...args: CSSInterpolation[]
): Keyframes
export function keyframes(...args: CSSInterpolation[]): Keyframes
export function keyframes(...args: CSSInterpolation[]) {
  let insertable = css(...args)
  const name = `animation-${insertable.name}`
  return {
    name,
    styles: `@keyframes ${name}{${insertable.styles}}`,
    anim: 1,
    toString() {
      return `_EMO_${this.name}_${this.styles}_EMO_`
    }
  }
}

Directory Contents

Dirs: 1 × Files: 16

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:30:22
Edit Download
4.50 KB lrw-r--r-- 2026-02-28 00:30:24
Edit Download
2.49 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
423 B lrw-r--r-- 2026-02-28 00:30:08
Edit Download
4.99 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
1.61 KB lrw-r--r-- 2026-02-28 00:30:12
Edit Download
4.49 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
2.08 KB lrw-r--r-- 2026-02-28 00:30:14
Edit Download
826 B lrw-r--r-- 2026-02-28 00:30:14
Edit Download
4.23 KB lrw-r--r-- 2026-02-28 00:30:16
Edit Download
924 B lrw-r--r-- 2026-02-28 00:30:16
Edit Download
1.55 KB lrw-r--r-- 2026-02-28 00:30:16
Edit Download
654 B lrw-r--r-- 2026-02-28 00:30:20
Edit Download
2.85 KB lrw-r--r-- 2026-02-28 00:30:28
Edit Download
544 B lrw-r--r-- 2026-02-28 00:30:24
Edit Download
40 B lrw-r--r-- 2026-02-28 00:30:24
Edit Download
650 B lrw-r--r-- 2026-02-28 00:30:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).