Current collected state Current
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A library for creating CSS transitions with -ui
npm i @-ui/transition
A library for creating CSS transitions with -ui
import styles from '@-ui/styles'
import transition from '@-ui/transition'
styles.variables({
transitions: {
duration: {
slow: '1s',
},
},
})
const fade = transition(styles, {
// default styles and options
default: {
duration: 100,
},
// Use a callback to access variables
in: ({transitions}) => ({
opacity: 1,
duration: transitions.duration.slow,
}),
out: {
opacity: 0,
},
})
const Component = ({visible}) => (
<div className={fade(visible ? 'in' : 'out')}>
<div className={fade({in: visible, out: !visible})}>Foo</div>
</div>
)
MIT
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0282dd03ef58b309f1362696411a3d7a58e1b066f444a5b3c40004189ee06252